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
Is it possible to create an Instance in DB2 using DB2 Control Center ?
Where can you declare a cursor in a cobol-db2 program?
What are catalog tables in db2?
What is bind plan?
What is ibm db2 connect?
What is db2 bind?
What is role in db2?
Define sqlca.
What is a db2 schema?
What is the difference between nvl and coalesce?
What are the prerogatives?
What is the picture clause of null indicator variable?
Can we update view in db2?
What is the result of open cursor statement?
what is the sqlcode -501