I have opened an RFE on IBMPDSE to send a message to JOBLOG based on the Return
code.

http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=107724

There are 5 Return codes at this time

00 (X'00') SUCCESSFUL COMPLETION.
04 (X'04') THE INPUT PDSE IS SLIGHTLY DAMAGED. PROCESSING CONTINUES.
08 (X'08') THE INPUT PDSE IS CORRUPTED. THE UTILITY ENDS.
12 (X'0C') THE INPUT PDSE COULD NOT BE OPENED. THE UTILITY ENDS.
16 (X'10') THE INPUT DATA SET IS NOT A PDSE. THE UTILITY ENDS

Some (at least RC16) does not return anything to SYSPRINT so you need to look it
up.

My request is to send a one liner RC message to the Joblog so you 

   1)  Do not need to look it up or have it documented in the JCL
   2)  Provide a mechanism so that if you are do a batch of validations for PDSE
datasets, you could have your automation took look for and action the message +
RC as needed

The suggested format for the message is

Msgid   DSN: dsn_name RC_rc text

So for 16

Msgid  DSN: dsn_name RC 16  Input dataset not a PDSE




Thanks


Lizette Koehler
statistics: A precise and logical method for stating a half-truth inaccurately

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to