waitForJobOutputStatus

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

job

document of the z/OS job to wait for (see z/OSMF Jobs APIs for details)

Throws

error processing wait check request


fun waitForJobOutputStatus(jobName: String, jobId: String): Job

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

jobName

the z/OS jobname of the job to wait for output status (see z/OSMF Jobs APIs for details)

jobId

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