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

Noscratch and Noempty parameter of GDG


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

New User


Joined: 14 Sep 2006
Posts: 7

PostPosted: Fri Sep 15, 2006 10:55 am
Reply with quote

tell me the difference between noscratch and noempty parameter of GDG
Back to top
View user's profile Send private message
muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Chennai

PostPosted: Fri Sep 15, 2006 11:55 am
Reply with quote

The difference between empty and noempty is
EMPTY
specifies that all the generation data sets are to be uncataloged When the maximum is exceeded (each data set's non-VSAM entry is automatically deleted from the catalog).

NOEMPTY
specifies that only the oldest generation data set is to be uncataloged when the maximum is reached.

The difference between scratch and noscratch is

SCRATCH
specifies that the generation data set's DSCB is to be deleted from the volume's VTOC when the generation data set is uncataloged. Direct access device space management (DADSM) removes the data set's DSCB from the VTOC, erases the data set's space on the volume, and makes the space available to other system users. The generation data set ceases to exist. For SMS-managed GDSs, SCRATCH also specifies that the NVR is to be removed from the VVDS when the data set is uncataloged.

NOSCRATCH
specifies that the generation data set's DSCB is not to be removed from the volume's VTOC when the generation data set is uncataloged. The data set's DSCB in the volume's VTOC is left intact and can be used to locate the data set. Your program, however, can process the data set by using a JCL DD statement to describe and allocate the data set.

Thanks,
Muthuvel.
Back to top
View user's profile Send private message
shankarravi1984
Warnings : 1

New User


Joined: 15 Sep 2006
Posts: 9
Location: pune

PostPosted: Wed Sep 20, 2006 7:04 pm
Reply with quote

hi hemanth,
noscratch is given when you want delete your oldest version of gdg member logically not physically
noempty is given when you want to repalce your new veresion with oldest version
scratch is given when you want delete your oldest version of gdg member physically not logically
empty is given when you want to repalce your new version by replacing all your oldest version
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Thu Sep 21, 2006 11:45 am
Reply with quote

hi hemanth,

Let me explain wat i have understood by these terms,

Noscratch : It will not delete the GDG versions when the max number of versions for the GDG is reached.

scratch : It will scratch the older versions of the GDG, giving space for the newer versions.

Empty : It will empty the GDG versions

NoEmpty : It will not empty the GDG versions, rather it will delete the older versions of the GDG.

Correct me if i am wrong.

Thanks,
Diwakar Dayalan

Nobody is perfect. I am Nobody.
ibmmainframes.com/viewtopic.php?p=50039#50039
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 SMF Specify in the INCLUDE parameter ... DFSORT/ICETOOL 7
No new posts New Parameter should be added to the ... CLIST & REXX 30
No new posts Can we pass the value of Symbolic par... JCL & VSAM 5
No new posts Increase the Maximum Length of LRECL ... JCL & VSAM 5
No new posts File data to symbolic parameter JCL & VSAM 5
Search our Forums:

Back to Top