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
 

 

Running Programs of different plans

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Venky_S

New User


Joined: 02 Mar 2004
Posts: 1
Location: Bangalore

PostPosted: Tue Mar 02, 2004 5:01 pm    Post subject: Running Programs of different plans
Reply with quote

I have a program A which calls Program B.Both of these are Cobol-DB2 programs.Program A calls Program B dynamically.We know that at runtime for a DB2 program we need both the Load as well as the Plan.

While running the program we mention the plan name in the SYSTSIN as

Code:

DSN SYSTEM(DB2T)                                   
   RUN PROGRAM(PROG1)  -                           
   LIB('MY.LOAD')              -
   PLAN(XXXXX)
  END                               



Now if both the Programs are bound to different plans how would we give the SYSTSIN card. Can we give 2 PLAN Names.

Venky
Back to top
View user's profile Send private message

jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 160
Location: Toronto, Canada

PostPosted: Sat Nov 13, 2004 2:58 am    Post subject:
Reply with quote

I guess we can do it like this

Package Program B.
then bind it to plan A

continue using the plan A.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Nov 13, 2004 3:45 am    Post subject:
Reply with quote

Hi Masade,

It's always good practice to attribute a quote to its author.
Back to top
View user's profile Send private message
jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 160
Location: Toronto, Canada

PostPosted: Sat Nov 13, 2004 3:50 am    Post subject:
Reply with quote

Hey Jack,

Generally I do that Man,
Some how I missed it there.

thanx for quoting this
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 -> COBOL Programming 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 Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm


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