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


Can we declare DB2 HOST variable in COBOL COPY book?

Answers were Sorted based on User's Feedback



Can we declare DB2 HOST variable in COBOL COPY book?..

Answer / a.roselin

No, We cant declare it in Cobol copy book, why because,
Copy book is not expand during the precompilation, But if
you declare it in DCLGEN, it will be expanded during
precompilation.

Is This Answer Correct ?    6 Yes 8 No

Can we declare DB2 HOST variable in COBOL COPY book?..

Answer / arup

the below code is working fine....
COPY DSBPRDDS.

DSBPRDDS is a DCLGEN.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More DB2 Interview Questions

what happend with out using Commit,when closing cursor and program?

5 Answers   CSC,


How can you classify the locks in db2?

0 Answers  


Consider that a package is bound into 2 different collections and the PKLIST option specifies both the collections. If the collection id is not specified in the program while executing the SQL query, then when the DB2 system will search the package list, which collection will it pick up or will it give an error/abend?

1 Answers  


what is utility for parm lib

0 Answers   IBM,


How to test SQL -911 error while developing COB-DB2 program

1 Answers   Satyam,


What is package in cobol db2?

0 Answers  


what is the use of bind parameter, Replace?

5 Answers   IBM,


What is db2 plan table?

0 Answers  


what are extents?

5 Answers  


db2 maintains information about the data... a.in tables. b.in a set of tables known as db2 catalog. c.in db2 database. d.none of the above.

1 Answers  


i know the stpes 2 create an executable CICS/DB2 cobol code. 1. DB2 Precompiler converts the SQL Statements into COBOL API statements and creates another member with Acess plans. CodeA results in CodeB (code with API calls) & CodeC ( Access Plans ) 2.Code B is compiled/linked 2 create an exceutable.(codeE) 3.Now CodeC is binded to the database on which CodeE will be run. Can somebody provide me the sample JCLs for precompile/compile/link/bind.

0 Answers  


What is the use of DELGEN in DB2? Can we Write the program with out using it?

6 Answers   Cap Gemini,


Categories