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 different data types in cobol?
HOw can I get the negative sign while deduct high value from low value
how do you reference the fixed unblock file formats from cobol programs
What are the different rules for performing sort operation?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What are the rules of the move verb?
What is the Purpose of Pointer in the string?
What are the pertinent COBOL commands?
) what is the difference between AID and HANDLE AID?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What are the different open modes available in cobol?
What are the access modes of START statement?
What is the utilization of copybook in cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
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.