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



My cobol program(not having any sql statements) is calling another cobol program ( having sql stat..

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

My cobol program(not having any sql statements) is calling another cobol program ( having sql stat..

Answer / vidhya

Db2card should be added in the calling program

Is This Answer Correct ?    0 Yes 1 No

My cobol program(not having any sql statements) is calling another cobol program ( having sql stat..

Answer / mangesh

Thanks Santy for all the answers .

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More DB2 Interview Questions

what is SPUFI ?

2 Answers  


How to resolve -504 sql code in DB2?

2 Answers   Cap Gemini,


Mention the various locks that are available in db2.

0 Answers  


What is the cobol picture clause of the db2 data types date, time, timestamp?

0 Answers  


What are the various isolation levels possible?

0 Answers  






What is meant by dclgen?

0 Answers  


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....

4 Answers   Infosys,


Explain an outer join?

1 Answers  


explain about index with examples

2 Answers   Syntel,


What is the picture clause of the null indicator variable?

6 Answers  


Are views updateable?

0 Answers  


how to unload different table data into different gdg files/ vsam files.

3 Answers  


Categories