Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
TERMAPI call z/OS Communications Server: IP CICS Sockets Guide SC27-3649-00 |
|||||||||||||||||||
This call terminates the session created by INITAPI. All TCP/IP stacks resources allocated to the task are cleaned up. This includes any outstanding open sockets or sockets that have been given away with the GIVESOCKET call but have not been taken with a TAKESOCKET call. In the CICS® environment, the use of TERMAPI is not recommended. CICS task termination processing automatically performs the functions of TERMAPI. A CICS application program should issue TERMAPI only if there is a particular need to terminate the session before task termination. The following requirements apply to this call:
Figure 1 shows an example
of TERMAPI call instructions.
Figure 1. TERMAPI call
instruction example
For equivalent PL/I and assembler language declarations, see Converting parameter descriptions. |
Copyright IBM Corporation 1990, 2014
|