BSP - Beratung, Schulung, Projekte


MVS on your PC - Turnkey MVS System Utilities

JESMOD01 - JES2 Modification to display MAXCC at job end

When you placed the NOTIFY= parameter on the jobcard, the specified TSO user will be informed when the Job has ended. The information provided is just if the job ended normally or abnormally. The JES modification presented here enhances the information in such a way, that the highest condition code of all the steps in the job is provided as well, or the (last) Abend-code encountered in the Job.

JESMOD01 - The Archive

You can download the modification as a zip or a tar file. The contents in both files are identical

Unpack the file you downloaded into a directory of your choice. Adjust the JCL to your needs. Then, at the hercules console, enter
devinit 480,[yourdir/]jesmod01.aws
devinit 00c,[yourdir/]jesmod01.jcl eof
A Job should now be started that loads JESMOD01 into your system.

Before installing the modifications into the live system you should make sure to be able to have a fallback mechanism in place in case things go wrong. You should either have a fresh backup of your system residence volume MVSRES, or , if you are using shadow files, you should now create a new shadow file generation before proceeding. You can now install the actual modification in one of two ways

You can now install the actual modification in one of two ways
  1. Run job JESMOD01 from dataset SYS1.JESMODS.CNTL
    This will assemble two JES modules and places them into SYS1.LINKLIB or SYS1.LPALIB
  2. Copy the contents of SYS1.JESMODS.LPALIB to SYS1.LPALIB
    Copy the contents of SYS1.JESMODS.LINKLIB to SYS1.LINKLIB
    replacing the existing members
  3. Now shudown your system. Perform an IPL with the CLPA option. From now on you should see the maximum return coe in the end-of-job messages sent to your TSO user at job end

    If I managed to confuse you with these instructions, just drop me a line.

    Enjoy your private hercules mainframe




    © BSP Beratung, Schulung, Projekte GmbH