HPlogo Using KSAM XL and KSAM 64 > Chapter 9 KSAM Intrinsics

FREMOVE

MPE documents

Complete PDF
Table of Contents
Index

E0300 Edition 4 ♥
E0394 Edition 3

Syntax Parameters Operation Notes Condition Codes

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.




FREADLABEL


FRENAME