View previous topic :: View next topic
|
Author |
Message |
naveen_k_aenuganti
New User
Joined: 17 Feb 2006 Posts: 1 Location: hyderabd
|
|
|
|
Hi all
problem:
The program is abended due to row not found for fetch sql code 100
so now i want to bypass the code for this even if it is sql code getting 100
with some error message writing to the file
this is urgent
thanks in advance |
|
Back to top |
|
|
prabs2006
Active User
Joined: 12 Jan 2006 Posts: 103
|
|
|
|
After the DB2 fetch
If SQLCODE = 100
<<write the err msg>>
end-if
Your DB2 return code will be stored in SQLCODE from where u can bypass the condition.
T & R
Prabs |
|
Back to top |
|
|
|