Karthikt
New User
Joined: 15 Aug 2005 Posts: 51
|
|
|
|
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 |
|