Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Which program should bind and in which name the Plan

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Which program should bind and in which name the Plan
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    Post subject: Re: Which program should bind and in which name the Plan
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Why myself doing Package Bind always ... Susanta DB2 5 Thu Mar 02, 2017 10:47 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us