What is DCLGEN?

DCLGEN stands for declarations generator; it is a facility to generate DB2 sql data structures in COBOL or PL/I programs.

Showing Answers 1 - 13 of 13 Answers

burelamanohar

  • Feb 6th, 2007
 

DCLGEN stands for DeCLaration GENerator.It is an IBM provided function which generates INCLUDE members for DB2 tables for use in COBOL and PL/1 programs. These INCLUDE members contain SQL table declarations and working storage structures.

  Was this answer useful?  Yes

anshu

  • May 21st, 2007
 

We are reading table fields in host variables. The collection of this host variables i.e copybook is called DCLGEN.

Neeru Verma

  • Jun 13th, 2007
 

DCLGEN is Declarations Generator which is  used to create the host language copy books for the table definitions

sunil bansal

  • Sep 11th, 2007
 

It is the place where the complete data field of the table is present and it is easy to use the data name when ever required. Without dclgen also one can run the program but he has to declare all the things in the working-storage section.

RamehNaiduKVA

  • Oct 25th, 2007
 

In COBOL DB2 programs the host variables are needed for the column names of the tables. This can be done by a DB2 utility called DCLGEN Declaration Generator. This is primarily a copybook of host variables and also contains table structure and helps in programming reference. We can code this manually but using DCLGEN we can eliminate the mistakes by replacing all underscores in column names into – (hyphens).

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions