can I copy book which contain db2 statment in procedure
divion?
Answer Posted / siddhesh
You can if you are using an integrated COBOL compiler. In
an intergrated COBOL compiler the DB2 precompiler, CICS
translator and the COBOL compiler work together. You can
CICS and/or DB2 statements in a copybook.
If you are using a standalone compiler, you cannot include
SQL statements in COPY.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How do you get the data to code the BMS macro?
How do we get current date from system with century in COBOL?
What is the compute verb? How is it used?
Can you please let me know the centre name of INS certification in Kolkata.
how to refer the data field?
Which mode is used to operate the sequential file?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
Can we redefine the field of x(200) to less than 200?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is a report item?
What are declaratives and what are their uses in cobol?
Why occurs cannot be used in 01 level in COBOL?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
For rewrite, why is it mandatory that file needs to be opened?
What is the difference between Global and External Variables?