what happens when a copybook variables are declared using
include statement ?
Answers were Sorted based on User's Feedback
Answer / shaan
Include is a precomplier statement and so the variables
would be expanded during precompilation time rather than at
compilation time.
| Is This Answer Correct ? | 14 Yes | 1 No |
Answer / talluri
copy and include stmt are prediffiend texts, but copy will
expand compilation time, but include will expand
precompilation time
correct me if any thing wrong
Talluri
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / chandrababu naidu
we should write include in between "exec and end-exec",
only precompiler will identify include.
working-storage section.
copy emptable.
or
exec sql
include emptable
end-exec.
| Is This Answer Correct ? | 1 Yes | 2 No |
Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?
how many divisions are there in cobol
What COBOL construct is the COBOL II EVALUATE meant to replace?
How to retrive the 9th records out of ten records using the cobol program ?
What is tne need to use sub programs in Cobol?
how we separate the cobol cics statements from cobol&cics programming?
What guidelines should be followed to write a structured Cobol program?
How would the number +1234 be stored if a PIC clause of PICTUREs9(4) comp-3 were used?
What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript why not Index,why u choose Subscript only? 2.if u use Index why not Subscript,what abt Displacement?
how do you define single dimensional array and multidimensional array in your cobol?
What is the difference between Global and External Variables?
In a COBOL program, 2 tables TABLE1 and TABLE2 are defined that are indexed by INDEX1 and INDEX2 respectively. Can we use INDEX1 with TABLE2 and INDEX2 with TABLE1?