3.2.2.2.2 Output

Success
If the retrieving is completed successfully, the following fields will be returned.
  • JES2_JOB_ID
  • JES2_JOB_NAME
  • JES2_JOB_CURRENT
  • JES2_JOB_STATUS
  • JES2_JOB_SUBMITTIME
  • JES2_JOB_CLASS
  • JES2_JOB_TYPRUN
  • JES2_JOB_PRTY
  • JES2_JOB_OWNER
  • JES2_JOB_EXECMAC
  • JES2_JOB_USRSEC
  • JES2_JOB_USRUSEC
  • JES2_JOB_SYSSEC
  • JSE2_JOB_SYSUSEC

Note:

  • JES2_JOB_ID is mandatory to use; others are optional.
  • It's suggested to use the occurrence of JES2_JOB_ID as the field manipulation base
  • If there is something wrong with a particular job, JES2_JOB_MSG will be available in the corresponding sequence specified by JES2_JOB_ID. For partially wrong cases, tperrno will be TPOK.
Failure
If a general operation is failed, JES2_JOB_ERROR carries the error message and tperrno is set to TPESVCFAIL.