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

Sub program called by 15 Main programs - PCB Change


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sanil m

New User


Joined: 24 Aug 2007
Posts: 38
Location: chennai

PostPosted: Tue Mar 30, 2010 11:38 am
Reply with quote

Hi,


I have one program A, which is been called by 15 different Main programs, directly or indirectly.

In the sub-program, i'm adding call to new DB.

Do i have to include the new PCB, in all the 15 PSB's of Main Modules if it's a

1). CBLTDLI call

2). AIBTDLI call
Back to top
View user's profile Send private message
Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 93
Location: India

PostPosted: Tue Mar 30, 2010 12:41 pm
Reply with quote

1. CBLTDLI Call:

Yes you have to include the PCB in the PSBs and you might also require some changes in the programs (say , to include the PCB Mask ) as well.

2.AIBTDLI Call:

Yes you have to define PCB in the PSB. However in AIBTDLI call you'll be directly specifying the PCB name and not the address. See this link.
Back to top
View user's profile Send private message
sanil m

New User


Joined: 24 Aug 2007
Posts: 38
Location: chennai

PostPosted: Tue Mar 30, 2010 1:01 pm
Reply with quote

@ Ranjith Kumar


So you mean to say,

For CBLTDLI call, i need to include the PCB in all the 15 Main module PSB's(called directly or indirectly), and also have the PCB Mask in the "PROCEDURE DIVISION USING' section of all the 15 Main module source program's.


For AIBTDLI call, i need to include the PCB in all the 15 Main module PSB's, but i dont' have to make changes to the Main module Source program.


Am i getting it correct ?
Back to top
View user's profile Send private message
Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 93
Location: India

PostPosted: Tue Mar 30, 2010 1:13 pm
Reply with quote

Yes you got it right.
Additional changes may or may not be required in your application programs (Main /Sub) basd on the design.
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Fetch data from programs execute (dat... DB2 3
Search our Forums:

Back to Top