by DB2 Guy » Wed Jan 01, 2014 7:52 pm
DCLGEN, in a very basic sense, is just a (COBOL) copybook equivalent of a table structure. You can even write COPY some-dclgen and that will work. But as DCLGEN is generated using DB2 it is usually included using INCLUDE DCLGEN-name, just to "show" that this piece of information belong to DB2, though that's' not mandatory as has been said.
DCLGEN, in a very basic sense, is just a (COBOL) copybook equivalent of a table structure. You can even write COPY some-dclgen and that will work. But as DCLGEN is generated [i]using DB2 [/i] it is usually included using INCLUDE DCLGEN-name, just to "show" that this piece of information belong to DB2, though that's' not mandatory as has been said.