View previous topic :: View next topic
|
Author |
Message |
Verma,Raman
New User
Joined: 13 Oct 2006 Posts: 15
|
|
|
|
Hi,
I have a COBOL code which uses IMS Db calls to fetch some data. The calls abend the program with a abend code U0850 for some of the IMS segment key values. The key values seem to be alright to me but i am not sure if this is IMS DBD related issue.
Strangely, the same read call works fine for some of the other key values.
Please advise what is U0850 and what I can do to rectify this.
Thanks,
Raman |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Looks like a DBD error. See this |
|
Back to top |
|
|
anand_smail
New User
Joined: 05 Jun 2005 Posts: 13
|
|
|
|
George,
I also getting the same error.
Can you please let me know the how can I rectify it.
Thanks,
Anand. |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Quote: |
Programmer response:
Analyze the DBDs you use. Ensure that the DBD you used to create the database and the DBD you used to update the database were the same.
|
We will need the DBDs you used before we can advise further. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Hi Raman,
Whenever you issue an IMS call, you must immediately check the PCB area for a valid return call. For instance, if you are issuing any kind of get unique call, you must check for spaces. If you do not have spaces, then your logic should be what to do next. If it happens to be a qualified path call and you get a GE, then you need to look at the keyfeedback area and the segment level returned - it will tell you the key value that you are searching and the last segment level successfully returned. The most important thing to remember in IMS - is POSITION - where in the heck am I? You will always be positioned at your last successful call.
If you do not check your return status call after EACH call, IMS gets very upset - it gets lost. I suggest you look at your code. |
|
Back to top |
|
|
|