Posted: Wed Sep 15, 2010 10:38 am Post subject: Abend U0020 during checkpoint restart in JCL - step UCC11RMS
A job is executed that creates a GSAM GDG version xxxxxx.output(+1), but it gets Abend while reading, say, 5th record of input GSAM file(PS file).
When restarting the job again from the Abended step, UCC11RMS fails to recognise the output GDG version created.(i.e) the latest version of the GDG, say, Gxxx3V00.
It gives Abend U0020, with error message
CMT ENTRY INVALID.
GDG verification failed for DDname.
But if the output file is a PS file(non-GDG), the job restarts correctly from the 5th record of input, creating corresponding output records in the same output file(used before restart).
Please get me answer to the error message I get.
Note: Harcoding the version, i.e, Gxxx3V00 instead of giving (+1) while restarting also works.
Joined: 09 Aug 2008 Posts: 1631 Location: Mumbai, India
Posted: Wed Sep 15, 2010 2:59 pm Post subject:
This is actually an annoying quirk of UCC11RMS, which is part of CA-11, the rerun/restart package.
If a file has DISP=(NEW,CATLG,DELETE) and file already exists - it gives you an error in JCL-Syntax-check. However, if you code UCC11RMS (and it has to be the very first step of your Job) such syntax error won't come. But the disadvantage comes when you restart - suggest if you restart, comment out the UCC11RMS step and it should restart well.
PS. What you have mentioned in your post is "generation" and not "version". _________________ Regards,
UCC11RMS is a PROC that takes care of deleting the dataset that are to be created within the JOB.
If need to restart the job from certain step then use e,g.TYPRUN='R,JSSTEP03.PSSTEP05' so that first UCC11RMS will be executed and then job will be restarted from this step after deleting and recreating any dataset that are present after this step. Previously defined datasets will be intact. Often gives U020 if not used correctly or missing entry for that step in previous run of that job.
use &GEN and set it to +1 or +0 depending on normal run or restart...
that will get you around the problem that you have created.
something in the restart JCL, the original JCL was not done according to the book.
IBM would not implement a service such as RESTART
without taking into consideration how to handle gdg's. (and there would be examples
there is a disclaimer in the manuals describing how to design your system
not to use gdg's.
personally I would not bother searching for a disclaimer. _________________ Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum