Can you schedule more than one PSB within a rule/Object Service Broker (OSB) transaction?
book
Article ID: KB0086372
calendar_today
Updated On:
Products
Versions
TIBCO Object Service Broker for z/OS
-
Not Applicable
-
Description
Resolution: You can only schedule one PSB within a rule/Object Service Broker (OSB) transaction. If you look at the "TIBCO Service Gateway™ for IMS/DB Installing and Operating for 5.0", chapter 1 section "Defining Gateway Program Specification Blocks", it states:
"Each class of the Gateway requires a PSB that defines all the IMS databases that you want to access from TIBCO Object Service Broker through that class of Gateway, and the processing options available for each database. You must define a database Program Control Block (PCB) for each database you need the Gateway to access. The PSB defined for the BMP, CICS DL/I and DRA interface is locked for the time of the TIBCO Object Service Broker transaction. The CICS interface can use different PSBs but only one per TIBCO Object Service Broker transaction."
Environment: TIBCO Service Gateway™ for IMS/DB running under a z/OS operating system. The rules Execution Environment may be running under z/OS or any supported open systems operating system.
Symptoms: S6BIM173E DEFAULT imssrvrid IMSDREQ: No IMS Database PCB available for "dddddddd"
Cause: Product restriction under both TIBCO Service Gateway™ for IMS/DB and IMS™ Database Manager.
Resolution You could start another transaction by using the EXECUTE statement in your rule to invoke a second rule running within a new OSB transaction. The second transaction should be able to schedule another IMS PSB if the environment (such as CICS) supports it. When the second rule/transaction ends, control returns to the first rule after the EXECUTE statement.
Alternatively, you could define a PSB that includes the databases that you need to access and use that.
References: TIBCO Service Gateway™ for IMS/DB Installing and Operating for 5.0 TIBCO® Object Service Broker Programming in Rules Software Release 5.0
Issue/Introduction
Can you schedule more than one PSB within a rule/Object Service Broker (OSB) transaction?