There are options on a number of commands that describe or define a resource. CICS® supplies, in CICS-value data areas, the values associated with these options. The options are shown in the syntax of the commands with the term "cvda" in parentheses.
MOVE DFHVALUE(NOTPURGEABLE) TO AREA-A.
EXEC CICS WAIT EXTERNAL ECBLIST() NUMEVENTS()
PURGEABILITY(AREA-A)
EXEC CICS WAITCICS ECBLIST() NUMEVENTS() PURGEABLE
EXEC CICS CONNECT PROCESS .... STATE(AREA-A)
IF AREA-A = DFHVALUE(ALLOCATED) ....
IF AREA-A = DFHVALUE(CONFFREE) ....