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

The Change Job API, QWTCHGJB

The Change Job API, QWTCHGJB, allows you to change some of the attributes of a job or thread. The job can be your current job or another job on the system that you are authorized to change.

We’ll use the Change Job API here to complete a scenario earlier introduced in chapter 12. In that chapter, you saw how to change the user profile a job was running under. Now, you’ll see how to change the job environment a job is running under, so that it matches many of the attributes associated with that user profile. The parameters for QWTCHGJB are shown in Table 13.3.

Table 13.3. The Change Job API (QWTCHGJB)
ParameterDescriptionTypeSize
1Qualified Job NameInputChar(26)
2Internal Job IdentifierInputChar(16)
3Format NameInput

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