Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Facing U0850 abend in my IMS code

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
Verma,Raman

New User


Joined: 13 Oct 2006
Posts: 15

PostPosted: Wed Mar 28, 2007 8:28 pm    Post subject: Facing U0850 abend in my IMS code
Reply with quote

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
View user's profile Send private message

Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Thu Mar 29, 2007 3:44 pm    Post subject:
Reply with quote

Looks like a DBD error. See this
Back to top
View user's profile Send private message
anand_smail

New User


Joined: 05 Jun 2005
Posts: 13

PostPosted: Fri Jul 20, 2007 12:35 pm    Post subject:
Reply with quote

George,

I also getting the same error.
Can you please let me know the how can I rectify it.

Thanks,
Anand.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Fri Jul 20, 2007 2:28 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Jul 20, 2007 6:55 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us