A request using the JES Extended Status API to acquire details of the next held output on JES spool has failed. Return codes and reason codes are documented in the IBM publication: Using the Subsystem Interface (SC28-1879) A partial list is provided below:

RC Reason Description
04   Invalid search argument(s)
08   Logic error
  04 Invalid destination
  08 Job ID low invalid
  0C Job ID high invalid
  10 Job ID high too low
  14 Invalid Job class
  20 Unable to access Job queue
  24 Invalid control structure
  28 Invalid length
  2C Invalid job name
  30 Invalid user name
  34 Invalid system name