Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are concurrency issues?

1041


Explain about mirror activator disk mirroring?

968


How do I optimize a query in db2?

1049


How can the firstname and the lastname from the emp table be concatenated to generate complete names?

1239


What are catalog tables in db2?

998


How to find schema of a table in db2?

968


What kind of database is db2?

987


Explain various types of locks in db2?

1096


is it compulsory commitment control in journal?

2430


What is the maximum number of columns in a db2 table?

1228


How to find the maximum value in a column in the db2 database?

1029


Describe major components of db2?

1050


Explain packages.

1068


What is runstats utility in db2?

968


What is the syntax for FETCH in DB2 ?

1152