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
I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?
Mention a credible reason why select* is never given preference in an sql program that has been embedded.
Mention the downsides of page level lock.
What is the result of open cursor statement?
What is consistency token in db2?
What is the clustering index in the db2 database?
What is the difference between nvl and coalesce?
Which isolation level provides highest data integrity?
How to execute stored procedure in db2 command editor?
Explain about cursor stability?
How can you classify the locks in db2?
What is a db2 tablespace?
What is the advantage in De-normalizing tables in DB2?
What is the maximum size of a char data type in db2?
What does db2 mean?