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
what is a corelated subquerry?
What is the use of dclgen in db2?
What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?
What is a db2 cursor?
What are bind parameters in db2?
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?
Are view updateable?
How do I delete a table in db2?
How to take backup of table in db2?
How do you find the maximum value in a column in db2?
Which command is used to connect to a database in DB2 ? Give the Syntax.
What is access path in db2?
What happens in bind step in a db2 program?
What is buffer pool?
What are the benefits of using the db2 database?