IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Use of Noscratch option while creating a GDG.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Jayalakshmi

New User


Joined: 02 Sep 2005
Posts: 26
Location: Hyderabad

PostPosted: Fri Apr 07, 2006 12:20 pm
Reply with quote

Hi all,

Just got a weird doubt in my mind while going through the options while creating a GDG.

The document which I went through said: Noscratch option will uncatalog the dataset when the limit of GDG is reached.

Basically what is the use of Uncataloging the dataset..

Could someone clarify this...

Regards,
Jaya.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Fri Apr 07, 2006 2:48 pm
Reply with quote

Jaya,

For this firstly you need to understand what SCRATCH/NOSCRATCH is defined for. This Option is used for GDG Limit over condition.

SCRATCH tells you that GDG entry should be deleted physically and uncataloged; when it is removed from the index.

NOSCRATCH tells you that that GDG entry should be uncataloged, not physically deleted; when it is removed from the index.

Regards,
Priyesh.
Back to top
View user's profile Send private message
Jayalakshmi

New User


Joined: 02 Sep 2005
Posts: 26
Location: Hyderabad

PostPosted: Fri Apr 07, 2006 5:04 pm
Reply with quote

Hi Priyesh,

Thanks for the reply.

My question was aimed at "what is the use of Uncataloging dataset" irrespective of which option it was used.

Rather I would define it as "dif between deleting a dataset and uncatalog a dataset"
I guess it should be some 'storage space constraint".
Please clarify ..

Regret for inconvenience, if my previous question didn't express my query properly..


Regards,
Jaya.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Fri Apr 07, 2006 5:21 pm
Reply with quote

Hi Jaya,
Quote:
Regret for inconvenience, if my previous question didn't express my query properly..

Well, I have that bad habit of not understanding the question properly. icon_lol.gif

Quote:
"dif between deleting a dataset and uncatalog a dataset"

UNCATLG of a dataset means it would remain in the storage area, but the Entry pointing to this dataset in system catalog would be removed. So the next time if you want to acces it again, you may need to know the exact Volume and Serial number etc.

DELETE means the dataset will be deleted from the storage area along with Entry removed from System catalog,ofcourse.. So next time when you want to access this dataset, there is no direct way. Only if your SYSTEM ADMIN is taking a HSM Back-up of the datasets, you can re-access it.

Hope I make it clear.

Regards,
Priyesh.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts SCOPE PENDING option -check data DB2 2
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts CICS vs LE: STORAGE option CICS 0
No new posts Creating Unix Directory using COBOL i... COBOL Programming 2
No new posts Creating Report using SORT DFSORT/ICETOOL 7
Search our Forums:

Back to Top