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

Explain complete concept of table handling in COBOL with an example?

2 Answers   IBM, TCS, Wipro,


why mainframe we use not like java as frontend oracle as backend. or not word excel.In there also huge ammount data stored.

2 Answers   TCS,


If we use GO BACK instead of STOP RUN in cobol?

2 Answers   Temenos,


01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.

11 Answers   FirstApex, NIIT,


1)what is use of linkage section? 2)what is difference between comp and comp-3

1 Answers   Cap Gemini,


how to check whether the open command of a sequential file is successful? or not?

2 Answers   CSC, IBM,


In which area will you utilize 88 level items in cobol?

0 Answers  


Can we move X(9) to 9(9). If yes what are the ways for doing this?

3 Answers  


I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.

3 Answers   IBM,


01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??

1 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  


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

4 Answers   L&T,


Categories