View previous topic :: View next topic |
Author |
Message |
modak Beginner
Joined: 09 Apr 2004 Posts: 14 Topics: 3
|
Posted: Mon May 21, 2007 5:27 am Post subject: Main program calling suprogram having DB2 tables |
|
|
My program doesnt have any DB2 code but it calls a program that needs DB2 tables. Do i need to use IKJEFT01 to call my main program and passing the name of the plan that subprogram OR simply passing the loadlibs of both the programs in JCL with EXEC PGM=main-program would do. |
|
Back to top |
|
|
CICS Guy Intermediate
Joined: 30 Apr 2007 Posts: 292 Topics: 3
|
Posted: Mon May 21, 2007 8:48 am Post subject: Re: Main program calling suprogram having DB2 tables |
|
|
modak wrote: | simply passing the loadlibs of both the programs in JCL with EXEC PGM=main-program would do. | That's the way I usually do it..... |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
Posted: Mon May 21, 2007 9:45 am Post subject: |
|
|
modak,
You will have a package for your subprogram and plan it to the main program and you should invoke it via IKJEFT01.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|