how can u nderstand the sql stmts executed successfully or not ?

Answer Posted / lu

Oh man, you have to check SQLCODE for each SQL
stament...SQLCODE = 0 it's good.... SQLCODE not = 0 it's
bad.
OR you look in SQLCA... verify this SQLERRD

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the maximum number of columns in a db2 table?

710


How does coalesce work?

577


is it compulsory commitment control in journal?

2003


List some fields from sqlca?

605


What is explain in db2?

578






How does db2 sample database connect?

563


Is db2 a mainframe?

579


How can the duplicate values be eliminated from db2 select?

619


Which component is responsible for processing sql statements and selecting access paths?

650


Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.

2316


File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?

2373


Explain correlated sub-queries.

581


What is db2 connect?

595


What happens in bind step in a db2 program?

559


How is deadlock resolved?

644