getSpoolContentById

fun getSpoolContentById(jobName: String, jobId: String, spoolId: Int): String

Get spool content from a job using the job name, job ID, and spool ID number from z/OSMF.

Return

spool content

Parameters

jobName

job name for the job containing the spool content

jobId

job id for the job containing the spool content

spoolId

id number assigned by zosmf that identifies the particular job spool file (DD)

Throws

error on getting spool content