IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Which program should bind and in which name the Plan


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raviprasath_kp
Warnings : 1

New User


Joined: 20 Feb 2005
Posts: 65
Location: chennai

PostPosted: Thu Mar 01, 2007 11:00 am
Reply with quote

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
View user's profile Send private message
rama9

New User


Joined: 09 Feb 2007
Posts: 4
Location: India

PostPosted: Thu Mar 01, 2007 3:37 pm
Reply with quote

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
View user's profile Send private message
raak

Active User


Joined: 23 May 2006
Posts: 166
Location: chennai

PostPosted: Fri Mar 16, 2007 11:41 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top