What is the difference between copy and include in cobol?
Answer / 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 |
01 b pic +9(4) How many bytes it will take for storage???
what is the difference between PA & PF keys?
what is lrec=f,what is difference between f,fb,v,vb?what is default value?how do we came to know that records are in f,fb,v,vb?
What are the different data types available in COBOL?
01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would be stored in b.
88 class is used for
I need to compare two VSAM files, both having 'number' as key. If there is a matching record, write the data into another VSAM file. How will it be possible.
can we use full outer join with cursors declared in cobol program?
How many maximum number of procedures can we write in one COBOL program?
What are the access modes of START statement?
1.Can we define condition-name conditions in FD entry.
Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.