Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 OLDS frozen in BACKOUT status when On... lind sh IMS DB/DC 3 Tue Feb 13, 2018 7:12 pm
No new posts Job is running with no response!!! Vignesh Sid DB2 3 Fri Oct 27, 2017 6:28 pm
No new posts pointers on using USS and C programs. Pedro All Other Mainframe Topics 0 Wed Oct 04, 2017 4:38 am
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us