wht steps we need will coding cobol and db2 pgm ?
Answer Posted / yuvaevergreen
step1>>put all the sql statements in cobol program inside
exec sql and end-exec.Because precompiler identifies using
sql using these keywords.
step2>>all sql statements should be within 12th and 72th
column in program.
step3>>Include the dclgen if created or use the host
variable declaration name and sqlca.
step4>>precompile,compile,bind,linkedit and execute.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is data manager?
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
What are db2 tables?
Describe major components of db2?
What is a system catalog table in db2?
What is clone table?
Can one database have multiple instances?
can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well
I HAVE 500 ROW TO UPDATE I WOULD LIKE TO USE ROLLBACK ALONG WITH COMMIT.WHAT IS THE SYNTAX TO CODE COMMIT AND ROLLBACK FOR EVERY 100 ROWS.AND HOW THE CURSOR ROLLBACK TO THE LAST COMMITTING POINT.
What is concurrency?
what are bind concepts in db2 cobol?
How can you count the number of rows from a table tab?
How to view db2 table structure?
Before you give the explain statement, what are the prerogatives?
What is image copy in db2?