Hi Elardus ,

  Thanks for the response   Scenario 2 happened in a diffferent z/os system
altogether . It was done using the below commands

SETPROG LNKLST,DEFINE,NAME=LNKLST02,COPYFROM=LNKLST00
SETPROG LNKLST,DELETE,NAME=LNKLST02,DSNAME=X.Y.Z
SETPROG LNKLST,ACTIVATE,NAME=LNKLST02
SETPROG LNKLST,UPDATE,JOB=*

I didn't do an LLA refresh here , because i was expecting that
LNKLST,ACTIVATE would do the refresh automatically and also subsequent D
LLA didn't show X.Y.Z in its output

Then , i moved X.Y.Z to another volume and i wanted to add the same dataset
back to the linklist . so , i used the below commands

SETPROG LNKLST,DEFINE,NAME=LNKLST01,COPYFROM=LNKLST02
SETPROG LNKLST,ADD,NAME=LNKLST01,DSNAME=X.Y.Z
SETPROG LNKLST,ACTIVATE,NAME=LNKLST01
SETPROG LNKLST,UPDATE,JOB=*

After that , when i do a D LLA , it still doesnt show X.Y.Z in its output


Thanks in Advance ,
Baby



On Thu, Jul 11, 2013 at 12:01 PM, Elardus Engelbrecht <
elardus.engelbre...@sita.co.za> wrote:

> baby eklavya wrote:
>
> >Scenario 1 : The current linklist set is LNKLST00 . We added a new
> dataset by copying to LNKLST01 and activated LNKLST01 . With SETPROG
> LNKLST,ACTIVATE ,NAME=LNKLST01 command , LLA was automatically refreshed .
> >I didnt have to issue F LLA,REFRESH ,instead it got refreshed
> automatically with SETPROG ACTIVATE command .Is this normal ?
>
> Yes. As documented (Partial snippet):
>
> "Use the SETPROG LNKLST command to:
>   Activate a LNKLST set as the LNKLST concatenation for the system"
>
> But if I were you, I would do F LLA,REFRESH anyways and also SETPROG
> LNKLST,UPDATE,JOB=*
>
> Of course I would insert SETPROG LNKLST,TEST,... for checking.
>
>
> >Scenario 2: I removed a dataset from LNKLST00 , moved it to a different
> volume and added the same dataset back using LNKLST01 and activated
> LNKLST01 with the command SETPROG LNKLST,ACTIVATE,NAME=LNKLST01 .But this
> time , LLA didn't pick it up automatically .
>
> If you do that stunt in that specific sequence + omitted steps as
> described, I'm not that surprised. How did you 'removed a dataset from
> LNKLST00' in the first place?
>
> Did you UPDATE, REFRESH, etc and then after that, moved your dataset?
>
> >I don't understand why LLA didn't pick up the dataset automatically in
> Scenario # 2 . Any thoughts on this ?
>
> WAD. I think you should RTFM the book 'MVS System Commands' again.
>
> Groete / Greetings
> Elardus Engelbrecht
>
> ----------------------------------------------------------------------
> 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

Reply via email to