AFFDELAY start option

Read syntax diagramSkip visual syntax diagram
   .-AFFDELAY--=--600---------------.   
>>-+--------------------------------+--------------------------><
   '-AFFDELAY--=--number_of_seconds-'   

Specifies the number of seconds the affinity for a non-synchpoint, non-Limited Resource LU 6.2 session should be retained after the session terminates. The allowed range is 0-65535, where 0 means there is to be no delay in the deletion of the affinity after session termination. The default is 600, that is, 10 minutes.

If AFFDELAY is 0 when the session terminates the affinity will be deleted. If the AFFDELAY is nonzero, the affinity is retained and the current TOD clock value is recorded in the SPTE control block. Later, when the SPTE is referenced during a session initiation, the stored TOD clock is compared against the current TOD clock to see if the time limit specified by AFFDELAY has expired. If it has expired, the SPTE will deleted, thus ending the affinity, and the session initiation will proceed as though no affinity existed. If the AFFDELAY time has not expired, the affinity will be considered to be in force and the new session will be assigned to the same Generic Resource member.

You can change the value of AFFDELAY with the MODIFY VTAMOPTS command while VTAM® is running. The change takes effect immediately. This means that if AFFDELAY is changed, the new value is used in any subsequent compare of the TOD clock values in the SPTE, and the new value is used to determine whether to retain the affinity at session termination time. But a change in the AFFDELAY value does not go out and delete already retained affinities before they are referenced as part of a subsequent session initiation.