View previous topic :: View next topic |
Author |
Message |
zatlas Beginner
Joined: 17 Dec 2002 Posts: 43 Topics: 4
|
Posted: Tue Jul 26, 2011 8:59 am Post subject: Listcat with VTOC information |
|
|
I've read somewhere that there is now a way to have VTOC information in the listcat, but I cannot find it on the internet (probably I am using the wrong keywords in my search). Could somebody please guide me to the correct IBM publication.
Thanks
ZA |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Tue Jul 26, 2011 11:15 am Post subject: |
|
|
zatlas,
AFAIK there are no changes made to LISTCAT COMMAND. LISTCAT ALL will reference the catalog and the VVDS. If you want the complete VTOC information use IDCAMS DCOLLECT or IEHLIST
Kolusu |
|
Back to top |
|
|
zatlas Beginner
Joined: 17 Dec 2002 Posts: 43 Topics: 4
|
Posted: Tue Jul 26, 2011 11:52 am Post subject: |
|
|
Thank you
I've just located the DCOLLECT command. I've just got mixed up
Now my question is how to list all the HLQ in my master catalog?
IS that
LISTCAT LEVEL ALL
or some other syntax?
Thanks
ZA |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
zatlas Beginner
Joined: 17 Dec 2002 Posts: 43 Topics: 4
|
Posted: Tue Jul 26, 2011 12:53 pm Post subject: |
|
|
THank you
As a lowly consultant, there is no chance that they will allow me to run anything but IDCAMS... |
|
Back to top |
|
|
papadi Supermod
Joined: 20 Oct 2009 Posts: 594 Topics: 1
|
Posted: Tue Jul 26, 2011 1:49 pm Post subject: |
|
|
Quote: |
there is no chance that they will allow me to run anything but IDCAMS. | They may - if they actually want the work done and have to pay less hours for it . . . _________________ All the best,
di |
|
Back to top |
|
|
zatlas Beginner
Joined: 17 Dec 2002 Posts: 43 Topics: 4
|
Posted: Tue Jul 26, 2011 2:58 pm Post subject: |
|
|
OK
But what about my question
thanks
ZA |
|
Back to top |
|
|
papadi Supermod
Joined: 20 Oct 2009 Posts: 594 Topics: 1
|
Posted: Tue Jul 26, 2011 3:02 pm Post subject: |
|
|
Quote: |
But what about my question | I suspect that single idcams execution will not give what you want.
Time to work with your management/client and get permission to run what you need. Remind them this would be read-only - there would be no update of any kind to merely look at entries. . . _________________ All the best,
di |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Tue Jul 26, 2011 3:39 pm Post subject: |
|
|
zatlas,
You can do the following.
1. Do a listcat of your Userid and get the IN-CAT name which specifies the master/user catalog.
2. Now run the LISTCAT CATALOG('mcat name from step1') UCAT ALL and you will get all the HLQ's under ASSOCIATIONS as ALIAS
3. You may need to run step2 more than once depending on how many mcats you have.
Alternatively you can put all 3 steps in a batch job and then strip the desired info using utilities.
Kolusu |
|
Back to top |
|
|
zatlas Beginner
Joined: 17 Dec 2002 Posts: 43 Topics: 4
|
Posted: Wed Jul 27, 2011 9:08 am Post subject: |
|
|
Thank you
This is what I was looking for
ZA |
|
Back to top |
|
|
taltyman JCL Forum Moderator
Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Thu Jul 28, 2011 10:24 am Post subject: |
|
|
If you just want alias info from the master catalog then what's wrong with listcat alias? Just be aware that not every hlq will be in the master catalog as aliases. For example SYS1 probably will not show up as an alias. |
|
Back to top |
|
|
|
|