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 |
Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER
Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.
we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?
COMP field occupy ?
What is the LINKAGE SECTION used in COBOL?
which one is the best of com and com-3.using of real time ?
What is the difference between NEXT SENTENCE and CONTINUE?
How many maximum number of procedures can we write in one COBOL program?
i want to store 20 digits . h will u do it in cobol ?
What is the significance of the PROGRAM-ID paragraph? If this name doesnt match with the name of the COBOL program, does it make a difference? Is the name specified in the PROGRAM-ID paragraph used as a name for the load module or any such thing?
in cobol perform stmt whether it first checks the condition or not
I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.