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 the reason behind not using select * in embedded sql programs?

852


is it compulsory commitment control in journal?

2225


How to create db2 table in mainframe?

860


what is the role of the cursor in db2?

817


What is null indicator in cobol db2?

784


What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?

991


What is a collection in db2?

777


What is runstats and reorg in db2?

1021


SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected

11381


Define buffer pool.

804


What kind of database is db2?

783


What are the rules for db2 programming?

863


Explain about open switch business continuity software?

832


What is db2 bind?

815


What is the max length of sqlca?

964