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

Copy & include statements in Procedure division


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
maheshurstd

New User


Joined: 16 Feb 2006
Posts: 14

PostPosted: Mon Jun 26, 2006 12:26 pm
Reply with quote

Hi,

what are the contents present in the following code

PROCEDURE DIVISION.
PARA1.

INCLUDE MEMBER NAME ?
COPY MEMBER NAME ?

Thanks in advance

Regards

Mahesh
Back to top
View user's profile Send private message
Prajesh_v_p

Active User


Joined: 24 May 2006
Posts: 133
Location: India

PostPosted: Mon Jun 26, 2006 12:40 pm
Reply with quote

Include( exec sql include *** end-exec) is usually used to include table dclgens that contains the column descriptions of the table(which will be used for column check while precompilation) and host variable declarations for the table columns( that can be used as host variable in ur program).

Copy statement can add any copybooks from your copy book library. copybook can be either a piece of code or a part of working storage declaration..(anything that comes as part of the code as it gets pasted to the code).

Please correct me If my understanding is wrong.. icon_smile.gif
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
Search our Forums:

Back to Top