When I logon to a CICSTOR region and the transaction is executed in a CICSAOR region I end up with a sensecode 0824 and the transaction abends.
The virtual terminal I use for the CICSTOR has already a session to the CICSAOR region.
This problem is caused by using the same GROUP virtual terminal for both applications, CICSTOR and CICSAOR regions.
You must setup TPX in a way that TPX does not select the same virtual terminal for CICSTOR and CICSAOR regions.
If you define one of them with TYPE=UNQ and the other with TYPE=GRP in ACT you are fine because a unique and a group terminal can not be the same.
If you decide to use TYPE=GRP virtual terminals for both CICSTOR and CICSAOR region you must setup some masking rules.
Assume you have 300 group VTs defined TPXGR000 - TPXGR299. You want to use TPXGR000 - TPXGR199 for logons to the CICSTOR and TPXGR200 - TPXGR299 for logons to theCICSAOR region.
Here the steps to do:
Masking Rules Table Entry CICSAORCICSTOR
Physical Terminal Virtual TerminalMasking Rule Masking Rule-------- TPXGR0---------- TPXGR1--
Physical Terminal Virtual TerminalMasking Rule Masking Rule-------- TPXGR2--
For the decision which way to go keep in mind that a TYPE=UNQ VT can only have one session whereas a TYPE=GRP VT can share sessions to different applications.
Release: NVINAM00200-5.2-TPX-Session Management-Access Management package