Skip to content

Instantly share code, notes, and snippets.

@plavjanik
Last active March 22, 2022 11:14
Show Gist options
  • Select an option

  • Save plavjanik/688a50bb2e7619d9faec2556fb400378 to your computer and use it in GitHub Desktop.

Select an option

Save plavjanik/688a50bb2e7619d9faec2556fb400378 to your computer and use it in GitHub Desktop.
Example of the job list in JSON format from Zowe
{
"success": true,
"exitCode": 0,
"message": "List of jobs returned for prefix \"*\" and owner \"null\"",
"stdout": "JOB10931 CC 0000 ZOWEUSERA OUTPUT\nJOB10930 CC 0000 ZOWEUSERA OUTPUT\nJOB10929 CC 0000 ZOWEUSERA OUTPUT\nTSU08423 ZOWEUSER ACTIVE\n",
"stderr": "",
"data": [
{
"owner": "ZOWEUSER",
"phase": 20,
"subsystem": "JES2",
"phase-name": "Job is on the hard copy queue",
"job-correlator": "J0010931ACMESYS1DB7990B4.......:",
"type": "JOB",
"url": "https://sys1.mf.acme.net:443/zosmf/restjobs/jobs/J0010931ACMESYS1DB7990B4.......%3A",
"jobid": "JOB10931",
"class": "A",
"files-url": "https://sys1.mf.acme.net:443/zosmf/restjobs/jobs/J0010931ACMESYS1DB7990B4.......%3A/files",
"jobname": "ZOWEUSERA",
"status": "OUTPUT",
"retcode": "CC 0000"
},
...
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment