If we keep the DCLGEN structure for a table in a copybook
and include it in the COBOL program using the COPY
statement, will there be any impact during compilation or
at any stage of program execution?
Answer Posted / ajay ahuja
DCLGENs are processed by Precompiler.
So instead of using COPY "DCLGEN Menber", it is required to
use INCLUDE "DCLGEN member".
This is because INCLUDE copybooks are being expanded during
Precompilation and COPY "Member" will be expanded during
compilation.
Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What is cobol db2?
How to rename a table in DB2 ?
What is the default page size of buffer pools?
What is null value in db2?
In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?
What is the connection string to connect to the DB2 Database ?
Mention the length of physical storage of the given data types of db2 – date, timestamp, time
What are concurrency issues?
What do you mean by commit and rollback?
What is the use of value function?
How to find the maximum value in a column in the db2 database?
How many databases can be created inside an instance in db2 ?
run jcl for cobol+db2 pgm?.. //jobcard //step001 exec pgm=ikjeft01 //systin dd * DSNSYSTEM(--------) RUN PROGRAM(MYPGMNAME) PLAN(-----), LIB(-------), PARMS(------) /* WHAT WILL U GIVE INSIDE THE BRACKETS... WHAT IS PLAN,PACKAGE,BIND?..PLAN N PACAKGES ARE GENERATED BY ?...
What is catalog database in db2?
What are host variables in db2?