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%... >along with statements to activate the new lnklst. Please post these two steps: activating and update the new linklst. There are good examples available (IBM-MAIN and KC bookies) where you place these commands in a PROGxx member and then run T PROG=xx (all of them without DELETE step of course.) When ready and you got no surprise Abends after a little wait, then you do DELETE step. Groete / Greetings Elardus Engelbrecht ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
