What is sqlca and why is it needed in any cobol-db2 program?



What is sqlca and why is it needed in any cobol-db2 program?..

Answer / vegeta

Sqlca is SQL communication area.SQLCA will have all the information like return code, error id, error details etc,. after the DB2 query execution.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

0 Answers  


1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?

11 Answers   Wipro,


can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)

13 Answers   CTS,


The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it

3 Answers   ADP,


What are the functions like c or c++ in cobol?

2 Answers  






what is filler and what is use of filler

3 Answers   Syntel,


Can we access the a[0] in the array ?

6 Answers   DCL, IBM,


How to execute a set of JCL statements from a COBOL program?

2 Answers   Patni, Syntel,


if you code move high-values to variable,can you move it into numeric variable or alphanumeric variable?

1 Answers   Patni,


I have a sequential file of 100 records. How do I load the records into a two dimensional array ?

3 Answers   IBM, Xansa,


If we use GO BACK instead of STOP RUN in cobol?

1 Answers   Temenos,


How may divisions are there in JCL-COBOL?

5 Answers   IBM,


Categories