Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

GDG - using NoEmpty and Noscratch together

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: GDG - using NoEmpty and Noscratch together
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

Moderator Team Head


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

PostPosted: Fri Jul 10, 2009 11:56 pm    Post subject: Reply to: GDG - using NoEmpty and Noscratch together
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    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 Scratch and Noempty for vsam files sajjan jindal JCL & VSAM 3 Tue Sep 22, 2009 11:45 am
No new posts Find GDG is defined as 'SCRATCH or NO... anandinmainframe JCL & VSAM 2 Thu Mar 26, 2009 4:11 pm
No new posts Difference between noscratch and noem... Bill Dennis JCL & VSAM 2 Wed Apr 09, 2008 5:47 pm
No new posts Sticky: Noscratch and Noempty parameter of GDG hemant26 JCL & VSAM 3 Fri Sep 15, 2006 10:56 am
No new posts Use of Noscratch option while creatin... Jayalakshmi JCL & VSAM 3 Fri Apr 07, 2006 12:20 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us