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
How to test SQL -911 error while developing COB-DB2 program
What is a buffer in memory?
How do we specify index to include or not during bind process.
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
When the like statement is used?
How to retrieve rows from a db2 table in embedded sql?
How do I add a column to a table in db2?
What is ibm db2 used for?
What is cobol db2?
How to execute stored procedure in db2 command editor?
How do I import a csv file into db2?
Explain the function of data manager.
Mention some fields that are a part of sqlca.
Is db2 a mainframe database?
Are views updateable?