Some people dread the idea of having to update the Linklist dynamically but in fact it’s a very simple process:
- Update the PROGxx member that your system uses from PARMLIB:
- Add/remove libraries as required
- Change the LNKLSTnn reference to LNKLSTnn+1
- Issue the following MVS commands:
- SETPROG LNKLST,UNALLOCATE
- P LLA
- SET PROG=xx
- S LLA,SUB=MSTR
- SETPROG LNKLST,ALLOCATE
- SETPROG LNKLST,UPDATE,JOBNAME=*
- To make sure the libraries have been added /removed from the Linklist, issue the MVS command: D PROG,LNKLST
Example:
Let’s suppose your system is using SYS1.PARMLIB(PROG00) and the Linklist area in use is LNKLST00.
These would have to be the steps to follow:
- Edit SYS1.PARMLIB(PROG00) and add/remove the libraries you want from the Linklist area.
- Change all LNKLST00 references in SYS1.PARMLIB(PROG00) to LNKLST01.
- Issue the following MVS commands:
- SETPROG LNKLST,UNALLOCATE
- P LLA
- SET PROG=00
- S LLA,SUB=MSTR
- SETPROG LNKLST,ALLOCATE
- SETPROG LNKLST,UPDATE,JOBNAME=*
- D PROG,LNKLST
Note:
Click here to check why we need to stop LLA and unallocate the LNKLST.
Very handy guide…thanks for spelling it out so clearly.
Thanks Rui ,
Great eplanation,its helped me a lot.
Regards,
Pravin Sawant
Hi Rui Miguel Feio,
Your site is Highly Informative and Excellent, and you have the real Technical Skill, OHH .. Excellent ….. ///
Excellent site. It was pleasant to me.
Hi!
Yes, you can. 🙂
Hello from Russia!
Can I quote a post in your blog with the link to you?
AWESOME! Great job.
thank you soooooo much for this
Thx
I know exactly what you mean. Many people dread of the idea of messing with the Linklist.
Please do monitor the website and let me know of things you would like to see posted here. I sometimes run out of ideas on what to write. 🙂
Any time you need anything Pete, feel free to contact me. I will always try to help as best as I can.
Your friend,
Rui