Hi All,
I am working on mainframe..
I have a cobol-db2 program which is calling another cobal-db2 lowlevel program.
The lowlevel program is getting failed with the -911 on some cursor declared in it
So the control is back to the main program.
I need to check the SQLCODE of the lowlevelprogram in the high level program,but here the problem is the lowlevel program is not passing the information about the SQLCODE to the main program.
My query is, is there is any way to get that lowlevel cobol program SQLCODE with out changing the lowlevel program?
like if the DB2 is storing the latest executed query result in any varible or table kindof thing?
Please reply me if you know...
Thanks in advance