What is difference between copy and include?

Answers were Sorted based on User's Feedback



What is difference between copy and include?..

Answer / s.v.venkata sivaprasad

both are same use to copy predefind structure or text in to
the program.
but copy will use in compilation
where as include will use in pre-compalation.
if u have any doubt mail me prasad.itcr@gmail.com

Is This Answer Correct ?    18 Yes 0 No

What is difference between copy and include?..

Answer / rajesh_m13

Copy Will expand at compilation time.
Include will expand at pre-compilation time.

Is This Answer Correct ?    10 Yes 0 No

What is difference between copy and include?..

Answer / prabhat

As stated above, INCLUDE expands in precompilation and COPY
in compilation.

If that is the case, why we require INCLUDE, can't COPY be
used instead? Here is the reason:

DB2 precompiler can't process COPY statements, not it
connect to DB2 directories to validate the Table Attributes
(Columns, Name, Data Type) and thus uses the DCL statements
embedded in INCLUDE.

Is This Answer Correct ?    7 Yes 0 No

What is difference between copy and include?..

Answer / guess

both can be used for same including the copy structures...
copy will be expand during compilation and include will be
expand during pre compilation...

Is This Answer Correct ?    0 Yes 0 No

What is difference between copy and include?..

Answer / shabukumar

Both are used for copying the data.

However you cannot use copy verb in between exec and end-
exec.

so Include was used instead of copy.

Is This Answer Correct ?    4 Yes 5 No

What is difference between copy and include?..

Answer / ganesh

copy will used in compilation of pgm and include is used
before execution

Is This Answer Correct ?    0 Yes 8 No

Post New Answer

More CICS Interview Questions

Why must all CICS programs have a Linkage Section ?

4 Answers  


Why is it important not to execute a STOP RUN in CICS ?

4 Answers   IBM,


If you use the OPTIMIZE compiler option the size of the program can be reduced by 5 to 10%(True or False)

2 Answers  


What is the difference between a RETURN with TRANSID and XCTL ?For example prog. A is issuing REUTRN with TRANSID to prog B. Prog A. is issuing XCTL to prog B?

3 Answers  


Mention the 5 fields available in the symbolic map for every ?NAMED? field in the DFHMDI macro? Give a brief description of these fields (Not exceeding a line).

2 Answers   IBM,






I want to know what exactly the STOPPER field does with example. Please help.

1 Answers  


What is commarea (communications area)?

0 Answers  


NAME SOME TRANSLATOR AND COMPILE OPTION AND EXPLAINE THEIR MEANING

1 Answers   Fujitsu,


What do the keywords MAPONLY and DATAONLY mean?

2 Answers  


Explain the difference between exec cics handle condtion and an exec cics ignore command?

0 Answers  


Define an aey9 abend?

0 Answers  


What are the steps you go through to a create a BMS executable?

2 Answers   IBM,


Categories