I am with COBOL background. I am very used to check...
EVALUATE TRUE
WHEN SQLCODE = 0
......
WHEN SQLCODE = +100
......
WHEN OTHER
......
END-EVALUATE
What I am wondering is how to check for SQLCODEs in JAVA? Is there any way to check that? Or there is no need to? Moreover, I am going nuts with SQLCODE= 100 situation, ie, when no rows are retrieved from the database.
I am new to JAVA. Could you guys please help me?
Thanks,
Rex
------------------
Successful people in this world are those who get up and look for the circumstances they want. If they can't find them, they make them.