where will u check for sqlcode ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / guru
If you dont include SQLCA, Define SQLCODE and SQLSTATE as
working storage variables and This will suffice
Is This Answer Correct ? | 2 Yes | 0 No |
What is filter factor?
Explain the function of data manager.
when does the SQL statement gets executed when you use cursor in the application programming ?
I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.
WHAT IS NULL INDICATOR ? WERE IS THIS USED? AND IF IT IS USED IN FILES CONCEPT? HOW DO WE USE IT?
Define predicate?
What is DCLGEN ?
What is DB2 (IBM Database 2)?
what is SPUFI ?
Mention the different locking levels that are available in db2.
How to find last record before record through SQLRPGLE?
WHAT IS MEANT BY COMMIT COMMAND?