On Wed, 5 Jul 2017 08:11:52 -0500, Elardus Engelbrecht wrote: >william janulin wrote: > >> I have a situation where I have to reposition a dataset in a new LNKLST. As >>I see no > >> SETPROG LNKLST,MOVE statement available would the following work: > >>SETPROG LNKLST,DEFINE,NAME(LNKLSTnn),COPYFROM(CURRENT) >> SETPROG LNKLST,DELETE,NAME(LNKLSTnn),DSNAME=dnsame1 >>SETPROG LNKLST,ADD,NAME=LNKLSTnn,DSNAME=dsname1,AFTER=dsname2 > >Looking good, but I would do DELETE step very last AFTER all activation and >updating are completed 100%...
Why? That way you have an active LNKLST set that includes the same data set twice. -- Tom Marchant ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
