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


How to define the data items to receive the fetch items for
the SQL?

Answers were Sorted based on User's Feedback



How to define the data items to receive the fetch items for the SQL?..

Answer / mehdee

Example:
EXEC SQL
FETCH AA_CURS
INTO :Host-name1, Host-name2, ...
EXEC-END

Note: Host-names listed are one to one related to the
Columns at DECLARE AA_CURS, and are INCLUDEed from it's
DB2 DECLGEN name in the program.

Is This Answer Correct ?    2 Yes 0 No

How to define the data items to receive the fetch items for the SQL?..

Answer / sadiq afroze

Using the DSECT, followed by lines of - 'data items DS
datatype'.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More DB2 Interview Questions

When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?

0 Answers   Broadridge,


What is query_cache_limit?

0 Answers  


In cursor program perform para varying until 1 by 1 fetch para cursor------close para in the blank what will come for confirming in the database?

1 Answers   HCL,


Explain package in db2 and its advantages?

0 Answers  


what is dynamic cursor?gives syntax for this?

1 Answers   TCS,


Request to database but database is not available so what is was abend is raised?

2 Answers   UST,


What is referential integrity?

5 Answers  


Where can you declare a cursor in a cobol-db2 program?

0 Answers  


In cursor program-1 can we create another cursor program-2 inside the cursor program-1.If yes how/no why ?

2 Answers   Wipro,


What is cursor stability?

1 Answers  


What is the result of open cursor statement?

0 Answers  


what is REORG? what is the use?

4 Answers  


Categories