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

IGD17356I GDG RECLAIM REQUEST


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

New User


Joined: 12 Sep 2013
Posts: 22
Location: India

PostPosted: Mon Sep 07, 2015 12:07 pm
Reply with quote

Hi,

I have a GDG Base, say AAA.BBB.CCC, With Attributes
ATTRIBUTES
LIMIT-----------------10 SCRATCH NOEMPTY

And it has got 10 Generations present.

I ran a job, which has got DISP Parm as below
Code:

//G2       DD DSN=AAA.BBB.CCC(+1),                 
//            DISP=(,CATLG,DELETE),                                     
//            UNIT=DISK,DATACLAS=SEQFB,LRECL=200                       


I was expecting a new Generation to get created with the oldest generation to get deleted.

However, the job did something else, it used the most recent generation and overrode the data. The messages says as below:
Code:

IGD17356I GDG RECLAIM REQUEST WAS SUCCESSFULLY PROCESSED FOR DATA SET AAA.BBB.CCC.GLATEST


I could not understand why it would happen with DISP=NEW?

Any help or suggestions please.
Back to top
View user's profile Send private message
RahulG31

Active User


Joined: 20 Dec 2014
Posts: 446
Location: USA

PostPosted: Mon Sep 07, 2015 1:46 pm
Reply with quote

Did the same job fail earlier ? I mean; is it the second run of the job ?

See if this helps: http://www.ibmmainframes.com/about28837.html
Back to top
View user's profile Send private message
shiitiizz

New User


Joined: 12 Sep 2013
Posts: 22
Location: India

PostPosted: Mon Sep 07, 2015 2:15 pm
Reply with quote

Yes Rahul. The job was in abend state in CA7.

The request raised was to Cancel and Re-demand the job. Whilst the job was cancelled, and then re-demanded, my understanding was that it would have created a new generation. That too when the DISP Parm is NEW and not MOD.
Back to top
View user's profile Send private message
RahulG31

Active User


Joined: 20 Dec 2014
Posts: 446
Location: USA

PostPosted: Mon Sep 07, 2015 2:21 pm
Reply with quote

Ok. You need to read this: http://www-01.ibm.com/support/docview.wss?uid=isg1OA32968

Quote:
PROBLEM DESCRIPTION: If the job specifies a DD card with
GDS(+1) and the job terminates
abnormally such that the GDS does not
get rolled in then during a subsequent
re-execution of the same job, the
system will attempt to create the same
data set as when the job failed
earlier. The system will detect that
the GDS already exists and if the
system default of GDS_RECLAIM(YES) is
used, the system will reclaim the
previously created GDS. Owing to an
error in the code, if the user attempts
to write to this data set, the step
will complete with a RC of zero but the
data will not be written out.
Back to top
View user's profile Send private message
shiitiizz

New User


Joined: 12 Sep 2013
Posts: 22
Location: India

PostPosted: Mon Sep 07, 2015 2:27 pm
Reply with quote

Many Thanks Rahul, Yes that explains it. I found the below read useful too,

www-01.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.idad400/roll.htm

Thanks once again for helping on this
Back to top
View user's profile Send private message
RahulG31

Active User


Joined: 20 Dec 2014
Posts: 446
Location: USA

PostPosted: Mon Sep 07, 2015 2:34 pm
Reply with quote

You're welcome :-)
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 CICS Web client request CICS 6
No new posts Job monitoring request JCL & VSAM 4
No new posts Dynamic array request/response contai... CICS 2
No new posts Execute multiple DB2 Load commands in... DB2 4
No new posts How to sending system service request... IMS DB/DC 5
Search our Forums:

Back to Top