z/OS JES2 Initialization and Tuning Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Monitoring the successful completion of a job

z/OS JES2 Initialization and Tuning Guide
SA32-0991-00

JES2 displays the successful or unsuccessful completion of a batch job with the $HASP165 message. This message is displayed to an interactive user if the NOTIFY parameter is specified on the JCL JOB statement, or the JECL /*NOTIFY statement is specified. You can see the completion code or ABEND code as follows:
  • Jobs ending normally have the maximum condition code displayed
    $HASP165 job_name ENDED AT node_name MAXCC=nnn
  • Jobs ending abnormally have the ABEND codes displayed:
    $HASP165 job_name ENDED AT node_name ABENDED Sxxx Unnnn

Also, you can display the ABEND or MAXCC for a job still on the JES2 queues before they are purged, with the $DJ( ),CC command.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014