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
 

 

Static and Dynamic PCB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
Shankar-MF

New User


Joined: 02 Aug 2012
Posts: 2
Location: INDIA

PostPosted: Tue Aug 06, 2013 10:03 pm    Post subject: Static and Dynamic PCB
Reply with quote

Hi, I have 2 existing production running program. Both are individual program

Program-A uses Dynamic PCB and the PSB is given below

Code:
PCB  TYPE=DB,DBDNAME=IMMBNTDB,KEYLEN=100,PROCOPT=GOT, X
 PCBNAME=IMMBNTDB                                         
SENSEG NAME=BNTENT,PARENT=0                                   
SENSEG NAME=BNTCONT,PARENT=BNTENT                             
SENSEG NAME=BNTSUPL,PARENT=BNTENT                             
SENSEG NAME=BNTBROK,PARENT=BNTENT     


Program-B uses Static PCB and the PSB is given below

Code:
PCB  TYPE=DB,DBDNAME=IMMBNTDB,KEYLEN=10,PROCOPT=GOTP
SENSEG NAME=BNTENT,PARENT=0 


I need to call the Program-A inside Program-B. How I need to modify the Program-B PSB.

I am new to this forum and IMS, kindly Apologize if any mistake
Back to top
View user's profile Send private message

Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 94
Location: India

PostPosted: Tue Aug 20, 2013 3:28 pm    Post subject: Reply to: Static and Dynamic PCB
Reply with quote

Include both PCBs in Program B's PSB and pass Program A's PCB details while calling A from B. But you need to be careful while handling multiple PCBs in a single PSB, since in your case both PCBs access the same DBD.
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 -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Dynamic array request/response contai... Suja.Sai CICS 2 Tue Jan 24, 2017 11:37 am
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts Creating a dynamic sort card in JCL u... ChitraChhabra DFSORT/ICETOOL 4 Wed Aug 03, 2016 6:15 pm
No new posts Need help on SQL Dynamic WHERE Clause subratarec DB2 12 Sat Jul 16, 2016 3:11 pm


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