NET/MASTER Network Control Language (NCL) Reference Summary

Verbs
106161 Tandem Computers Incorporated 27
FILE CLOSE
The FILE CLOSE verb closes a file, pair of files, or an operating system process after
processing by NCL. After the FILE CLOSE operation finishes, NCL no longer has a
current file, pair of files, or operating system process.
FILE CLOSE { ID=
fileid
| ALL }
FILE DEL The FILE DEL verb deletes a record or a series of records from a key-sequenced file or
pair of files.
FILE DEL [ ALTKEY=
altkey
]
[ [ GENLEN=
num
] OPT={ KEQALL | KGEALL } ]
[ ID=
fileid
]
[ KEY=
keydata
]
FILE GET The FILE GET verb retrieves a record from the current file or pair of files.
FILE GET [ ALTKEY=
altkey
]
[ GENLEN=
num
]
[ ID=
fileid
]
[ KEY=
keydata
]
[ OPT={ BWD | END | FWD | KEL | KEQ | KEX | KGE |
KGT | KLE | KLT | SAVE | SEQ | UPD } ]
[ PATH={ ANY | ONE | TWO } ]
[ UPDATE ]
{ MDO=
mdo-name
[ HEADER={ NO | YES } ] |
ARGS [ RANGE=(
start
,
end
) ] [ SEGMENT=
n
] |
VARS={
input-vars-list
|
variable*
}
[ RANGE=(
start
,
end
) ]
[ SEGMENT=
n
] }
FILE OPEN The FILE OPEN verb opens a file, a pair of files, or an operating system process, and
prepares it for accessing by subsequent file verbs.
FILE OPEN [ DATA=
rest-of-statement
]
[ FORMAT={ DELIMITED | MAPPED | UNMAPPED } ]
ID=
fileid
[ KEYEXTR={ NO | YES } ]
[ MAP=
map-name
]
[ UDBID=
fileid
]