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 are the different rules of SORT operation?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is the Purpose of Pointer in the string?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What are the various section in data division and briefly explain them.
how do you define single dimensional array and multidimensional array in your cobol?
i want a program using by if, evaluate , string, unstring, perform, occurs?
Write a program that uses move corresponding.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
How many bytes S(8) comp field occupy and its maximum value?
how do you reference the rrds file formats from cobol programs
What are the different rules for performing sort operation?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Write a cobol program making use of the redefine clause.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?