Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


where will u check for sqlcode ?

Answers were Sorted based on User's Feedback



where will u check for sqlcode ?..

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

where will u check for sqlcode ?..

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

Post New Answer

More DB2 Interview Questions

What are db2 tables?

0 Answers  


if any of the column names is provided wrong, where do you get the error(during precompilation or during Bind)

3 Answers  


When one binds a PACKAGE ( of a plan ) what package information is stored and where it is stored?

3 Answers  


How do we specify index to include or not during bind process.

0 Answers   Satyam,


What is the result of open cursor statement?

0 Answers  






What is the syntax required for the creation of a cursor?

1 Answers  


Define db2.

0 Answers  


What is the purpose of the QUIESE Utility?

1 Answers  


How many types of page locks can be held in db2?

0 Answers  


What kind of database is db2?

0 Answers  


How can you find out which query is taking lot of time to execute in cobol-db2 program ?

1 Answers   Danske,


What is catalog database in db2?

0 Answers  






Categories