Verify SET parameters

Document ID : KB000074328
Last Modified Date : 29/03/2018
Show Technical Document Details
Question:
How do I verify what the SET $JOBEXIT= parameter is set to ?
Answer:
There is currently no way to display the value of SET $JOBEXIT=.
 
If you need to see what job exits are active, you can print out phase $JOBEXIT using IBM utility LIBR - if there is a list of exits the first entry should be JCLLUSEX followed by two 8 byte fields for each exit defined.
You can also use the IBM  command JCLEXIT command to show which JOBEXIT is actually enabled - see IBM manual System Control Statements for z/VSE for details.  

"If no operand is specified in the JCLEXIT command, you get a report on SYSLOG 
about the status (enabled or disabled) of all JCL exit routines. The JCLEXIT 
command without an operand can be issued from any partition. With operands it 
can only be issued in the BG partition." 

You can just submit a job with the command : 

// JOB DSPLYJOB 
// OPTION LOG 
JCLEXIT 
/* 
/& 

and it will show what is enabled eg: 

1U76I PHASE NAME IDENTIFIER STATE 
1U76I $JOBEXIT ROUTINE ENABLED