Hi Adam,
You can try to use the
context attribute. The main idea is to start with the Login transaction; a context is created for this transaction. Then call the sequence (TrA + TrB) with this specific context.
Here is the detailed procedure:
First, set the
Context name parameter of the transaction steps (
Query data A and
Query data B) of your sequence to "
mycontext" for instance (do not forget the double quote characters, because this property is javascriptable!). This parameter will tell the engine to use the given context name (within the current JESSIONID).
Then request the
Login transaction with the input parameter
__context=mycontext (thru the request URL). You should get a result such as:
<?xml version="1.0" encoding="ISO-8859-1"?>
<document connector="Test5250Connector"
context="mycontext" contextId="6AEF58497AC06D1AF111B15E419F653A_context" cursorColumn="0" cursorLine="0" fromcache="false" generated="Tue May 11 10:28:07 CEST 2010" project="Test5250" screenHeight="24" screenWidth="80" screenclass="DefaultScreenClass" sequence="" signature="1273566487794" transaction="Login" version="5.0.5">
<result code="0"/>
</document>
Then just invoke your sequence; its internal CallTransaction steps will automatically use the specific context
mycontext according to point #1.
I hope this is clear enough
