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
 

 

Can I modify the call to an MPP program

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

New User


Joined: 29 Nov 2006
Posts: 19
Location: amsterdam

PostPosted: Thu Nov 30, 2006 4:59 pm    Post subject: Can I modify the call to an MPP program
Reply with quote

I have an MPP program called AB100 and another MPP program AB102 which is called from AB100

The MPP program AB102 does not execute any function (GU/ISRT/CHNG/PURG) on IMS queue but queries a IMS database

The call from AB100 is presently like this
CALL AB102 USING IO-PCB
TP-PCB
DB-PCB
AB102-I-OAREA.
Question is

1. Can I modify this call to
CALL AB102 USING
DB-PCB
AB102-I-OAREA.
since bcoz I dont use either i-o PCB or TP-PCB in AB102. AND

in AB102 , remove the definition of IO-PCB and TP-PCB from the linkage and define it in the working storage
Back to top
View user's profile Send private message

Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Fri Dec 01, 2006 6:28 pm    Post subject:
Reply with quote

Depends on the usage of the PSB. Do both programs use the same PSB? Does the PCB for AB102 contain an IO-PCB?
Back to top
View user's profile Send private message
sandiptcs

New User


Joined: 29 Nov 2006
Posts: 19
Location: amsterdam

PostPosted: Fri Dec 01, 2006 10:56 pm    Post subject: Re: Can I modify the call to an MPP program
Reply with quote

I found that only the PSB for AB100 exists. No PSB exist for AB102 (i.e in the same name).

AB100 has 2 TP PCBs and DB PCBs defined in the PSB

However the program AB102 has I-O PCB mask, one TP PCB mask and one DB PCB mask defined in the linkage section.

Does that mean AB102 uses the same PSB as AB100 ?
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Dec 04, 2006 3:01 pm    Post subject:
Reply with quote

As I understand it AB102 is a called module. What it takes to operate correctly is that the pointers are passed in the correct order pointing to the right databases. Just pass the pointers that are needed by AB102. If no IO-PCB needed don't pass it. Question: why would you want to modify the stuff icon_question.gif Btw: noticed you're in Amsterdam, so am I. If you'd like to discuss the matter by phone just tell me and I'll send you a PM.
Back to top
View user's profile Send private message
sandiptcs

New User


Joined: 29 Nov 2006
Posts: 19
Location: amsterdam

PostPosted: Mon Dec 04, 2006 3:15 pm    Post subject: Re: Can I modify the call to an MPP program
Reply with quote

Thanks Bitneuker, I am interested in discussing this over the phone
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Dec 04, 2006 3:32 pm    Post subject:
Reply with quote

You've got PM
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Dec 04, 2006 6:27 pm    Post subject:
Reply with quote

Sandip; you've got PM
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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


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