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
 

 

What is copybook in DB2

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
praneethgokul

New User


Joined: 06 May 2005
Posts: 20
Location: Bangalore

PostPosted: Sat May 07, 2005 10:51 am    Post subject: What is copybook in DB2
Reply with quote

Hi

What is copybook in DB2?
Back to top
View user's profile Send private message

vaduguru

New User


Joined: 07 May 2005
Posts: 5

PostPosted: Sat May 07, 2005 11:16 am    Post subject:
Reply with quote

It may be dclgen...
Back to top
View user's profile Send private message
srikn81

New User


Joined: 22 Apr 2005
Posts: 2
Location: Bangalore

PostPosted: Sat May 07, 2005 7:43 pm    Post subject: Re: Copybook
Reply with quote

It may be SQLCA also.These we will include b/n

EXEC SQL
Include copybook
END-EXEC.

These are extracted during precompilation time.


Thanks & Regards
Srikanth.
Back to top
View user's profile Send private message
ovreddy

Active User


Joined: 06 Dec 2004
Posts: 211
Location: Keane Inc., Minneapolis USA.

PostPosted: Sun May 15, 2005 12:48 pm    Post subject:
Reply with quote

Hi Praneeth,

COPYBOOK is a cobol code. Generally copy books are used for common date conversions and report titles. Same copy book concept we can use to copy the host variable declarations into a cobol program. That is the COPY BOOK.

Thanks,
Reddy.
Back to top
View user's profile Send private message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Mon May 16, 2005 5:19 pm    Post subject: copybook
Reply with quote

Hi,

copybook in db2 is same as the copy book in cobol which will be expanded during pre compilation time.

normally db2 copy books are sqlca, dclgen members.

copybooks are used for error routines, data validations etc...........


pavan
Back to top
View user's profile Send private message
vinoddevkar

New User


Joined: 13 Apr 2005
Posts: 9
Location: pune

PostPosted: Mon May 16, 2005 5:36 pm    Post subject: Re: What is copybook in DB2
Reply with quote

Hi,

Copybook in DB2 is a description of working-storage variables which are declared in a Host language program...for EG: DCLGEN

EXEC SQL
INCLUDE DCLGEN MEMBER NAME
END-EXEC

MEMBER NAME IS DESCRIPTION OF WORKING STORAGE VARIBLES
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm
No new posts Geneartion of COBOL copybook structre... murugan_mf COBOL Programming 3 Fri May 20, 2016 12:48 pm
No new posts View Copybook having COPY statement i... nkumar Compuware & Other Tools 6 Mon May 16, 2016 7:28 pm
No new posts JCL Utility in accordance to the copy... meetsupriyo JCL & VSAM 3 Tue Dec 08, 2015 8:46 pm
No new posts Convert a COBOL copybook spoorni All Other Mainframe Topics 0 Fri Aug 28, 2015 7:53 pm


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