The DELETE command allows the user to delete records from a file either by key or relative record number.
Portability Considerations | Refer to parameter FROM_FILE. |
7.35.2 DELETE Comments / Warnings
Required DELETE --------- FROM_FILE -------- file name . library name -----------> ----------------------------------------------------------------------------- >-- WHERE ----------- 'condition' --------------------------> >-- WITH_KEY --------- key value ---------------------------> >-- IO_STATUS ------- *STATUS -----------------------------> >-- IO_ERROR -------- *ABORT ------------------------------> >-- VAL_ERROR ------ *LASTDIS ------------------------------> >-- NOT_FOUND --- *NEXT ----------------------------------> >-- ISSUE_MSG ------ *NO -----------------------------------> >-- WITH_RRN ------- *NONE --------------------------------> >-- RETURN_RRN --- *NONE ---------------------------------> >-- CHECK_ONLY ---- *NO ------------------------------------> >-- AUTOCOMMIT -- *FILEDEF ---------------------------------| |