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
How to find schema of a table in db2?
Is ibm db2 free?
What is the difference between cursor and select statement?
How can the duplicate values be eliminated from db2 select?
Differentiate between cs and rr isolation levels? Where do you specify them?
File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?
Is ibm db2 open source?
What is a plan and package in db2?
How and when does the db2 enforces the unique key?
What do you mean by cursor?
What is the use of with ur in db2?
What is buffer pool in the db2 database?
Explain about rct in db2?
How to find the number of rows in a db2 table?
Which is faster delete or truncate?