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

In my table having 100 Rec. How can I delete the 7th row?? (we don't know what is data inside the table)

9 Answers   IBM,


I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.

0 Answers  


what is a plan and how do you refer the plan in the program?

2 Answers   Xansa,


Before you give the explain statement, what are the prerogatives?

0 Answers  


What are column-name qualifiers used?

1 Answers  


How and when does the db2 enforces the unique key?

0 Answers  


where can we use index and subscript ? with example ?

3 Answers   CTS,


How can deadlocks be resolved?

0 Answers  


How does coalesce work?

0 Answers  


What is the max length of sqlca?

0 Answers  


How does one bind 2 versions of a CICS transaction with the same module name in two different CICS regions that share the same DB2 subsystem?

2 Answers  


Can we use select * statement in cobol program without giving field names ???

3 Answers   Zensar,


Categories