Checking scheduled function completion codes
When a scheduled function executes, you can determine whether the function completed successfully by looking at its return code (completion code).
The completion code is listed in the Edit Schedule dialog box for each function.
To view the completion code
- In the Navigation window, right-click the IMSPLEX for which you want to edit schedules and choose Configuration > Schedules.The Schedules window (as shown in the Viewing-parameter-information topic) is displayed.
In the Schedules window, double-click the row of the function for which you want to view the completion code.The Edit Schedule dialog box is displayed, and the completion code is listed in the Last Completion Code field.
Database Advisor and Repository function completion (return) codes lists the completion (return) codes for the following functions:
- E-MAIL CONSOLIDATION
- FF COLLECT
- FF COLLECT HOURLY
- FP COLLECT
- FP SPACE COLLECT
- ENDOFDAY
- PURGE
- REP BACKUP
- DBSYNCH
- REXX EXEC SCHEDULE
Return code
Description
0
The function completed successfully.
4
The function completed successfully, but no databases were found to process. For the second step of COLLECT or ENDOFDAY functions, return code RC=4 might indicate that a data set was missing.
n > 4
An error occurred. View the CPCLOG and, if necessary, the CPCTRACE for the Database Advisor address space and the batch task.
The following lists the completion (return) codes for the RECOVERY COLLECT function.
Return code
Description
00
No errors or warnings occurred.
14
The function detected an error condition that was related to the RECON data sets (for example, a RECON data set has been discarded). If possible, the function finished executing.
16
An error occurred. Function execution was unable to continue. Contact BMC Customer Support for assistance.
Related topic