![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
The TIBCO Object Service Broker @SCHEDULEMODEL shared table is a parameterized TDS table that contains instances of JCL, Solaris scripts, and batch files. Instances of this table are submitted for processing when users execute rules in batch mode with the use of the SCHEDULE statement. Instances are also used in the TIBCO Object Service Broker Promotion system and by the RULEPRINTER and HLIPREPROCESSOR tools.@SCHEDULEMODEL supports the use of variable and value substitution; new variables can be defined and subsequently substituted at runtime, and values defined at installation time can be overridden.These values take precedence over the Execution Environment parameters set at installation time.
• Users can share instances of the @SCHEDULEMODEL table because information specific to their user IDs can be supplied at runtime.At installation time, values used at runtime for some of the instances provided with TIBCO Object Service Broker for the @SCHEDULEMODEL table instances are customized to reflect your site’s standards and naming conventions. Values for any or all of these provided instances, or other instances defined at your site, can be supplied by:The following items must be prepared to define additional substitution variables and alternate values, by using a TDS table:
•
• Specify {table.field} references in the table instances of @SCHEDULEMODEL where you plan to use variables defined in the substitution table.
− Define the primary key to hold the values of the TIBCO Object Service Broker user IDs authorized to use instances of the @SCHEDULEMODEL table. The primary key cannot be a composite primary key.
− Define a field for each new variable and TIBCO Object Service Broker supplied variable that is to be referenced.Any appropriate values can be used for the table name, field names, field syntax, and field lengths.
2. Edit the table so that it contains an occurrence for each TIBCO Object Service Broker user ID that references that table.
3. Specify VIEW_DEFN and READ security access for the table, for each user ID authorized to make use of it.The following example illustrates a single occurrence for the TIBCO Object Service Broker user ID USR40, from the sample substitution table EXTENDEDPROFILE:
To provide a reference between the variable name and its substitution value as stored in the TDS table, complete the following steps:
1. Invoke the Table Editor for the appropriate instance of the @SCHEDULEMODEL table.Use the {table.field} format, in the instance of the @SCHEDULEMODEL table. For example, to reference the EXTENDEDPROFILE table for a value for the variable ACCTINFO, put in:Substitution variables in @SCHEDULEMODEL are normally enclosed in delimiters such as braces ({ }). The actual delimiters used at a site are set with the Execution Environment parameters VARLDELIMITER and VARRDELIMITER.
3. Specify VIEW_DEFN and READ security access for the instance for each user ID authorized to use it.
• If possible, use a Mod 5 3270 terminal (or its equivalent, if you are emulating a 3270 terminal) to edit the table. If you do not use a Mod 5 terminal, you must edit the table with the Single Occurrence Editor.The following example illustrates an extract from a sample instance of @SCHEDULEMODEL containing references to the new variables and providing values for new and existing variables.
TIBCO Object Service Broker Shareable Tools for more information on the RULEPRINTER and HLIPREPROCESSOR tools.Installing and Operating for your operating environment for information about supplied instances.TIBCO Object Service Broker Programming in Rules for information about submitting rules in batch.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |