Sorry, only AFTER... From z/OS 1.7 System Commands:
________________________________________________________________________
____________________________________
|
|
| SETPROG
LNKLST,{DEFINE,NAME=lnklstname[,COPYFROM=lnklstname][,NOCHECK] }
|
| {ADD,NAME=lnklstname,
|
| DSNAME=dsname[,VOLUME=volser][,ATBOTTOM ]
|
| [,ATTOP ]
|
| [,AFTER=dsname]
|
| [,CONCAT(CHECK | NOCHECK)]
} |
| {DELETE,NAME=lnklstname,DSNAME=dsname
} |
| {UNDEFINE,NAME=lnklstname
} |
| {TEST,NAME=lnklstname,MODNAME=name
} |
| {ACTIVATE,NAME=lnklstname
} |
| | {UPDATE,{JOB=jobname} [,DELAY=nn]
} |
| | {ASID=asid } [DELAY=delay]
|
| {UNALLOCATE
} |
| {ALLOCATE
} |
|
|
|_______________________________________________________________________
_____________________________________|
Dave Gibney
Information Technology Services
Washington State University
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of George Rodriguez
> Sent: Wednesday, January 06, 2010 11:50 AM
> To: [email protected]
> Subject: Re: LNKLST & APF Help
>
> On z/OS v1.7?
>
> Thanks,
> George Rodriguez
> Specialist II - IT Solutions
> Application Support / Quality Assurance
> PX - 47652
> (561) 357-7652 (office)
> (561) 707-3496 (mobile)
> School District of Palm Beach County
> 3348 Forest Hill Blvd.
> Room B-332
> West Palm Beach, FL. 33406-5869
> Florida's Only A-Rated Urban District For Five Consecutive Years
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Gibney, Dave
> Sent: Wednesday, January 06, 2010 2:44 PM
> To: [email protected]
> Subject: Re: LNKLST & APF Help
>
>
> There's BEFORE and AFTER options on SETPROG LNKLST
>
> Dave Gibney
> Information Technology Services
> Washington State University
>
>
> > -----Original Message-----
> > From: IBM Mainframe Discussion List [mailto:[email protected]] On
> > Behalf Of Pommier, Rex R.
> > Sent: Wednesday, January 06, 2010 10:58 AM
> > To: [email protected]
> > Subject: Re: LNKLST & APF Help
> >
> > George,
> >
> > I believe that you may need to also do a LNKLST DELETE of the OEM#T
> > library before you do the LNKLST ADD statements. I'm assuming the
> > OEM#T
> > library is in the current LNKLST so it would be copied to the new
> one.
> > Just doing the LNKLST ADD statements will end up with 2 copies of
> OEM#T
> > in the LNKLST concatenation.
> >
> > Rex
> >
> > -----Original Message-----
> > From: IBM Mainframe Discussion List [mailto:[email protected]] On
> > Behalf Of George Rodriguez
> > Sent: Wednesday, January 06, 2010 12:37 PM
> > To: [email protected]
> > Subject: LNKLST & APF Help
> >
> > This is a how to question. In the SYS1.PARMLIB(PROG00) member I have
> an
> > existing library that I really need to delete but I can't. Instead I
> > want to add a new entry in front of the one that's there now. As
they
> > say a picture is worth a 1,000 word, so here's the net result of
what
> I
> > want to do:
> >
> >
> >
> > APF ADD DSNAME(OEM#P.CAI.EZT.R6M4.CAILIB) SMS (this
> one
> > in front )
> >
> > APF ADD DSNAME(OEM#T.CAI.CAILIB) SMS
> >
> >
> >
> > And:
> >
> >
> >
> > LNKLST ADD NAME(LNKLST00) DSN(OEM#P.CAI.EZT.R6M4.CAILIB)
> VOL(POEM01)
> > (this one in front)
> >
> > LNKLST ADD NAME(LNKLST00) DSN(OEM#T.CAI.CAILIB)
> VOL(POEM00)
> >
> >
> >
> > And I want to do it dynamically. For the APF it's just adding the
> entry
> > into PROG00 and issuing the SET PROG=XX command. I need to know if
> this
> > will work for the LNKLST?
> >
> >
> >
> > LNKLST DEFINE NAME(LNKLST01) COPYFROM(CURRENT)
> >
> > LNKLST ADD NAME(LNKLST01) DSN(OEM#P.CAI.EZT.R6M4.CAILIB) VOL(POEM01)
> >
> > LNKLST ADD NAME(LNKLST01) DSN(OEM#T.CAI.CAILIB) VOL(POEM00)
> > <==<< this one to replace one that's there.
> >
> > LNKLST ACTIVATE NAME(LNKLST01)
> >
> >
> >
> > The reason is that I need the R6M4 library to be read before the
> OEM#T
> > library.
> >
> >
> >
> > Thanks in advance...
> >
> >
> >
> >
---------------------------------------------------------------------
> -
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: GET IBM-MAIN
> INFO
> > Search the archives at http://bama.ua.edu/archives/ibm-main.html
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
> ----------------------------------------------------------
> --------------Palm Beach County Schools---------------------
>
> Rated "A" by the Florida Department of Education 2005-2009
>
> -----Home of Florida's first LEED Gold Certified School-----
> -----------http://www.palmbeachschools.org-------------
>
> The District of Palm Beach County is an Equal Education Opportunity
> Provider and Employer. Under Florida law, e-mail addresses are
> public records. If you do not want your e-mail address released in
> response to a public records request, do not send electronic mail
> to this entity. Instead, contact this office by phone or in
> writing.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html