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.

    Requires Free Membership to View

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
Inventor
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.


This was first published in August 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: