Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 8 Using the TIBCO Service Gateway for IMS TM : Passing Control to an IMS Transaction at Session End

Passing Control to an IMS Transaction at Session End
What are the Allowable Options for Passing Control
At session end, the TIBCO Object Service Broker IMS TM client program returns control of the terminal to the user by default. You can direct the message segments returned by the TIBCO Object Service Broker session directly to another IMS application program, or to a terminal via MFS. Specifically, you can perform:
A program-to-program switch from a non-conversational IMS TM client program to another IMS non-conversational program
A deferred message switch from a conversational TIBCO Object Service Broker IMS TM client program to another IMS conversational program
An immediate program-to-program message switch from a conversational TIBCO Object Service Broker IMS TM client program to another IMS conversational program
What to Use to Direct the Destination of Message Segments
You can direct the destination of the message segments at session startup, or from rules, by:
Supplying the SESSIONENDACTION and SESSIONENDVALUE session parameters to TIBCO Object Service Broker at session startup
Using the $SETSESSIONEND tool within a rule
Non-Conversational MFS Output
All non-conversational TIBCO Object Service Broker IMS TM client programs ( S6BIMSN1, S6BIMSN2, S6BIMTN1, and S6BIMTN2) can send data to the terminal at session end using MFS. The Message Output Descriptor (MOD) to be used can be specified using:
SESSIONENDACTION=FORMAT, SESSIONENDVALUE=MODname
CALL $SETSESSIONEND('FORMAT','MODname');
The MODname set by the rule replaces any value set by session parameters.
Non-Conversational Program-to-Program Switch
All non-conversational TIBCO Object Service Broker IMS TM client programs of the form S6BIMxNx can perform a program-to-program switch at session end. The IMS application transaction that is being switched to can be specified using:
SESSIONENDACTION=SWITCH, SESSIONENDVALUE=trancode
CALL $SETSESSIONEND('SWITCH','trancode');
The trancode set by the rule replaces any value set by the session parameters. The trancode replaces the first eight bytes of the first message segment at session end.
Conversational Deferred Message Switch
All conversational TIBCO Object Service Broker IMS TM client programs ( S6BIMSC1, S6BIMSC2, S6BIMTC1, and S6BIMTC2) can send data to the terminal at session end using MFS and switch to another IMS application transaction after the user responds to the terminal. You can specify this using:
SESSIONENDACTION=SWITCH, SESSIONENDVALUE=trancode
SESSIONENDACTION=FORMAT, SESSIONENDVALUE=MODname
CALL $SETSESSIONEND('SWITCH','trancode');
CALL $SETSESSIONEND('FORMAT','MODname');
The value specified by $SETSESSIONEND supersedes any value set by the session parameters.
You must specify both the trancode and the MODname for a deferred message switch to occur at session end. The trancode specified replaces the first eight bytes of the SPA at session end.
Conversational Immediate Message Switch
All conversational TIBCO Object Service Broker IMS TM client programs ( S6BIMxCx) can directly switch to another conversational IMS application transaction. You can specify the trancode of the IMS application transaction using:
$SESSIONENDACTION=SWITCH, SESSIONENDVALUE=trancode
CALL $SETSESSIONEND('SWITCH','trancode');
The trancode specified by the rule supersedes any value set by the session parameters. The trancode replaces the first eight bytes of the SPA at session end.
See Also
TIBCO Object Service Broker Programming in Rules about writing rules.
TIBCO Object Service Broker Shareable Tools about the tools.
TIBCO Object Service Broker Parameters about parameters.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved