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.
|1||Qualified Job Name||Input||Char(26)|
|2||Internal Job Identifier||Input||Char(16)|