DELETE IFILE Examples


Example 1:

 

  

DELETE

IFILE,KEY1

 

Logical file:

IFILE

Key info:

KEY1 is a previously defined character string variable

 

The text record and associated key information corresponding to the Logical String of KEY1 are deleted from the physical text file and associated ISAM key file. The OVER flag would be set if the key KEY1 is not found.

Example 2:

 

  

DELETE

IFILE

 

Logical file:

IFILE

 

The text record and associated key information corresponding to the last record read are deleted from the physical text file and associated ISAM key file.

 



PL/B Language Reference DELETE (FILELIST) Example DELETED Example