View previous topic :: View next topic
|
Author |
Message |
raviprasath_kp Warnings : 1 New User
Joined: 20 Feb 2005 Posts: 65 Location: chennai
|
|
|
|
I am having a COBOL program named NIMP151 and it calls for a subprogram MTIM013. And this subprogram is a DB2 program. Now I want to know what is the order of execution.
i.e
Which program should be compiled first..then which program should bind and in which name the Plan should be created and finally how to excute the program... |
|
Back to top |
|
|
rama9
New User
Joined: 09 Feb 2007 Posts: 4 Location: India
|
|
|
|
The sub program should be bind, the main program is not required to bind(if DB2 is not using), I hope while running the main program you need to use Plan name for perticular DB2 system/sub system. |
|
Back to top |
|
|
raak
Active User
Joined: 23 May 2006 Posts: 166 Location: chennai
|
|
|
|
hello,
While running, in the JCL specify IKJEFT01 as the PGM.
And in the card member where u normally give ur DB2 program name, give the Calling program's (Non-DB2 program in this case)name. |
|
Back to top |
|
|
|