DELETE IFILE Examples
Example 1:
|
|
|
|
|
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:
|
|
|
|
|
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.
![]() |