Detector unload datastore Job finished with RC=12 without error messages

Document ID : KB000009998
Last Modified Date : 14/02/2018
Show Technical Document Details

Running a Detector unload datastore Job and for some unexpected reason or error code it finished with RC=12 but then in the output there was not any error message, you see only the reply of the Detector unload statements but you cannot see any error message to give you the cause of the RC=12.


In Detector unload datastore Jobs error messages are routed to JESMSGLG DD while the reply of Unload statements to execute the Job are routed to SYSOUT DD. Normally messages in JESMSGLG DD are the first ones in the output, sometimes you can find problems with z/OS and there are not messages in JESMSGLG DD, so your Detector unload datastore Job might finish with RC=12 and there is not any error message for Detector in the output, you have to notify the z/OS System Programmer to fix any problem with JESMSGLG DD and then you will be able to review the error messages for Detector.