Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
exception handling in ims?

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

New User


Joined: 10 Mar 2005
Posts: 11

PostPosted: Thu Aug 11, 2005 12:24 pm    Post subject: exception handling in ims?
Reply with quote

hi
plz let me about this exception handling in ims?
Back to top
View user's profile Send private message

Karthikt

New User


Joined: 15 Aug 2005
Posts: 51

PostPosted: Mon Aug 15, 2005 11:51 am    Post subject:
Reply with quote

Each and every IMS call will have cal name (GU, GN etc), I/O area, PCB, SSA (not used in case of delete call).

PCB contains several information and one of it called STATUS-CODE.

After performing a IMS call, you can check for status-code validation.
If a IMS call successfully executes, it will return STATUS-CODE as spaces. Other STATUS-CODES you can have are GE (Segment not found), GB (End of database) etc. Exceptionally handling can be performed by using WHEN OTHER clause in the EVALUATE statement for other status codes for which you want to ABEND (Call abend routine). For eample, IA which corresponds to authorization failure, where your program does not have authorisation to access the IMS database.

Contact me for more information
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 Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts ON ERROR handling soundarr PL/I & Assembler 2 Wed May 11, 2016 3:37 am
No new posts Facing xml parser exception 798761 murugan_mf COBOL Programming 17 Sat Apr 30, 2016 1:27 pm
No new posts Exception Handling in Native Stored P... Mariraj DB2 1 Thu Feb 25, 2016 4:08 am
No new posts S0C7 Data Exception Error Niti Srivastava ABENDS & Debugging 4 Mon Feb 23, 2015 5:40 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us