Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts More than 1 Include criteria for sing... Roy Ware SYNCSORT 6 Wed Sep 13, 2017 11:45 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us