Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?

Answers were Sorted based on User's Feedback



If we keep the DCLGEN structure for a table in a copybook and include it in the COBOL program usin..

Answer / 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

If we keep the DCLGEN structure for a table in a copybook and include it in the COBOL program usin..

Answer / tom

DCLGENs need to be processed by the precompiler. The
precompiler will comment out the SQL and insert the
appropriate COBOL definitions.

If the COPY directive is used, the COBOL compiler will flag
the SQL with syntax errors.

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More DB2 Interview Questions

How do I create a table MANAGER (EMP-NO, MANAGER) where MANAGER is a foreign key which references to EMP-NO in the same table? Give the exact DDL.

3 Answers  


Can you define an Index if the table size less than 10 PAGES?

1 Answers   IBM,


What is the use of commit in db2?

0 Answers  


What is image copy?

1 Answers   Virtusa,


cobol-db2 runjcl please?

2 Answers   DELL,


max number of columns in a db2 table?

6 Answers  


DB2 is a A) data base/data communication system B) data base C) RDBMS D) Programming language

4 Answers   Accenture,


In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?

0 Answers  


What is the size of a data page?

2 Answers   IBM,


What is cursor stability?

1 Answers  


What is package versioning? Please give an example.

1 Answers  


What will the DB2 optimizer do?

2 Answers  


Categories