GET statement
The GET statement is a STREAM input data transmission statement that can either:
- Assign data values from a data set to one or more variables
- Assign data values from a string to one or more variables.
For a stream input file, use the following syntax for the GET
statement.
 >>-GET--+--------------------+--+--------------------+---------->
'-FILE--(expression)-' '-data-specification-'
>--+----------------------------+--+------------------------+--->
'-COPY--+------------------+-' '-SKIP--+--------------+-'
'-(file-reference)-' '-(expression)-'
>--;-----------------------------------------------------------><
|
The keywords can appear in any order. The data specification
must appear unless the SKIP option is specified.
For transmission from a string, use this syntax for the GET statement.
 >>-GET STRING--(expression)--data-specification--;-------------><
|
If FILE or STRING option is not specified FILE(SYSIN) is assumed
and SYSIN is implicitly declared FILE STREAM INPUT EXTERNAL.
|
This information center is powered by Eclipse technology. (http://www.eclipse.org)