|
DELETE |
|
|
You use the DELETE command to delete a record from a KSDS or RRDS data set on a local or remote system. You must identify the record to be deleted in the RIDFLD option. You can also delete a record that has been retrieved for update, instead of rewriting it, by this command. In this case you must not specify the RIDFLD option.
Options DATASET(dsname) specifies the name of the file to be accessed. GENERIC specifies that the search key is a generic key with a length specified in the KEYLENGTH option. KEYLENGTH(KEYLEN) specifies the length (halfword binary) of the key that has been specified in the RIDFLD option, except when RBA or RRN is specified, in which case it is not valid. RBA specifies that the record identification field specified in the RIDFLD option contains a relative byte address RIDFLD(ridfld) specifies the record identification field. The contents can be a key, a relative byte address, or a relative record number. RRN specifies that the record identification field specified in the RIDFLD option contains a relative record number. SYSID(sysid) specifies the name (1-4 characters) of the system the request is directed to. |