FREMOVE [ MPE/iX Intrinsics Reference Manual ] MPE/iX 5.0 Documentation
MPE/iX Intrinsics Reference Manual
FREMOVE
NM and CM callable.
Marks the current record in a KSAM file for deletion.
NOTE For KSAM files only.
Syntax
_____________________________________
| |
| I16V |
| FREMOVE(filenum) |
_____________________________________
Parameters
filenum 16-bit signed integer by value (required)
Passes the file number of the file where the record
is to be deleted.
Operation Notes
Split stack calls are permitted.
Deleted records can be read with this intrinsic.
(KSAM/3000) When executed, the first word of the current record is set to
1's; the record is not physically deleted from the file. When the file
is read by a KSAM read intrinsic, the deleted records are not read.
(KSAM/XL) When executed, the first bit in the record header is set to 1.
Condition Codes
CCE (2) Request granted.
CCG (0) Request denied. The logical end-of-data was
encountered.
CCL (1) Request denied. An error was encountered or the
record does not contain the requested key value;
the record is not deleted.
Related Information
Intrinsics None
Commands None
Manuals Using KSAM XL (32650-90168) and KSAM/3000 Reference
Manual (30000-90079)
MPE/iX 5.0 Documentation