wait For Job Output Status
Given a Job document (has jobname/jobid), waits for the status of the job to be "OUTPUT". This API will poll for the OUTPUT status once every 3 seconds indefinitely. If the polling interval/duration is NOT sufficient, use waitForStatusCommon to adjust.
Return
job document
Parameters
document of the z/OS job to wait for (see z/OSMF Jobs APIs for details)
Throws
error processing wait check request
Given the jobname/jobid, waits for the status of the job to be "OUTPUT". This API will poll for the OUTPUT status once every 3 seconds indefinitely. If the polling interval/duration is NOT sufficient, use waitForStatusCommon to adjust.
Return
job document
Parameters
the z/OS jobname of the job to wait for output status (see z/OSMF Jobs APIs for details)
the z/OS jobid of the job to wait for output status (see z/OSMF Jobs APIS for details)
Throws
error processing wait check request