This section explains an example of dynamically concatenating the LINKLIB
load library to LNKLST.
In this example, the currently-active LNKLST is switched from the
original LNKLST to a temporary LNKLST, and during
this time, the original LNKLST is concatenated to the LINKLIB load
library. Dynamic changing of LNKLST affects the jobs that are
currently being executed. Before carrying out this procedure, see the IBM manual
relating to LNKLST, and check the required notes on dynamically
changing LNKLST.
-
Determine the active LNKLST by issuing the following
command.
The currently-active LNKLST (original
LNKLST) is assumed to be LNKLST00.
-
Copy LNKLST00, and then define a temporary LNKLST
(LNKLST99).
SETPROG LNKLST,DEFINE,NAME=LNKLST99,COPYFROM=LNKLST00
-
Activate temporary LNKLST (LNKLST99).
SETPROG LNKLST,ACTIVATE,NAME=LNKLST99
-
Apply all jobs that are being executed to the temporary LNKLST
(LNKLST99).
SETPROG LNKLST,UPDATE,JOB=*
-
Add the LINKLIB load library to the original LNKLST
(LNKLST00).
SETPROG LNKLST,ADD,NAME=LNKLST00,DSN=loadlib_dataset_name
-
Reactivate original LNKLST(LNKLST00).
SETPROG LNKLST,ACTIVATE,NAME=LNKLST00
-
Re-apply all jobs that are being executed to the original LNKLST
(LNKLST00).
SETPROG LNKLST,UPDATE,JOB=*
-
Remove the temporary LNKLST (LNKLST99).
SETPROG LNKLST,UNDEFINE,NAME=LNKLST99
For details on the
SETPROG command, see the IBM manual MVS System
Commands.