Tom, How would it know which occurrence to delete when two of them are out there? Bill J.
On Wednesday, July 5, 2017 10:29 AM, Tom Marchant <0000000a2a8c2020-dmarc-requ...@listserv.ua.edu> wrote: 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 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