A declarations generator or DCLGEN (pronounced dekel-jin) is a table schema used by COBOL programs that work against a database, often IBM DB2 on a mainframe.