View previous topic :: View next topic
|
Author |
Message |
shiitiizz
New User
Joined: 12 Sep 2013 Posts: 22 Location: India
|
|
|
|
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 |
|
|
RahulG31
Active User
Joined: 20 Dec 2014 Posts: 446 Location: USA
|
|
Back to top |
|
|
shiitiizz
New User
Joined: 12 Sep 2013 Posts: 22 Location: India
|
|
|
|
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 |
|
|
RahulG31
Active User
Joined: 20 Dec 2014 Posts: 446 Location: USA
|
|
|
|
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 |
|
|
shiitiizz
New User
Joined: 12 Sep 2013 Posts: 22 Location: India
|
|
Back to top |
|
|
RahulG31
Active User
Joined: 20 Dec 2014 Posts: 446 Location: USA
|
|
|
|
You're welcome :-) |
|
Back to top |
|
|
|