Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Diff b/w Copy & ++Include Statements

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
Ananya

New User


Joined: 26 Feb 2004
Posts: 21
Location: Chennai

PostPosted: Wed Dec 01, 2004 4:40 pm    Post subject: Diff b/w Copy & ++Include Statements
Reply with quote

I have seen coders using Copy Statement in certain pgms & few more using ++Include <member>..

Can anyone please tell me the basic diff b/w them and also

What instances are they used...

Eg's for each would be very helpful.

Thanks in advance.
Back to top
View user's profile Send private message
References
rick

Moderator


Joined: 18 Jun 2004
Posts: 61
Location: Kuzhithurai

PostPosted: Wed Dec 01, 2004 7:23 pm    Post subject:
Reply with quote

Hi,

When u use Copy statement the member will be included during the compailation.

when u use Include statement member will be included during the precompailation time.
Back to top
View user's profile Send private message
anuradha

Global Moderator


Joined: 06 Jan 2004
Posts: 257

PostPosted: Thu Dec 02, 2004 2:24 pm    Post subject:
Reply with quote

Hope this is already discussed over here:

http://ibmmainframes.com/expertforum/viewtopic.php?t=280
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1