z/OS Communications Server: SNA Programming
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Closing an application program that is a member of a generic resource

z/OS Communications Server: SNA Programming
SC27-3674-00

Before an application (that is a member of a generic resource) issues CLOSE ACB, all LU sessions should be terminated. The application program issues CHANGE OPTCD=ENDAFFIN, which allows VTAM® to end the affinity between the application program and the LU. After all sessions with LUs have been terminated, and the generic resource application program has terminated affinities with all LUs, the application can issue CLOSE ACB. If the application issues CLOSE ACB without terminating the LU-to-application affinities, the affinities may persist.

VTAM also provides the CHANGE macro with OPTCD=ENDAFFNF (End Affinity Force). This option allows the affinity with a specific LU to be terminated immediately, even if sessions are still active.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014