CDISP9198E

The ServerPort custom output function can be used only when the role is server.

The ServerPort function is valid only for server roles.
Correct the output clause.