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


Closing by the Application Program

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

About this task

An application program issues a CLOSE macroinstruction to disassociate itself from VTAM®. The CLOSE macroinstruction specifies the same ACB that was originally used by the OPEN macroinstruction to identify the application program to VTAM.

Control block fields referenced by the OPEN and CLOSE macroinstruction can reside in either 24-bit or 31-bit storage. Use of 31-bit storage should be consistent with the addressing mode of the application program. MODE=31 must be coded on the OPEN and CLOSE macroinstructions if the ACB or other control blocks reside in 31-bit storage.

For an application program defined with an RMODE attribute of 24, the CLOSE macroinstruction automatically creates a parameter list in 24-bit storage; for an application program defined with an RMODE attribute of ANY or 31, the application program must build a parameter list in 24-bit storage and then issue the execute form of the CLOSE macroinstruction. See CLOSE—Close one or more ACBs, for a detailed description of the CLOSE macroinstruction.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014