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
 
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
No new posts More than 1 Include criteria for sing... Roy Ware SYNCSORT 6 Wed Sep 13, 2017 11:45 pm
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
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