Joined: 24 Jul 2006 Posts: 99 Location: Los Angeles
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.