As others have mentioned "LNKLST UPDATE JOB(*)" is required to get all old address spaces to switch to a newly activated lnklst and free up all prior usage of LNKLST00, but if you search past threads on this topic on ibm-main you will find that at least in the past this has involved some element of risk, depending on what library has been changed and how it is being used by the address space; so the best time to do this may be after making corresponding changes to PROGxx just before a scheduled IPL. The ACTIVATE by itself only causes address spaces created in the future to use the new LNKLST definition - existing address spaces by default continue to use the same LNKLSTxx that they were using before the ACTIVATE.

Maybe I am overly paranoid, but I would never delete a dynamically "removed" lnklist library within the same IPL. Once it is freed, just rename it and by some means insure it is not eligible for migration or other movement, just in case there is still some control block somewhere left pointing to the old extents. Save the delete for after the next IPL when the library has never been accessed as a lnklist library.
  Joel C Ewing

On 02/03/2011 12:31 PM, Mark Pace wrote:
I want to change the size of a LINKLIB.  So how I was going to tackle this
was, define the new one, copy the contents from the old library to the new
library.
Remove the LINKLIB from the APF list and the LNKLST.  Delete the old
dataset, rename the new one, and then add it back to the PAF and LNKLSTs.

setprog apf,delete,dsname=sys3.prod.linklib,volume=tusr01

SETPROG LNKLST,DEFINE,NAME=lnklst01,COPYFROM=lnklst00
SETPROG LNKLST,delete,NAME=lnklst01,dsname=sys3.prod.linklib
SETPROG LNKLST,ACTIVATE,NAME=lnklst01

I then went to delete the old dataset, but it still says Dataset In Use.
What did I miss?



--
Joel C. Ewing, Fort Smith, AR        [email protected]

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to