Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

User catalog are KSDS ??

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
praveensinha
Warnings : 1

New User


Joined: 02 Oct 2009
Posts: 64
Location: Hyd

PostPosted: Tue Mar 16, 2010 4:58 pm    Post subject: User catalog are KSDS ??
Reply with quote

User catalog are KSDS ??
Back to top
View user's profile Send private message

Mathiv Anan

Active User


Joined: 23 Jul 2008
Posts: 106
Location: USA

PostPosted: Tue Mar 16, 2010 5:17 pm    Post subject: Reply to: User catalog are KSDS ??
Reply with quote

I would suggest you to read your previous posts answered by Enrico and also search the forum.

You will get enlightened icon_smile.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7904
Location: Bellevue, IA

PostPosted: Tue Mar 16, 2010 5:21 pm    Post subject:
Reply with quote

Three topics on catalogs this morning? That seems a bit excessive!

If you have such an interest in catalogs, I strongly urge you to contact your site support group. Catalog structures are usually very carefully considered by the systems programmers before being established, and the user catalogs are built as part of the process of laying down the system. It is rare (but not impossible) for changes to be made after the system has been moved to production. Once established, though, there is rarely a need to do much (if anything) with them.

And all of the questions you've asked are fully answered in the manuals, starting with the Access Method Services for Catalogs manual that you can reach by clicking the Manuals link at the top of the page.
Back to top
View user's profile Send private message
praveensinha
Warnings : 1

New User


Joined: 02 Oct 2009
Posts: 64
Location: Hyd

PostPosted: Tue Mar 16, 2010 6:20 pm    Post subject:
Reply with quote

My question is that suppose my user catalog is ABC( as its a KSDS),it should have data n index part ..However when i doin 3.4 for this dataset,its showin only this name of dataset,vol ser xtents..For a Typical KSDS vsam file will show index ,data ,cluster part when u do 3.4 for that dataset..

Why its happenin ?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7904
Location: Bellevue, IA

PostPosted: Tue Mar 16, 2010 7:09 pm    Post subject:
Reply with quote

Catalogs are not normal data sets and cannot be treated as such -- so doing things like looking at one from ISPF 3.4 is most likely a waste of time. An ICF catalog includes the VVDS as an integral part. You cannot expect a catalog to resemble anything else. If you really need to know the information about a particular catalog, you absolutely, categorically have no choice but talk to your site support group -- they're the ones who set it up and they're probably the only ones with the answers to your questions.

For example, catalogs are KSDS files but they do not have data and index components separated -- they are self-defining within the single file (along with the VVDS).
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 16, 2010 7:17 pm    Post subject:
Reply with quote

An ICF catalog consists of 2 parts : the BCS (KSDS) and a VVDS (ESDS).
So to obatin info about those components you have to name them
explicitily in your listcat.

Looking at your skills (DFSMS,CATALOG mgmt,VSAM) you should have known all this.
Back to top
View user's profile Send private message
praveensinha
Warnings : 1

New User


Joined: 02 Oct 2009
Posts: 64
Location: Hyd

PostPosted: Tue Mar 16, 2010 7:27 pm    Post subject:
Reply with quote

@Peter

I know all this that y i was gettin confused a bit as BCS is nothing but a catalog and KSDS so it should have Index n data part like any other VSAM files but it was gettin displayed IN 3.4...

Robert answered my question that "catalogs are KSDS files but they do not have data and index components separated -- they are self-defining within the single file (along with the VVDS).
" ..thnx Robert
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 16, 2010 7:47 pm    Post subject:
Reply with quote

Displaying in 3.4 is executing DSLIST. And i dont know if that will give
all the information about catalogs.
So use LISTCAT in batch or TSO.
Back to top
View user's profile Send private message
praveensinha
Warnings : 1

New User


Joined: 02 Oct 2009
Posts: 64
Location: Hyd

PostPosted: Tue Mar 16, 2010 8:00 pm    Post subject:
Reply with quote

@ Peter i was comparing KSDS vsam DS with user catalog ..As both are same ie KSDS but when u display a vsam file in 3.4 ,then it shows cluster ,data n index(if applicable ) part ..but that not happenin with user catalog ..So i asked this question
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Wed Mar 17, 2010 9:37 pm    Post subject:
Reply with quote

Because catalogs are self-defining, do a LISTCAT pointing to the catalog itself to see all the information. The cluster name shows as 000000000000000000000000000
Code:
//STEP01   EXEC PGM=IDCAMS,REGION=2M           
//SYSPRINT DD SYSOUT=*                         
//SYSIN    DD *                                 
 LISTCAT ENTRY(CATALOG.username ) -     
           ALL CATALOG(CATALOG.username) 
Back to top
View user's profile Send private message
praveensinha
Warnings : 1

New User


Joined: 02 Oct 2009
Posts: 64
Location: Hyd

PostPosted: Wed Mar 17, 2010 10:35 pm    Post subject:
Reply with quote

what do u mean by "The cluster name shows as 000000000000000000000000000"
Back to top
View user's profile Send private message
praveensinha
Warnings : 1

New User


Joined: 02 Oct 2009
Posts: 64
Location: Hyd

PostPosted: Wed Mar 17, 2010 10:36 pm    Post subject:
Reply with quote

Thanx Bill ..
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT - E15 and E35 using same user ex... Abhi Nature DFSORT/ICETOOL 12 Mon Oct 03, 2016 4:33 pm
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm
No new posts Data set is allocated to another job ... Seppe CLIST & REXX 2 Wed Aug 03, 2016 4:31 pm
No new posts Several errors during building altern... Andi1982 JCL & VSAM 11 Wed Jul 06, 2016 7:39 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us