DELETEDK


 

The DELETEDK instruction removes duplicate ISAM keys without removing the text record. This instruction is primarily used when maintaining an alternate index. The instruction uses the following format:

 

 

[label]

DELETEDK

{ifile},{key}

 

Where:

label

Optional. A Program Execution Label.

ifile

Required. A previously defined and opened IFILE variable from which the key is removed.

key

Required. A previously defined Character String Variable containing the key.

Flags Affected: OVER

Note the following:

  1. The rules for DELETED apply except only ISAM keys are deleted, the text record remains intact.

 

 

See Also: Example Code, INSERT (IFILE), Disk I/O Instructions

 



PL/B Language Reference DELETED DELETEK