Let me elaborate a little bit more.
I've never used commas in PROGxx PARMLIB member, so the ways I know this
would work are:
A) With a member in PARMLIB:
1. Define a PROGxx member in PARMLIB with:
LNK DEFINE NAME(name) COPYFROM=CURRENT
LNK DELETE NAME(name) DSN(library)
LNK ADD NAME(name) DSN(library)
AFTER(yyyyyyy)
LNK ACTIVATE NAME(name)
2. Use SET PROG=xx command
B) Direct commands to the system:
1. SETPROG LNKLST,DEFINE,NAME=name,COPYFROM=CURRENT
2. SETPROG LNKLST,DELETE,NAME=name,DSNAME=library
3. SETPROG LNKLST,ADD,NAME=name,DSNAME=library,AFTER=yyyyyyy
4. SETPROG LNKLST,ACTIVATE,NAME=name
Regards,
-------------------------------------------------------------------------------------------------------------------------------
*Lucas Rosalen*
Emails: [email protected] / *[email protected]
<[email protected]>*
LinkedIn: http://br.linkedin.com/in/lrosalen
Phone: +48 (71) 792 809 198
2017-07-05 14:51 GMT+02:00 william janulin <
[email protected]>:
> Thank you Lucas, appreciate the feedbacl.
> Bill J.
>
>
> On Wednesday, July 5, 2017 8:50 AM, Lucas Rosalen <
> [email protected]> wrote:
>
>
> Yes!
>
> ------------------------------------------------------------
> -------------------------------------------------------------------
> *Lucas Rosalen*
> Emails: [email protected] / *[email protected]
> <[email protected]>*
> LinkedIn: http://br.linkedin.com/in/lrosalen
> Phone: +48 (71) 792 809 198
>
>
> 2017-07-05 14:33 GMT+02:00 william janulin <
> [email protected]>:
>
> > To list;
> > 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=dnsame1SETPROG
> > LNKLST,ADD,NAME=LNKLSTnn,DSNAME=dsname1,AFTER=dsname2
> > along with statements to activate the new lnklst.
> > Thks, Bill J.
> >
> >
> >
> >
> >
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
> >
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
>
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN