The REMOVE-RECORD substatement deletes the specified record or record area from the member.
Format
REMOVE-RECORD | ||||||||||||||||
|
Operands
RECORD-ID = <integer 0..99999999> / <c-string 1..16 with-low> / *RANGE(...)
Record number or record ID of the record to be deleted.
RECORD-ID = <integer 0..99999999> / <c-string 1..16 with-low>
Record number or record ID of the record to be deleted.
RECORD-ID = *RANGE(...)
Specifies the record area to be deleted.
FROM = <integer 0..99999999> / <c-string 1..16 with-low>
Specifies the first record number or record ID of the area which is to be deleted.
TO = <integer 0..99999999> / <c-string 1..16 with-low>
Specifies the last record number or record ID of the area which is to be deleted.