Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 4 Processing Data : Using Rules

Using Rules
Accessing CA‑IDMS data using the rules language is similar to accessing TIBCO Object Service Broker data. The main difference is in the way CA‑IDMS uses your selection criteria in conjunction with the IDM table definition to interpret the request. Use the following sections in conjunction with TIBCO Object Service Broker Programming in Rules, which describes TIBCO Object Service Broker rules language statements and coding.
Transaction Processing
If you issue a TIBCO Object Service Broker EXECUTE statement within a main (parent) transaction, it creates another transaction stream (child transaction), to a maximum of ten streams. The number of streams allowed in a transaction depends on the TRANMAXNUM Execution Environment parameter, which has a default of nine streams. Each transaction stream in TIBCO Object Service Broker accessing CA‑IDMS data requires its own task.
Ensure that your system administrator is aware of the number of tasks required to accommodate all transaction streams accessing CA‑IDMS data in a single transaction.
Using TRANSFERCALL or DISPLAY & TRANSFERCALL statements in a rule minimizes the Gateway tasks and reduces the possibility of CA‑IDMS locking contention.
When a TIBCO Object Service Broker transaction runs in browse mode, a shared retrieval (SR) Ready Mode is automatically used, regardless of what is specified in the IDMS Ready Mode field of the first IDM table accessed in the transaction, and no locks are taken on the data. However, locks are taken on the data for transactions running in update mode. This is determined by the Ready Mode specified in the IDM table definition of the first definition accessed in the transaction.
Transaction Limitations
The number of IDM tables you can access per transaction depends on the POOLSIZE gateway parameter and the CTABLESIZE Data Object Broker parameter. For more information, refer to Supplying Service Gateway for IDMS/DB Startup Parameters.
If you use the default parameter values, you can access at least 16 IDM tables per transaction; maybe more, depending on the size of the IDM table definitions. Refer to Estimating the CTABLESIZE Parameter for more information.
The following sections outline differences encountered while using rules and explain how your rule selection criteria translate into DML access statements.
See Also
TIBCO Object Service Broker Parameters about the CTABLESIZE Data Object Broker parameter and the TRANMAXNUM Execution Environment parameter.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved