Some API commands have options that give the status or definition of a resource. For example, the STATE option on the CONNECT PROCESS command returns the state of the current conversation. Also, the INQUIRE and SET commands have many options that refer to resource status or definition. These options all have values that are CICS-supplied and are known as CICS-value data areas. They are shown in the syntax of commands with cvda in parentheses after the option name. In other contexts, uppercase letters (CVDA) are used.
MOVE DFHVALUE(EMPTYREQ) TO AREA-A.
EXEC CICS SET FILE(filename)
EMPTYSTATUS(AREA-A)
END-EXEC.
EXEC CICS SET FILE(filename)
EMPTYREQ
END-EXEC.
EXEC CICS CONNECT PROCESS ....
STATE(AREA-A)
END-EXEC.
IF AREA-A = DFHVALUE(ALLOCATED) THEN ...
For a complete list of the CVDA symbolic names that are recognized by CICS and their associated numeric values, see CVDAs recognized by the translator.
For more information about the STATE option, see STATE.