4.7.6 JSMCHGJOB
The JSMCHGJOB program can be used in the JSMDRTEXT program to change the library list of the current job to the library list of the current user profile. The user profile of the HTTP instance can be configured using the UserId %%CLIENT%% entry or by calling the JSMCHGUSER program.
DCL VAR(&STATUS) TYPE(*CHAR) LEN(7)
CALL PGM(JSMCHGJOB) PARM(&STATUS)
IF COND(&STATUS *NE OK) THEN(DO)