-----------------------<snip>-----------------
I need some help to understand what will happen with GDG data sets
under control following GDG index:
//MYJOB JOB (1234),'BODRA'
//STEP1 EXEC PGM=IDCAMS //SYSIN DD *
DEFINE GDG(NAME(MYLIB.LIB.TEST) -
LIMIT(02) -
NOEMPTY -
SCRATCH)
/*
If I have files MYLIB.LIB.TEST.G0001V00 in vol(son001) and
MYLIB.LIB.TEST.G0002V00 in vol(pan001)and run another job that will
generate MYLIB.LIB,TEST.G0003V00 in vol(son001), what will happen?
1 - G0001V00 will be deleted and G0003V00 will be created?
2 - G0001V00 will no be deleted and G0003V00 will not be created?
(Insuficient space available)
----------------<unsnip>--------------------------
In my experience, both cases you submit will be true. If you specify
DISP=([new],CATLG,CATLG), generation 3 will be cataloged, whether it is
correct or not. I recommend that you use DISP=({new],CATLG,DELETE) as a
standard. Generation 3 will then NOT be cataloged or retained and you
have less clean-up work to rerun the job or step.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html