Detector unload datastore job finished with RC=12 without error messages
search cancel

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

book

Article ID: 9998

calendar_today

Updated On:

Products

Detector for DB2 for z/OS

Issue/Introduction

Running a Detector for Db2 for z/OS (PDT) unload datastore job and for some unexpected reason or error code it finished with RC=12.
In the output there is no error message, you see only the reply of the Detector unload statements but cannot see any error message to give the
cause of the RC=12.



Resolution

In Detector unload datastore jobs, error messages are routed to the JESMSGLG DD while the reply of Unload statements to execute the job
are routed to the 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 no messages in JESMSGLG DD, so your Detector unload datastore Job might finish with RC=12 and there
is no error message for Detector in the output.  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.