I need to create an affinity relation for my CICSPLex. My main program is a listener transaction (CONL) that uses the CICS sockets API. CONL runs in the TOR and invokes (LINKs) three different programs: CONSTART, CONMAIN and CONSTOP.
Once CONSTART is dynamically assigned to an AOR, all these programs must be confined to that particular AOR because they share a common record in temporary storage. So, I need my CICSPLEX WLM to allow me many concurrent "CONL invoked sets", dynamically distributed between three AORs.
How do I configure this affinity to the CPSM? Thanks in advance for your help.
I think your basic problem here is that you are using the Listener Transaction to execute the actual work. When I offer advice about using the sockets interface to process inbound TCP/IP flow, I always recommend that the Listener Transaction does just that -- it listens for incoming work, does security/authorization/validation and then starts another transaction to do the actual work (so that can execute under the supplied security identity, for example).
My next observation is that you seem to be using a single CICS region to receive these flows and other regions to process them. I would suggest that you use TCP/IP Port Sharing to spread the workload around.
CICS Technical Strategist -- CICS expert at Search390.com
Editor's note: Do you agree with this expert's response? If you have more to share, post it in one of our
This was first published in August 2003