O'Reilly logo

APIs at Work, Second Edition by Ron Hawkins, Doug Pence, Bruce Vining

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting a List of Jobs and Selected Job Attributes

The List Jobs API, QUSLJOB, generates a list of all or some jobs on the system. The parameters for QUSLJOB are shown in Table 13.1.

Table 13.1. The List Jobs API (QUSLJOB)
ParameterDescriptionTypeSize
1Qualified User Space NameInputChar(20)
2FormatInputChar(8)
3Qualified Job NameInputChar(26)
4StatusInputChar(10)
Optional Parameter Group 1
5Error CodeI/OChar(*)
Optional Parameter Group 2
6TypeInputChar(1)
7Number of Fields to ReturnInputBinary(4)
8Key of Fields to ReturnInputArray(*) of Binary(4)
Optional Parameter Group 3
9Continuation handleInputChar(48)

The first parameter, Qualified User Space Name, specifies the user space to return the list into. As is standard with qualified name parameters, the first ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required