How do you prepare a COBOL + DB2 program from coading till
execution ?

Answer Posted / kaushik datta

1.Code the program with all DB2 statements inside EXEC
SQL/END-EXEC statements
2.Compile the program with suitable compile JCL/ENDEVOR.In
endevor give proper processor group
3.Package Bind the program. M.5.1.5.4
4.Create proper JCL to run that.You can you IKJEFT01

5. Run the JCL.Your program loadb should be in the library
mentioned in the STEPLIB of run JCL

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is reorg?

619


What is difference between alias and synonym in db2?

645


What is the advantage in De-normalizing tables in DB2?

748


by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?

7518


Explain about mirror activator disk mirroring?

560






Explain about rct.

654


How is a typical db2 batch pgm executed?

642


What is netezza database?

573


what is the sqlcode -501

11308


Explain about cursor stability?

623


What is the syntax for seeing the columns and data types of a table in the db2 database?

578


When the like statement is used?

640


What db2 400?

679


Mention data types used in db2 ?

679


Mention some fields that are a part of sqlca.

603