Converting a LNKLSTxx member to PROGxx using the CSVLNKPR exec

To convert a LNKLSTxx member to PROGxx format, use the CSVLNKPR REXX exec in SYS1.SAMPLIB. To install CSVLNKPR, place the exec in a data set that is accessible to ISPF and PDF edit macros. If you specify EXECUTIL SEARCHDD(YES) command, or if you have modified the TSO/E installation parameters to search SYSEXEC automatically, place CSVLNKPR in a data set allocated to SYSEXEC. Otherwise, place CSVLNKPR in a data set allocated to SYSPROC.

To invoke CSVLNKPR:

  1. Make sure that the LNKLSTxx member to be converted is valid and syntactically correct.
  2. Create a new, empty PROGxx parmlib member. It should be empty until you copy the LNKLSTxx member into it, because CSVLNKPR comments out any statement not in LNKLSTxx format.
  3. Copy the LNKLST statements from the old LNKLSTxx member into the empty PROGxx member.

    Because the system automatically places the LINKLIB, MIGLIB, or CSSLIB data sets into the LNKLST set, you do not need to specify them in the new PROGxx member. The data set names for the LINKLIB, MIGLIB, and CSSLIB default to SYS1.xxxxLIB, but you can change the data set names, if desired, using the SYSLIB statement in PROGxx. If you specify the LINKLIB, MIGLIB, or CSSLIB data set in the LNKLSTxx member, and you convert the member to PROGxx format and IPL with that PROGxx member, the system will issue message CSV532I to indicate the presence of a superfluous LNKLST statement in that PROGxx member.

  4. Enter CSVLNKPR on the edit command line. The system places the modified member in the edit buffer. If you enter CSVLNKPR without a name, the name of the LNKLST set in PROGxx defaults to LNKLSTXX. If you specify CSVLNKPR(name), the system uses name as the name of the LNKLST set in PROGxx.
  5. Save the new PROGxx member.
  6. After you have saved the new PROGxx member, remove the LNK=xx system parameter from IEASYSxx and from IEASYS00. Then activate PROGxx by specifying the PROG=xx system parameter at the next IPL. You can place PROG=xx in IEASYSxx and IEASYS00.