Transaction affinity considerations

If the WTRA_TRANID, WTRA_USERID and WTRA_LUNAME fields cause CICSPlex® SM workload management to select a transaction group that includes an affinity, the rules of transaction affinities are obeyed.

In this case, you should ensure that the WTRA_NEXTTRAN field is initialized with the ID of the next transaction before calling the route termination function.

If your units of work, or any subset of them, have an affinity relation defined, be careful in how you define that affinity. Since your program cannot provide SIGNOFF or LOGOFF processing, an affinity lifetime of SIGNON or LOGON, though valid, may cause an affinity relation to be built that is not removed until either the requesting region or the target region terminates.

The WTRA_NEXTTRAN field is most useful for pseudo-conversation affinities. For this affinity lifetime, CICSPlex SM workload management normally issues the EXEC CICS ASSIGN NEXTTRANSID command to retrieve the next transaction ID, if any, for the facility. Since that command is not available when CICSPlex SM workload management is invoked by your program, it is your responsibility to provide the ID of the next transaction.

For a description of CICSPlex SM workload management affinity processing, see . For details on specifying affinity relation and lifetime values, see .



eyuaagk.html | Timestamp icon Last updated: Sunday, 4 June 2017