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 precompiler in db2?

793


What is a db2 collection?

816


Explain correlated sub-queries.

792


How do you eliminate duplicate values in db2?

924


Name the lockable units in DB2?

919


What is release/acquire in bind?

885


What is a bind in db2?

781


How to create db2 table in mainframe?

876


What is schema in db2?

793


How is the value function used?

859


What is bind plan?

822


Can we update view in db2?

788


Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....

2136


What is page size in db2?

755


Comment whether dclgen is mandatorily used. If not, then what is the point of using it?

844