|
|
NM and CM callable.
Deactivates a specified logical record in an RIO file.
Syntax
I16V I32V
FDELETE (filenum, lrecnum);
Parameters
- filenum
16-bit signed integer by value (required)
Passes the file number of the file to be modified.
- lrecnum
32-bit signed integer by value (optional)
Passes the relative logical record to be deactivated.
Operation Notes
If a record is not specified or the lrecnum is negative, the
next logical record becomes inactive. If the selected record has already been
deactivated, CCE (2) is returned. Check to see if an RIO record is
inactive by calling the FCHECK intrinsic. An INACTIVE RECORD
error indicates that the record selected for the FDELETE was already
inactive.
Only applicable for RIO files.
Not used for KSAM files.
Condition Codes
- CCE (2)
Request granted. No error occurred, but an inactive record may have
been encountered.
- CCG (0)
Request denied. An end-of-file (EOF) occurred.
- CCL (1)
Request denied. An access error occurred.
Related Information
- Manual
Accessing Files Programmer's Guide
|