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 |
How do I create a table MANAGER (EMP-NO, MANAGER) where MANAGER is a foreign key which references to EMP-NO in the same table? Give the exact DDL.
What is the maximum size of varchar data type in db2?
What is dbrm? When it will be created?
How to rename a table in DB2 ?
What is db2 optimizer?
How to select the duplicate rows from a table?
can we drop column from a table
How to test SQL -911 error while developing COB-DB2 program
Explain in brief how does db2 determine what lock-size to use?
What is innodb buffer pool?
Explain about open switch business continuity software?
Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?