View previous topic :: View next topic
|
Author |
Message |
Khwairakpam Raju Singh
New User
Joined: 05 Dec 2007 Posts: 29 Location: Bangalore
|
|
|
|
Hi All,
I have define a GDG base using IDCAMS with SYSIN parameter given below
//SYSIN DD *
DEFINE GDG -
(NAME(AAAA.BBBB.CCCC) -
SCRATCH NOEMPTY -
LIM(2) )
/*
In the JCL, I have created the dataset AAAA.BBBB.CCCC(+1) but given RETDT=2 as
Code: |
//STEP01 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=A.B.C.INPUT,DISP=SHR
//SORTOUT DD DSN=AAAA.BBBB.CCCC(+1),
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSALLDA,RETPD=2,
// SPACE=(CYL,(30,30),RLSE)
//SYSIN DD *
SORT FIELDS=COPY
//* |
Now According to GDG base property, this GDG can have MAX of 2 generation. If the limit is reach it should automatically delete the oldest dataset.
But as I have given the RETDT=2, dataset are not deleted even thought the limit is reached. and again it has not given any error too.
Any idea , why it has not given any error if generation have more then 2 dataset. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
You're right, in theory with NOEMPTY and SCRATCH it should. What does your storage team have to say about this? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
As a rule you should not use RETPD or EXPDT for a GDS.
I recall many problems with GDS and HSM where the GDS had been created using RETPD and/or EXPDT.
As Superk has said, you need to talk to your own storage people to investigate and correct. |
|
Back to top |
|
|
Khwairakpam Raju Singh
New User
Joined: 05 Dec 2007 Posts: 29 Location: Bangalore
|
|
|
|
Yes....they said it depends on the set of rules defined on the particular systems. Base on that , RETDT or GDG BASE Limit will get higher preference
Thanks a lot for your help.. :-) |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
Even though the datasets are not deleted I bet they are no longer part of the GDG base ie. they have rolled off.
I also think there might be an IEC331I message in your output.
Gerry |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Can you confirm Gerry's comment with LISTCAT? |
|
Back to top |
|
|
|