where will u check for sqlcode ?

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


Please Help Members By Posting Answers For Below Questions

before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?

1937


What is collection in db2 bind?

794


How does cobol compile db2 program?

830


Define db2.

888


What is performance tuning db2?

860


What is difference between isnull and coalesce?

831


How can record locking be achieved in those DB2 versions which do not support it?

851


How do I delete a column in db2?

888


What is the syntax for creating a table in the db2 database?

894


What is the function of logging in the db2 database?

880


How do you pull up a query which was previously saved in qmf?

931


What is db2 stogroup?

911


How do you select a row using indexes in db2?

870


What are the different types of base tables?

791


What is the usage of open cursor command?

811