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 physical storage length of timestamp data type?

641


List down the types of triggers in the db2 database?

588


Mention the definition of cobol in varchar field.

687


What is host variable?

593


List out the buffer pools in db2

626






How to check sequence on a table in db2?

598


What are bind parameters in db2?

611


What parameters are used to control the free space in DB2?

642


What is rct?

751


What is the physical storage length of the data types date, time, and timestamp?

604


For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.

658


File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?

2375


What is the difference between plan and package in db2?

569


How do I connect my db2 database to ibm?

600


When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?

3116