Programming considerations

  1. The CMB maps the $WTO parameter list. You map the parameter list by performing a USING on CMBWTOPL.
  2. CMBML in the $WTO parameter list is the length of the message that is intended to be sent. Whether your exit routine changes the messages in place or replaces it, you must update CMBML with the length of the new message. The intended message can be changed in place for up to a length of 86 bytes.
  3. To change the node where the notify message is to be sent, move correct node number NITNUM (of the NIT) to CMBTONOD.
  4. To change the TSO/E user that the notify message is to go to store the TSO/E user id (7-character id) in CMB user.
  5. On return from the exit, JES2 uses the address of the message in the first word of the parameter list.
  6. For a return of 8 from your exit routine, JES2 resumes processing at OPNOTX in HASPPRPU.
  7. Locating JCT Control Block Extensions

    You can locate extensions to the job control table ($JCT) control block from this exit using the $JCTXGET macro. For example, you can use these extensions to store job-related information. For more information, see z/OS JES2 Macros.