Previous Topic: ObjectNext Topic: Messages


Condition Codes

The DMS proc returns the following JCL condition codes:

0

All actions were processed successfully and informational messages issued. Check to see if any messages are issued and if further action is required. Review the generated reports to make sure that the desired data sets were processed as stated.

4

Some minor problems were encountered in processing, but it was possible to continue. The results cannot be exactly what you wanted, but there seemed to be no harm in continuing. Warning messages were issued. Review these messages and the generated reports to make sure that the desired data sets were processed as stated.

Causes of this return code include selected data set in use by another task, insufficient access authority, I/O error, disagreements between the VTOC, VVDS and/or catalog for one or more individual user data sets, data sets found for processing but no processing is done because they did not meet the stated selection criteria, data set not processed because it is cataloged to the CA Disk pseudo volser, or the data set was not selected because it is restricted for the specified action command. The last case can occur when trying to select a user catalog with action commands other than BACKUP and REPORT.

8

A major problem was encountered in processing, resulting in CA Disk not even attempting some processing. Error messages were issued.

Causes of this return code include inability to mount a volume, inability to get the Format-4 DSCB for a volume, volume-oriented backup error, catalog scan errors, or no data sets can be found for processing.

12

The entire function, or a large portion of it, cannot be processed. Error messages were issued.

Causes of this return code include task abends, or data sets selected for processing but bypassed by the action being attempted.

16

Commands were in error. Error messages were issued and no action was taken.

If these condition codes do not suit you, you can install a user exit to modify these condition codes based on message numbers that are issued or other criteria. For details, see User-Specified Condition Codes, CCDRESETn, DSCLOWRCn, DSCLRPLYn, and SMSLOWRCn in the Systems Guide.