can I copy book which contain db2 statment in procedure
divion?
Answer Posted / vikas pujar
No. Because the Precompiler will comment out all the SQL statements and replace them with equvi call statements. And if use DB2 statment in Copy ,during pre compilation the statements in the copybook wont be commented out.. they will get expanded during compliation of modified source code and we will get Complilation error there.
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
what is difference between cobol and cobol/400
What is cobol?
Difference between cobol and cobol-ii?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What are various search techniques in cobol? Explain.
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
what is the use of outrecord?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
how do you reference the fixed unblock file formats from cobol programs
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is amode(31)
What are the different open modes available in cobol?
how to convert the recors form vsam file to db2 table tru file aid
how do you reference the ksds vsam file formats from cobol programs