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
 

 

copybook doubt- Use of "++include"

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
iknow

Active User


Joined: 22 Aug 2005
Posts: 413
Location: Colarado, US

PostPosted: Wed Sep 28, 2005 9:30 am    Post subject: copybook doubt- Use of "++include"
Reply with quote

Hi folks,
I have a code which contains "++include" . Tell me what is the use of "++include".
Back to top
View user's profile Send private message

Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Wed Sep 28, 2005 4:29 pm    Post subject: Re: copybook doubt- Use of "++include"(VS-COBOL II
Reply with quote

++INCLUDE is a feature of some CA products (Panavalet, Endevor..) which is used to incorporate external text into the source program.
Back to top
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 413
Location: Colarado, US

PostPosted: Thu Sep 29, 2005 7:11 am    Post subject: ++include
Reply with quote

Thanks kevin... Now I get a clear understanding and usage of ++include.
Back to top
View user's profile Send private message
ravikumar15

New User


Joined: 27 Mar 2006
Posts: 64

PostPosted: Thu Oct 25, 2007 5:31 pm    Post subject:
Reply with quote

Can it be a copy book. In some of the program they are using ++INCLUDE for a copy member. In some other programs they are using COPY statement for the same copy member. Is both statements are same. In case of ++INCLUDE, when will it be expanded.

Thanks & regards,
Ravi
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Oct 25, 2007 5:56 pm    Post subject:
Reply with quote

ravikumar15 wrote:
Can it be a copy book. In some of the program they are using ++INCLUDE for a copy member. In some other programs they are using COPY statement for the same copy member. Is both statements are same. In case of ++INCLUDE, when will it be expanded.

Thanks & regards,
Ravi

A bad practice, ++INCLUDE is expanded by PANAVALET before the source reaches the compilier but copy is expanded by the compiler.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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
No new posts Doubt in MFS abdulrafi IMS DB/DC 2 Fri Oct 21, 2016 3:09 pm
No new posts Amount field is getting corrupted whe... thesumitk SYNCSORT 5 Tue Oct 18, 2016 8:20 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm


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