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

Running Programs of different plans


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top