Getting U0102 Abend in IMS while testing the restart.
-
- New Member
- Posts: 6
- Joined: Mon Jul 21, 2014 6:47 pm
Getting U0102 Abend in IMS while testing the restart.
Hi all,
I've written a new COBOL-IMS program and I am testing the check poinst restart for this program. I have to force abend the program after XRST call and then the program should run fine after restart. But in restart, am facing U0102 abend while issuing XRST call. Please sahre your suggestions to avoid this.
I've written a new COBOL-IMS program and I am testing the check poinst restart for this program. I have to force abend the program after XRST call and then the program should run fine after restart. But in restart, am facing U0102 abend while issuing XRST call. Please sahre your suggestions to avoid this.
- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Getting U0102 Abend in IMS while testing the restart.
U0102 is a positioning error. That is restart is not able to re-position the control to restart point. Said that, are you using a GSAM file to restart which is created in the very first step of your unit test JCL?
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- New Member
- Posts: 6
- Joined: Mon Jul 21, 2014 6:47 pm
Re: Getting U0102 Abend in IMS while testing the restart.
Yes, the first step is IEFBR14 step which creates the GSAM file used in the JCL later?
- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Getting U0102 Abend in IMS while testing the restart.
With an educated guess - suggest - at the time of restart remove or comment out the IEFBR14 step and it SUBmit the Job, should work for you. However, if you'd show your JCL, I might be sure enough.
Usually, in checkpoint restart GSAMs are used as the "check-point restart database" to tell the system where to start, when it's a restart. Program will read the GSAM to re-position IMS - however, when you start the Job from top again (restart), program 'knows' it's a restart from the restart I-O area, as the flag must have been set for a restart - but re-allocation of GSAM makes it a brand new file. There is nothing to re-position to for IMS, once it read the newly allocated GSAM and so you get U0102.
This is not a very technical explanation, but not every explanation can be technical - but nonetheless, I think it helps you.
Usually, in checkpoint restart GSAMs are used as the "check-point restart database" to tell the system where to start, when it's a restart. Program will read the GSAM to re-position IMS - however, when you start the Job from top again (restart), program 'knows' it's a restart from the restart I-O area, as the flag must have been set for a restart - but re-allocation of GSAM makes it a brand new file. There is nothing to re-position to for IMS, once it read the newly allocated GSAM and so you get U0102.
This is not a very technical explanation, but not every explanation can be technical - but nonetheless, I think it helps you.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- New Member
- Posts: 6
- Joined: Mon Jul 21, 2014 6:47 pm
Re: Getting U0102 Abend in IMS while testing the restart.
This has worked, thanks for your help and explanation Anuj!
- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Getting U0102 Abend in IMS while testing the restart.
Glad that it has worked for you.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute