IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Different between Copy and Include


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raman.k

New User


Joined: 26 Feb 2007
Posts: 24
Location: chennai

PostPosted: Tue Apr 24, 2007 5:13 pm
Reply with quote

Hi
What is different between the COPY and INCLUDE


Bye
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Apr 24, 2007 5:25 pm
Reply with quote

See some of these previous topics:

ibmmainframes.com/viewtopic.php?t=14381
ibmmainframes.com/viewtopic.php?t=11956
ibmmainframes.com/viewtopic.php?t=11950
ibmmainframes.com/viewtopic.php?t=9974
ibmmainframes.com/viewtopic.php?t=9226
Back to top
View user's profile Send private message
rambabu
Currently Banned

New User


Joined: 18 Apr 2005
Posts: 67

PostPosted: Tue Apr 24, 2007 5:31 pm
Reply with quote

copy is expanded in compilation time and include expanded in precompilation time
Back to top
View user's profile Send private message
priyamnavada

New User


Joined: 24 Dec 2005
Posts: 52
Location: hyderabad

PostPosted: Tue May 15, 2007 5:37 pm
Reply with quote

INCLUDE is used when DB2 statements are invloved but COPY is used whenever DB2 statements are not involved.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed May 16, 2007 1:02 am
Reply with quote

Hello,

This
Quote:
INCLUDE is used when DB2 statements are invloved but COPY is used whenever DB2 statements are not involved.
is not complete.

Modules that do not even use DB2 may have "things" included. Typically an include is done prior to compilation while copy is expanded during compilation.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts DB2 Table - Image copy unload IBM Tools 2
Search our Forums:

Back to Top