And the LNKLST UPDATE JOB(*) is documented as potentially dangerous.

On the other hand, so far, I haven't have need to modify my linklst and effect 
all running address spaces. It's usually limited to  a smaller subset.

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On Behalf Of Lizette Koehler
> Sent: Tuesday, May 16, 2017 3:25 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: setrog lnklst question
> 
> So an EXAMPLE would be
> 
>    /*                                                */
>    /* Adding a dataset to the LINKLIST when it       */
>    /* does not already exist                         */
>    /*                                                */
>    LNKLST DEFINE NAME(NEWLNKA) COPYFROM(CURRENT)
>    LNKLST ADD    NAME(NEWLNKA) DSNAME(SYS1.NEWDSN.INLNK.LIST),
>    AFTER(SYS1.LOCTION.INLNK.LIST)
>    LNKLST DELETE   NAME(NEWLNKA) DSNAME(SYS1.DELETE.THIS.LNKLST.DSN)
>    LNKLST ACTIVATE NAME(NEWLNKA)
>    LNKLST UPDATE JOB(*)
>    APF ADD DSNAME(SYS1.NEWDSN.INLNK.LIST) VOLUME(&SYSR3)
> 
> 
> APF ADD is not needed if the file being added is already APF Authorized.
> DELETE is not needed if you are not removing anything from the Linklst.
> 
> 
> Lizette
> 
> -----Original Message-----
> >From: Lizette Koehler <stars...@mindspring.com>
> >Sent: May 16, 2017 3:19 PM
> >To: IBM-MAIN@LISTSERV.UA.EDU
> >Subject: Re: setrog lnklst question
> >
> >You can create a parmlib member to
> >
> >COPY the current linklst to a new name
> >Activate the new linklist name
> >
> >If you need further assistance let us know.
> >
> >Lizette
> >
> >-----Original Message-----
> >>From: william janulin <0000008d52e04f2e-dmarc-
> requ...@listserv.ua.edu>
> >>Sent: May 16, 2017 1:52 PM
> >>To: IBM-MAIN@LISTSERV.UA.EDU
> >>Subject: setrog lnklst question
> >>
> >>To list;
> >> Is it possible to add a dataset to the active lnklst? I tried a setprog 
> >>lnklst
> add command and got a messagethat the lnklst was active.
> >>
> >>Thank you in advance, Bill J.
> >>
> >
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send email to
> lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to