NET/MASTER Network Control Language (NCL) Reference Manual

FILE DEL
Verbs
106126 Tandem Computers Incorporated 3–77
See also FILE ADD, FILE GET, and FILE SET.
For more information on key-sequenced and entry-sequenced files, refer to the
NonStop NET/MASTER NCL Programmer's Guide.
Example
The following example deletes all records with keys EGS through EGZ: all keys that
begin with the partial key EG and are greater than or equal to EGS are deleted. This is
because GENLEN has been set to 2 (the first two characters of the KEY) and
OPT=KEQALL. It is assumed that the variable &EGS contains the value EGS:
FILE DEL ID=TESTFILE KEY=&EGS GENLEN=2 OPT=KEQALL