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 <[email protected]>
>Sent: May 16, 2017 3:19 PM
>To: [email protected]
>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 <[email protected]>
>>Sent: May 16, 2017 1:52 PM
>>To: [email protected]
>>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 [email protected] with the message: INFO IBM-MAIN

Reply via email to