My cobol program(not having any sql statements) is calling
another cobol program ( having sql statements), what is
needed for compilation and run in jcls .
Answer Posted / santy
Hi,
Lets consider the name the calling prg. as PROG1 and
called prg. as PROG2, Pgm PROG1 should be compiled as a
normal CBL pgm, and Pgm. PROG2 should be compiled as a
CoBoL-DB2 pgm. And the Run JCL should call the PGM PROG1,
using IKJEFT01 pgm, since it calls pgm PROG2 with SQL
statements. For the JCL u can refer to the JCLS link in the
same website
| Is This Answer Correct ? | 11 Yes | 4 No |
Post New Answer View All Answers
What is null value in db2?
What is the use of runstats in db2?
What is blu acceleration in db2?
What is a buffer in memory?
How do you simulate the explain of an embedded sql statement in spufi/qmf?
How can we read records for specific member in CL? AND rpg?
What is bufferpool in db2?
What is coalesce in db2?
What is the use of predicate?
What is host variable?
What is the physical storage length of time data type?
What are db2 tables?
How do I optimize a query in db2?
What is the syntax for FETCH in DB2 ?
What happens in bind step in a db2 program?