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
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Can a Search can be done on a table with or without Index?
how to refer the data field?
Write a program to explain size error.
What is the difference between goback, stop run and exit program in cobol?
In COBOL, what is the different between index and subscript?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Name some of the examples of COBOl 11?
Which division and paragraphs are mandatory for a COBOL program?
Differentiate between structured cobol programming and object-oriented cobol programming.
How are the next sentence and continue different from each other?