FREEADDRINFO

The FREEADDRINFO call frees the storage that was acquired by the z/OS Communications Server when the GETADDRINFO call was issued.

Example of FREEADDRINFO call

SOC_FUNCTION DC   CL16'FREEADDRINFO'
RESULTS      DS   A
ERRNO        DS   F
RETCODE      DS   F
 
             CALL DFHSOKET,(SOC_FUNCTION,RESULTS,ERRNO,RETCODE)

Input parameters

SOC_FUNCTION
A 16-byte character field containing FREEADDRINFO. Left-justify the field and pad it on the right with blanks.
RESULTS
The name of a fullword field that contains a pointer to an Addr_Info structure or a linked list of Addr_Info structures returned by the GETADDRINFO command issued by the z/OS Communications Server.

Output parameters

ERRNO
A fullword binary field. If RETCODE is negative, the field contains an error number. For a list of return code values for FREEADDRINFO, see z/OS Communications Server: IP and SNA Codes.
RETCODE
A fullword binary field that returns one of the following values:
Value
Description
0
Successful call
-1
An error occurred.


dfhtn0_freeaddr.html | Timestamp icon Last updated: Monday, 5 June 2017