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 .
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the difference between using bind () and rebind () methods of naming class?
What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?
How to define the a field which accepts value till 99999.99 in db2
if one db2 pgm calls another db2 pgm. how many plans do we need. what r the steps involved..
What is reorg in database?
What is access path in db2?
Hi this is sures. i need to practice the ibm mainframes.could u telme how can i get userid from IBM.how much cost they will collect for one user id.can send me the details please.thanq
How to create a table using embedded sql?
Request to database but database is not available so what is was abend is raised?
What can the Locate option of the Repair Utility accomplish?
When can an insert of a new primary key value threaten referential integrity?
can you use symbolic parameters in JOB?