What is the difference between copy and include in cobol?
Answer Posted / srinivas
As far as I know, we use INCLUDE in COBOL-DB2 programs to copy the contents of the DCLGEN to the program. The only difference between INCLUDE and COPY is that while INCLUDE is executed at pre-compile time (by the SQL compiler), COPY is executed at compile time(by the COBOL compiler)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What type of SDLC u followed? Why?
how to convert the recors form vsam file to db2 table tru file aid
how do you reference the variable block file formats from cobol programs
How do you reference the fixed block file formats from cobol programs
What kind of error is trapped by on size error option?
What is cobol?
For rewrite, why is it mandatory that file needs to be opened?
explain sorting techniques in cobol program?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
How arrays can be defined in COBOL?
What are the different rules to perform a Search?
What the difference is between continue and next sentence?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
How many sections are there in data division in COBOL?
How do u write test cases?