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
 

 

Sub program called by 15 Main programs - PCB Change

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Sub program called by 15 Main programs - PCB Change
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: 94
Location: India

PostPosted: Tue Mar 30, 2010 12:41 pm    Post subject: Reply to: Sub program called by 15 Main programs - PCB Chang
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    Post subject: Reply to: Sub program called by 15 Main programs - PCB Chang
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: 94
Location: India

PostPosted: Tue Mar 30, 2010 1:13 pm    Post subject: Reply to: Sub program called by 15 Main programs - PCB Chang
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    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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Why myself doing Package Bind always ... Susanta DB2 5 Thu Mar 02, 2017 10:47 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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