User exit u71a2 returns the port number of the current process, and places it in the output buffer.
Port number, PROC processor user exits, who command