Answer Posted / shaan
Be sure to include sqlca in working storage section.
Then you can check sqlcode from the copybook variable SQLCODE.
Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What does db2 mean?
Give a brief description of db2 isolation levels?
What is db2 stogroup?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?
How to execute stored procedure in db2 command editor?
What is drop table?
I HAVE 500 ROW TO UPDATE I WOULD LIKE TO USE ROLLBACK ALONG WITH COMMIT.WHAT IS THE SYNTAX TO CODE COMMIT AND ROLLBACK FOR EVERY 100 ROWS.AND HOW THE CURSOR ROLLBACK TO THE LAST COMMITTING POINT.
What is declare cursor?
In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?
How to find the maximum value in a column in the db2 database?
what is the role of the cursor in db2?
How is a typical db2 batch pgm executed?
Is db2 a database?
What are host variables in db2?