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 SPUFI ?
How to resolve -504 sql code in DB2?
Mention the various locks that are available in db2.
What is the cobol picture clause of the db2 data types date, time, timestamp?
What are the various isolation levels possible?
What is meant by dclgen?
in a table consist of 1000 records among that i was updated 145 record how could i know that ..list of recently updated record's and where could i see those updated record's....pls help me out....
Explain an outer join?
explain about index with examples
What is the picture clause of the null indicator variable?
Are views updateable?
how to unload different table data into different gdg files/ vsam files.