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

We know that size of redefine and redefining need not to be same..Then does the below case true 01 ws-date pic 9(6). 01 ws-redf-date REDEFINES ws-date 05 ws-year pic 9(4) 05 ws-mon pic 9(2) 05 ws-day pic 9(2)

1 Answers   Cap Gemini,


what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?

4 Answers   IBM,


How can we pass data from cobol to JCl?

7 Answers   ADP, Amdocs, IBM,


COMP field occupy ?

2 Answers  


Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all

5 Answers   TCS,






What are the different open modes available in cobol?

0 Answers  


wht happens if we dnt give scope terminator ?

4 Answers   TCS,


hie everyone.i just completed my b.tech in electronics and joined mainframes course.am i doing right course for my better future?please help me with your suggestions.ill be very thankful to you guys.

2 Answers  


How may divisions are there in JCL-COBOL?

5 Answers   IBM,


How can we know that cobol program is using report file or simple file....?

4 Answers  


how to resolve the file status 47.......

1 Answers   MMM,


What are the different rules to perform a Search?

0 Answers  


Categories