Interview Questions   Tutorials   Discussions   Programs   

DB2 - What are the contents of a DCLGEN?

asked mar August 20, 2014 11:54 AM  

What are the contents of a DCLGEN?


1 Answers

answered By Mswami   0  

  • DCLGEN is a declaration generator used to generate DB2 equivalent COBOL variables called Host variables.
  • Which can be used to generate host variables with equivalent data types of DB2 columns.


  1. EXEC SQL DECLARE TABLE statement which gives the layout of the table/view in terms of DB2 data types.
  2. A host language copy book that gives the host variable definitions for the column names.
   add comment

Your answer

Join with account you already have



 Write A Tutorials
Online-Classroom Classes

  1 person following this question

  1 person following this tag

  Question tags

Asked 2 years and 3 months ago ago
Number of Views -282
Number of Answers -1
Last updated
3 years and 3 months ago ago

Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!