Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

DELETE statement

The DELETE statement deletes a record from an UPDATE file.

Read syntax diagramSkip visual syntax diagram>>-DELETE FILE--(file-reference)--+-------------------+--;-----><
                                  '-KEY--(expression)-'
 

The keywords can appear in any order. If the KEY option is omitted, the record to be deleted is the last record that is read. No subsequent DELETE or REWRITE statement without a KEY is allowed until another READ statement is processed. If the KEY option is included, that record addressed by the key is deleted if found.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)