Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Different between Copy and Include

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Different between Copy and Include
Reply with quote

Hi
What is different between the COPY and INCLUDE


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

superk

Moderator Team Head


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

PostPosted: Tue Apr 24, 2007 5:25 pm    Post subject: Re: Different between Copy and Include
Reply with quote

See some of these previous topics:

http://ibmmainframes.com/viewtopic.php?t=14381
http://ibmmainframes.com/viewtopic.php?t=11956
http://ibmmainframes.com/viewtopic.php?t=11950
http://ibmmainframes.com/viewtopic.php?t=9974
http://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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed May 16, 2007 1:02 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us