z/OS Communications Server: SNA Programming
|
Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Closing an application program z/OS Communications Server: SNA Programming SC27-3674-00 |
|
|
A VTAM® application
program closes itself by issuing a CLOSE macroinstruction that specifies
the program's ACB. The CLOSE macroinstruction is used in the same
way as the OPEN macroinstruction. Normally, the CLOSE macroinstruction
is issued in the communication part of the VTAM application program and cannot be issued
from an exit routine. The CLOSE request informs VTAM to terminate the SSCP-LU session with the
application program and to mark the application program as no longer
active in the VTAM network.
For example:
When a program closes, VTAM terminates all sessions and posts any outstanding operations as complete. In addition, the application program can neither issue the SENDCMD or RCVCMD macroinstructions nor access the vector lists that the ACB points to. For additional information on the use of CLOSE by a program operator application (POA), refer to Program operator coding requirements. For information on the use of CLOSE with persistent LU-LU session support, see Using persistent LU-LU session support. The application program can learn that it should close
its ACB in any of the following ways:
|
Copyright IBM Corporation 1990, 2014 |