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 data manager?
What is null in db2?
How many databases can be created inside an instance in db2 ?
What is a db2 collection?
What is bind package and plan in db2?
What is host variable in db2 cobol?
What is the difference between db2 and oracle?
Name the various locking levels available?
What is access path in db2?
before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?
Is db2 relational database?
Explain about cursor stability?
What is a db2 tablespace?
What is db2 catalog database?
What is runstats and reorg in db2?