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

wht r the requirements for writing a cobol-db2 pgm ?

Answer Posted / tej

1. Declare the table structure you wanted to access in
working storage section or linkage section.(Can use DCLGEN
here).
2.Declare host variables in Working storage section.(if
DCLGEN used no need of declaring these host variables
separately).
3.Include SQLCA.
3.Now you can add the embedded SQL statements to your program.

Please add if i missed any other info..

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a corelated subquerry?

1167


What is the use of dclgen in db2?

1135


What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?

1313


What is a db2 cursor?

1107


What are bind parameters in db2?

1095


Suppose pgm A calling Pgm B .Pgm B has some Db2 program. at the time of compilation should plan and package will be created for both A and B or only B? What is the concept?

8373


Are view updateable?

1091


How do I delete a table in db2?

1122


How to take backup of table in db2?

1121


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

1152


Which command is used to connect to a database in DB2 ? Give the Syntax.

1148


What is access path in db2?

1042


What happens in bind step in a db2 program?

1010


What is buffer pool?

1159


What are the benefits of using the db2 database?

1288