Problem solve Get help with specific problems with your technologies, process and projects.

Listener Transaction

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.

Robert Harris
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 .VO7aaqqaAFk.0@/search390>discussion forums.

Dig Deeper on IBM system z and mainframe systems

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.