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...


Is DECLARE TABLE in DCLGEN necessary? Why it used?

Answers were Sorted based on User's Feedback



Is DECLARE TABLE in DCLGEN necessary? Why it used?..

Answer / obularaju

It not necessary to have DECLARE TABLE statement in
DCLGEN. This is used by the pre-compiler to validate the
table-name, view-name, column name etc., during pre-compile

Is This Answer Correct ?    8 Yes 1 No

Is DECLARE TABLE in DCLGEN necessary? Why it used?..

Answer / abhishek singh

DECLARE TABLE, that is table structure of DCLGEN is NOT really needed for pre-compilation. But if it is used, then any misspelled table name, column names are trapped in pre-compilation stage itself.

Is This Answer Correct ?    0 Yes 0 No

Is DECLARE TABLE in DCLGEN necessary? Why it used?..

Answer / satty

yes, it is necessary to have declare table in dclgen.
without declaring the table we cant able to define the host
variable of what data type and length of data type.... the
not needed part is
dclgen table(xxxx)
library(yyyy)
action(add)
quote
this is not needed because the declare and host variable
definition can be hard coded into the pgm.

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More DB2 Interview Questions

How can the firstname and the lastname from the emp table be concatenated to generate complete names?

0 Answers  


What are bind parameters in db2?

0 Answers  


Write a query to retrive partial string.

2 Answers  


What is drop table?

0 Answers  


How do you find the maximum value in a column in db2?

0 Answers  


How does cobol compile db2 program?

0 Answers  


What is a cursor in programming?

0 Answers  


What is the picture clause of the null indicator variable?

6 Answers  


how can you access index

4 Answers   IBM, Tech Mahindra,


What is an asychronous write?

1 Answers  


When do you use the IMAGECOPY?

4 Answers  


How to create a table using embedded sql?

1 Answers  


Categories