u31ad user exit

User exit u31ad returns the current port number.

Syntax

u31ad
code.number

Parameter(s)

code.number When following the user exit, the code number specifies where the value is to be placed.
a Outputs to the alternative output buffer.
p Outputs to the primary input buffer.
s Outputs to the current output buffer.
t Outputs to the terminal.