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 |
How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?
How to display the index.(displacement from an array)
how will you define vsam file in select clause?
what is sync clause?
how will u pass dadta to cobol+db2 program...?
what is amode(24), amode(31), rmode(24) and rmode(any)?
COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'
if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?
Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?
Determine the total no of bytes in the following. 01 rec1. 02 a pic x(6) 02 b redefines a. 03 c occus 6 times pic 9. 02 d occurs 6 times pic 9. 03 e pic x(5) 03 f pic 999.
given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?