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

is DCLGEN necessary for all the DB2 Tables?


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

New User


Joined: 14 Sep 2006
Posts: 4

PostPosted: Fri Sep 15, 2006 10:56 am
Reply with quote

Hi,

What is the need to create DCLGEN member for each table?

Can anyone elaborate its use?

Regards,
Anitha.
Back to top
View user's profile Send private message
neelesht

New User


Joined: 24 Jul 2006
Posts: 99
Location: Los Angeles

PostPosted: Fri Sep 15, 2006 11:45 am
Reply with quote

Anitha,

DeCLarations GENerator is used to create the host language copy books for the table definitions.
It is not mandatory to use DCLGEN.
Using DCLGEN, helps detect wrongly spelt column names etc. during the pre-compile stage itself ( because of the DECLARE TABLE ). DCLGEN being a tool, would generate accurate host variable definitions for the table reducing chances of error.

Please let me knw if I am wrong.

Thanks,
Neelesh
Back to top
View user's profile Send private message
Prajesh_v_p

Active User


Joined: 24 May 2006
Posts: 133
Location: India

PostPosted: Fri Sep 15, 2006 4:56 pm
Reply with quote

This would be helpful..

ibmmainframes.com/viewtopic.php?t=12975
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 Need to fetch data from so many DB2 t... DB2 9
No new posts How to: PK does not exist in several ... DB2 6
No new posts Discrepancy b/w SYSIBM tables and BMC... DB2 0
No new posts SYSIBM Tables Query DB2 8
No new posts Column names in SYSIBM tables DB2 5
Search our Forums:

Back to Top