Yes, by commands in the batch job such as ADDLIBLE or RMBLIBLE.
But I don’t think that’s what you wanted.
Perhaps someone knows how a user can do this?
Perhaps as part of debugging a batch job?
I don’t think it’s possible – not even using STRSRVJOB.
Not sure if this helps, but if you’re looking at restoring the library list after the job is finished, this is what I do:
1st, declare a variable to hold existing library list
0025.00 DCL VAR(&USRLIBL) TYPE(*CHAR) LEN(2750)
Then go out and grab the existing list
0036.00 RTVJOBA USRLIBL(&USRLIBL)
Adjust the running library list as you see fit
0088.00 ADDLIBLE LIB(YOURLIB) POSITION(*LAST)
Finally, restore the library list to the saved list when the job is finished
however, note that RTNLIBL is a TAATOOL…………
0092.00 RTNLIBL USRLIBL(&USRLIBL)