This argument: | Can be replaced by: |
---|---|
data-value | Any COBOL data name of the correct data type for the argument,
or by a constant that can be converted to the correct type for the argument.
You can specify the data type as one of the following:
|
data-area | Any COBOL data name of the correct data type for the argument.
You can specify the data type as one of the following:
If the data type is unspecified, the data area can refer to an elementary or group item. |
cvda | A CICS-value data area (CVDA). For more information, see CICS-value data areas (CVDA). |
pointer-ref or ptr-ref | A pointer variable or a COBOL data name preceded by ADDRESS OF. |
name | Either of the following:
|
label | Any COBOL paragraph name or a section name. |
hhmmss | Any COBOL data name of the data type PIC S9(7) COMP-3
or, for input arguments only, by a decimal constant that COBOL can convert
to the same data type. The value, whether input or output, is of the form
0HHMMSS+, where:
|
In COBOL, you need not code the LENGTH option unless you want the program to read or write data of a length that is different from that of the referenced variable. To avoid truncation of data, compile COBOL programs with the NOTRUNC option.