View catalogues and their structures.



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

View catalogues and their structures.

Postby Mehdi shri » Mon Oct 08, 2012 12:27 am

Dear friends.
I want to see the list of all catalogues (master and user) in the our train environment of Z/OS.
I want to know where am I in the our M/F train machine?
If I want to be a system programer what is the starting point?
Mehdi shri
 
Posts: 138
Joined: Sun Jan 16, 2011 6:30 pm
Has thanked: 57 times
Been thanked: 0 time

Re: View catalogues and their structures.

Postby enrico-sorichetti » Mon Oct 08, 2012 12:55 am

just one question for each post please!
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times

Re: View catalogues and their structures.

Postby steve-myers » Mon Oct 08, 2012 1:06 am

All z/OS systems have a (1, singular) master catalog. Although there are other methods, the easiest way to determine the name of the master catalog is to use IDCAMS to display information for a dataset known to be cataloged in the master catalog such as SYS1.LINKLIB. Write this IDCAMS control statement.
 LISTCAT ENT(SYS1.LINKLIB)
You will get output like this
NONVSAM ------- SYS1.LINKLIB     
     IN-CAT --- NONE.OF.YOUR.BUSINESS
The master catalog is NONE.OF.YOUR.BUSINESS.

You can determine the user catalogs by writing this IDCAMS control statement.
 LISTCAT USERCATALOG
The output will be the list of user catalogs.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: View catalogues and their structures.

Postby NicC » Mon Oct 08, 2012 2:24 am

Mehdi shri wrote:Dear friends.
I want to see the list of all catalogues (master and user) in the our train environment of Z/OS.
I want to know where am I in the our M/F train machine?

Sounds as though you think you are in a hierarchy - you are not.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: View catalogues and their structures.

Postby steve-myers » Mon Oct 08, 2012 7:20 am

Actually, both are correct. There is a 2 level hierarchy: the master catalog at the top, and one or more user catalogs. I've never encountered a situation where a user catalog points to another user catalog. I think the structure could be built, but I don't know what catalog lookup would do if it encountered such foolishness. I have one catalog entry in my personal userid that is an alias of an actual dataset in the same catalog, and catalog management and job management handle the situation just fine.

The old OS/360 CVOL catalog structure was a hierarchy within a single catalog, and it was very inefficient. In 1988 I found myself in a project to mass copy data, and we found it took longer to update the CVOL catalogs than to copy the data! One of the more clever ideas I ever had was to write a program to update the catalog directly rather than use catalog management to update the catalog. I could do this easily because I had intimate knowledge of the catalog structure from writing other programs to process these catalogs. Since VSAM BCS catalogs are supposed to be ordinary VSAM datasets, the index lookup is somewhat hierarchial, but it's much more efficient than the stupid structure in OS/360 CVOL catalogs.

These users thanked the author steve-myers for the post:
Mehdi shri (Mon Oct 08, 2012 12:39 pm)
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: View catalogues and their structures.

Postby Pedro » Mon Oct 08, 2012 9:17 pm

If I want to be a system programer what is the starting point?


It has been 20 years since I was a system programmer, though once you are one, I think it is a skill that you can keep claiming.

Study the manuals:
System Commands, Initialization and Tuning Guide, Parallel Sysplex Overview, RACF, MVS Diagnosis: Tools and Service Aids, IPCS, SMP/E, etc...
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: View catalogues and their structures.

Postby steve-myers » Mon Oct 08, 2012 11:10 pm

Pedro makes excellent points, but much more important, at least to me.

You must learn how to do these things more or less on your own, without whining about it in resources such as this.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: View catalogues and their structures.

Postby Pedro » Tue Oct 09, 2012 3:23 am

and their structures.

You need to know about catalogs, AMS, Volume Table of Contents (VTOC), LISTCAT command, DFSMS, storage administration, etc...
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post