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

GDG - using NoEmpty and Noscratch together


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

New User


Joined: 30 Jun 2007
Posts: 39
Location: India

PostPosted: Fri Jul 10, 2009 9:33 pm
Reply with quote

Hi,

In GDG attribute:

Empty-->will uncatalog the all the generation.
NoEmpty-->will uncatalog the oldest generation
&
Scratch-->will physically delete the dataset
NoScratch-->will uncatalog the dataset.

Then could you please explain what is the use of using NoEmpty and Noscratch together, both will do the same thing. Please correct me if I am wrong.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Jul 10, 2009 11:56 pm
Reply with quote

Your information is not quite correct:

15.1 DEFINE GENERATIONDATAGROUP Parameters.

EMPTY|NOEMPTY

Specifies what action is to be taken for the catalog entries for the
GDG base when the number of generation data sets in the GDG base is
equal to the LIMIT value and another GDS is to be cataloged. The
disposition of the actual data sets uncatalogued from the GDG base is
determined by the setting of the SCRATCH/NOSCRATCH parameter for the GDG base.


EMPTY

remove all GDS entries from GDG base when a new GDS is created
that causes the GDG LIMIT to be exceeded.

NOEMPTY

remove only the oldest GDS entry when a new GDS is created that
causes GDG LIMIT to be exceeded.

SCRATCH|NOSCRATCH

Specifies what action is to be taken for a generation data set located
on disk volumes when the data set is uncataloged from the GDG base as
a result of EMPTY/NOEMPTY processing. For generation data sets located
on tape, this parameter has no effect.

You can override the SCRATCH|NOSCRATCH attribute when issuing the
DELETE command.

SCRATCH

The GDS is deleted from all disks it occupies when uncatalogued
from the GDG base, regardless of whether it is SMS-managed or not.

NOSCRATCH

If the data set is a non-SMS managed data set it is not removed
from any of the volumes it occupies. If the data set is an
SMS-managed data set it is recataloged as a non-VSAM data set in
rolled-off status, and is no longer associated with the GDG base.
It is not deleted from any of the SMS-managed volumes it occupies.
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 Scratch and Noempty for vsam files JCL & VSAM 3
No new posts Find GDG is defined as 'SCRATCH or NO... JCL & VSAM 2
No new posts Difference between noscratch and noem... JCL & VSAM 2
No new posts Sticky: Noscratch and Noempty parameter of GDG JCL & VSAM 7
No new posts Use of Noscratch option while creatin... JCL & VSAM 3
Search our Forums:

Back to Top