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

copybook doubt- Use of "++include"


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
iknow

Active User


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

PostPosted: Wed Sep 28, 2005 9:30 am
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
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: 411
Location: Colarado, US

PostPosted: Thu Sep 29, 2005 7:11 am
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: 68

PostPosted: Thu Oct 25, 2007 5:31 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Newbie Stuck on "Duplicate Datas... TSO/ISPF 5
No new posts Trying to change copybook in online c... CICS 4
Search our Forums:

Back to Top