what happens when a copybook variables are declared using
include statement ?

Answers were Sorted based on User's Feedback



what happens when a copybook variables are declared using include statement ?..

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

what happens when a copybook variables are declared using include statement ?..

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

what happens when a copybook variables are declared using include statement ?..

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

Post New Answer

More COBOL Interview Questions

can we write paragraph in area B .....

4 Answers   L&T,


1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?

11 Answers   Wipro,


if a file has 1000 recods how copy the records from 1 to 100 records using sort

4 Answers   IBM,


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

0 Answers  


why we are using picture clause in the cobol programs?

2 Answers  






why do u need inspect verb?

3 Answers   Patni,


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

0 Answers  


A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.

1 Answers  


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

0 Answers  


How you can delete a record from a ps file in cobol?

1 Answers  


How to retain the Duplicates in the one records?

3 Answers   CS,


What is the meaning of 'Eject' verb in cobol?

2 Answers   TCS, Wipro,


Categories