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
 
why both scratch and Empty are used for to GDG

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

New User


Joined: 02 Mar 2005
Posts: 11
Location: USA

PostPosted: Sun Apr 24, 2005 8:35 am    Post subject: why both scratch and Empty are used for to GDG
Reply with quote

Hello
While creating GDG we we use parameters LIMIT, EMPTY / NOEMPTY, SCRATCH / NOSCRATCH.
I know the meaning of the parameters .
Noempty: Uncataloging oldest gen. of a GDG once the limit is reached.
Empty: Uncataloging all gen. of a GDG once the limit is reached
Scratch : Physically deleting the entry of GDG from the vol. it resides.
NoScratch: Uncatalog the entry of a GDG from the volume that it resides on without physically deleting it.
My question is why both scratch and Empty are both used for uncatalog and deleting the data sets. Is only one parameter required or both required.
Please explain briefly.
Back to top
View user's profile Send private message

purushoth_jp

New User


Joined: 12 Dec 2004
Posts: 22

PostPosted: Mon Apr 25, 2005 6:33 am    Post subject: Re: why both scratch and Empty are used for to GDG
Reply with quote

hi varun,
Both are required.
scratch and noscartch ---- specifies the generations to be physically deleted or uncatloged.

empty and noempty ------ specifies whether all generations or oldest generation is to be deleted physically or uncatloged depending upon scartch or noscartch

purushoth
Back to top
View user's profile Send private message
jinal_mca

New User


Joined: 05 Jan 2007
Posts: 23
Location: Pune, India

PostPosted: Tue Jan 23, 2007 3:44 pm    Post subject: Solution
Reply with quote

Generation data group is having this two important parameters..

-when ever we are defining gdgs at that time we have to define limit of gdg.

Empty
-when ever we are adding new generations and if limit reached then
if noempty is set then it wl remove only first inserted generation...
if empty is set thenit wl remove all generations...

Scratch
it is used to remover generation from physical database.

cya
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 BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
This topic is locked: you cannot edit posts or make replies. how to find if file is empty or not. abdulrafi DFSORT/ICETOOL 5 Tue May 17, 2016 4:39 pm
No new posts Empty KSDS Files Jeenu Bajaj JCL & VSAM 6 Fri Aug 21, 2015 2:44 pm
No new posts Empty excel attachment in mail receiv... gs185008 COBOL Programming 8 Mon Jul 13, 2015 7:45 pm
No new posts Stop Process when file is empty Roland Brosio DFSORT/ICETOOL 4 Thu Jun 25, 2015 1:20 pm

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