Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups 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
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
References
PostPosted: Thu Aug 11, 2005 12:24 pm    Post subject: Re: exception handling in ims? Reply with quote

Karthikt

Active User


Joined: 15 Aug 2005
Posts: 52

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1