Using the PORT statement to control access to all unreserved ports

In addition to reserving particular ports, you can also use the PORT statement to control application access to user-specified ports that have not been reserved. Access control is applied when an application issues an explicit bind or a TCP listen.

You can use job names or SAF resources, or a combination of both, to control access to user-specified unreserved ports, or you can unconditionally deny access to user-specified unreserved ports. You do this by configuring one or more PORT statements in which the port number is replaced by the keyword UNRSV.

Result: PORT UNRSV statements control access to nonzero, unreserved ports specified on explicit binds. Access to unreserved ports that are assigned by the stack is not affected.

If you want to use PORT UNRSV access control, see the following considerations: