Magen There's a lot to be said for reading the manual! At the end of the section on "Partner LU mapping" in the section on "Generic resources" in the z/OS Communications Server SNA Network Implementation Guide, we find the following:
<quote> VTAM will delete VTAM owned affinities when the last session between the LU and the application has terminated. LU 6.2 sessions, whose affinities are not owned by the application, are retained for 10 minutes after the last session, or for some other user-specified period (specified by start option AFFDELAY). </quote> http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/f1a1b5b0/16.3.3 Anyhow I'm glad you spotted and highlighted the "L" in the IST1707I messages or I wouldn't have been able to find your answer - at all probably! > My question is how can I remove the CICS affinity when the server is > restarting? So, if this "just-in-case-it-might-be-helpful" "wet-finger-in-the-air" 10 minutes isn't to your liking, you need simply set the AFFDELAY start option value to whatever you think might suit you, apparently 0 in your case, and you have achieved your objective. http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B6C0/4.3.1 You can even do in right this minute using the following command: MODIFY NET,VTAMOPTS,AFFDELAY=0 assuming the name - typically procedure name - for your VTAM address space is NET, of course. http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B7B0/2.117 > As far as I know SYNCPT can be used on an APPC applications (APPC=YES on the > VTAM appl which can not be defined for CICS application) You could also have added that LIMRES=YES, the other function mentioned, applies only when VTAM is doing the LU 6.2 "heavy lifting"[1] when APPC=YES is specified. Then you use the LIMQSINT operand to specify the delay after which sessions are terminated. - [1] Rather than CICS which implemented LU 6.2 function quite a while before VTAM and saw no reason to transfer responsibility to VTAM when VTAM caught up! - Chris Mason On Tue, 25 Oct 2011 16:02:35 -0500, Magen Margalit <[email protected]> wrote: >Hi, > >We recently defined 2 CICS tor regions under a VTAM generic resource (2 way >plex >1 tor on every lpar), the connecting partners are 30 servers which are >connecting as LU 6.2. > >When restarting a server it always connect to the same owning resource. > >I have issued a command : d net,graff,lu=xxxxx and on the ATTRIBUTES section I >got: -VG--WL- >looking into documentation I figured that the problem might be related to the >seventh attribute "L" > >"The seventh character is either L to indicate that this affinity will be used >for up to 10 minutes after the last session between the session partners >ended, or a hyphen (-) otherwise. An affinity might used for this extended >time if either of the following is true: >An LU6.2session is established without SYNCPT or Limited Resource. >An LU6.2 session is established, but the application specified LUAFFIN=NOTAPPL >on the NIB for the OPNDST or OPNSEC." > >As far as I know SYNCPT can be used on an APPC applications (APPC=YES on the >VTAM appl which can not be defined >for CICS application) > >My question is how can I remove the CICS affinity when the server is >restarting? > >Thanks in advanced > >Magen ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

