Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
what does this mean "dataset should be cataloged"

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

New User


Joined: 11 Jul 2007
Posts: 68
Location: noida

PostPosted: Sat Apr 12, 2008 2:34 am    Post subject: what does this mean "dataset should be cataloged"
Reply with quote

Hello all.

DISP=(NEW,CATLG,DELETE) Disp specifies the disposition of dataset,

NEW - Dataset not exists, need to create
CATLG - If step executed successfully, dataset should be cataloged
DELETE - If any error occurred, Dataset should be deleted

Can somebody pls explain the concept of cataloging ?

and while opening a cataloged dataset , we always give name in single qoute also. is that a convention to identify to look in a specific place for the dataset

thanks
Sunny
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Sat Apr 12, 2008 2:44 am    Post subject:
Reply with quote

By being cataloged, the volser of where it resides is known by the catalog and is available without you needing to know where.
Uncataloged datasets would need a volser parameter to tell the system where to find it.
Generally, when referencing a non quoted dataset, your tso userid gets plugged in front of the dataname.
Back to top
View user's profile Send private message
sunny_io

New User


Joined: 11 Jul 2007
Posts: 68
Location: noida

PostPosted: Sat Apr 12, 2008 3:01 am    Post subject:
Reply with quote

term volser i understand , should mean address or a pointer.

Pls provide some more info on the term catalog.

Where is it mentained . Is it updated each time we edit / add / delete a file

Can PDS / Datasets / libraries all be cataloged

Use of cataloge

thanks
Sunny
Back to top
View user's profile Send private message
Balaji Krishnamurthy

New User


Joined: 26 Feb 2008
Posts: 20
Location: chennai

PostPosted: Sat Apr 12, 2008 4:00 am    Post subject:
Reply with quote

IBM mainframe catalog is like an index in a book. It contains the details of all datasets and the volumes in which they reside. So, once you give the parameter as catalog, IBM will put an entry into the system catalog. So, the next time you access the dataset, you just have to specify the data set name and the sysem will pick the volume serial number from the catalog and mounts that volume to read the dataset.
Back to top
View user's profile Send private message
Mohit Saxena

New User


Joined: 21 Aug 2007
Posts: 9
Location: US

PostPosted: Sat Apr 12, 2008 4:26 am    Post subject:
Reply with quote

Quote:
Is it updated each time we edit / add / delete a file


catalog is not updated while we edit a file, it will only be updated on adding/deleting.

Quote:
Can PDS / Datasets / libraries all be cataloged


Yes..
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Sat Apr 12, 2008 5:09 am    Post subject:
Reply with quote

My Boy,

Forget about Mainframes, just for some time think for a general meaning of English word "Catalog". Many meanings, such as..directory, index, list...

"Catalog" in Mainframes is no more different, calatlog is the collection of all data set indexes that are used by the control program to locate a volume containing a specific data set.

This goes back to that time when mainframes were not 'rich' enough to understands the whereabouts of a file (DSN). User had to provide the information on which VOLume SERial (DASD or TAPE) my files resides, to overcome this Catalog service came into the picture, when in DISP parameter we use (,CATLG,) system (SMS) makes an entry (like a place holder) in Sytem catalog.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Sat Apr 12, 2008 6:15 am    Post subject:
Reply with quote

Further,

SMS (storage management subsystem) contols datasets allocations on MVS with dataclass storeclass parameters that define DCB.

Before the advent of SMS, you had to supply all DCB and volume information in JCL, and no check was made as to the existance of datasets (it means you could have two datsets residing on different volumes causing troubles in production runs -sometimes) then came the catalog services, you could no longer catalog already cataloged datasets and SMS goes further by relieving the user from supplying DCB (lrecl. blksize, recfm) , volume and space parameters.

Hope this helps.
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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us