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
What is precompiler in db2?
What is a db2 collection?
Explain correlated sub-queries.
How do you eliminate duplicate values in db2?
Name the lockable units in DB2?
What is release/acquire in bind?
What is a bind in db2?
How to create db2 table in mainframe?
What is schema in db2?
How is the value function used?
What is bind plan?
Can we update view in db2?
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 .....
What is page size in db2?
Comment whether dclgen is mandatorily used. If not, then what is the point of using it?