Using KSAM/XL and KSAM 64 (32650-90886)

Chapter 9 143
KSAM Intrinsics
FREMOVE
FREMOVE
Marks the current record in a KSAM file for deletion.
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.
When executed, the first bit in the record header is set to 1.
This intrinsic does not read the advance flag. It sets the logical record pointer and the
physical physical pointer to the appropriate record. When its function is completed, it sets
the advance flag to FALSE. When a record is deleted, the pointers are positioned at the
next sequential record of the specified key.
Condition Codes
CCE Request granted.
CCG Request denied. The logical end-of-data was encountered.
CCL Request denied. An error was encountered, the record is not deleted.
Refer to this intrinsic in the MPE/iX Intrinsics Reference Manual for other codes
pertaining to KSAM files.