CHKEMPTYUL control statement

Specifies whether to check if the unloaded data set contains segment data. Also, specifies the return code that is set when no segment data is found in the unloaded data set.

If DUMMY is specified on the DFSUINPT DD statement, this check is not applicable.

This control statement is optional. If you do not specify this control statement, CHKEMPTYUL=YES,WARN,4 is used.

Read syntax diagramSkip visual syntax diagramCHKEMPTYUL= YES,WARN,4YES,WARN,4, nNO
YES
Specifies to check if segment data exists in the unloaded data set.
WARN,n
Sets the job step return code to n when the unloaded data set contains no segment data. For n, specify a left-aligned decimal number in the range of 1 - 4.
If you specify CHKEMPTYUL=YES or CHKEMPTYUL=YES,WARN, CHKEMPTYUL=YES,WARN,4 is assumed.
NO
Specifies not to check if segment data exists in the unloaded data set. The return code is not changed even when no segment data exists in the unloaded data set.

The return code that you specify with CHKEMPTYUL can be overridden by a higher return code set for some other reason.

Tip: You can change the default value of this control statement by creating an Installation Default Option Table (HPSCOPTI). For more information, see Setting installation default options.