IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

exception handling in ims?


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Check data with Exception Table DB2 0
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
No new posts File Handling COBOL Programming 9
No new posts Handling the numeric data in unstring... COBOL Programming 18
No new posts SORT for dynamic trailer record + CSV... DFSORT/ICETOOL 14
Search our Forums:

Back to Top