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 keyword does an SQL SELECT statement use for a string search?
what is parm utility
What is the syntax of SELECT statement when embedded in a COBOL program?
how many bytes timestamp token occupies?
6 Answers Boss Global, Cap Gemini, TCS,
Mention some fields that are a part of sqlca.
What is the difference between TYPE 1 index & TYPE 2 index
what is static sql? what is dynamic sql? Give me details
What is runstats db2?
what is differnece between DROP TABLE & DELETE TABLE .
what is REORG? what is the use?
What is meant by the attachment facility?
What's the maximum number of characters that a tablename can have?