KEYED DATA LIST
KEYED DATA LIST
reads raw data from two types of non-sequential files:
direct-access files, which provide direct access by a record number, and keyed files, which provide
access by a record key.
KEYED DATA LIST KEY=varname IN=varname
FILE='file' [{TABLE }] [ENCODING='encoding specification']
{NOTABLE}
/varname {col location [(format)]} [varname ..]
{(FORTRAN-like format) }
** Default if subcommand or keyword omitted.
Release History
Release 16.0
-
ENCODING
subcommand added for Unicode support.
Example
FILE HANDLE EMPL/ file specifications.
KEYED DATA LIST FILE=EMPL KEY=#NXTCASE IN=#FOUND
/YRHIRED 1-2 SEX 3 JOBCLASS 4.