BAQH4002E z/OS Connect port number "{0}" is invalid.
Explanation
The server port number that is specified in the BAQPORT environment variable or the BAQZ-SERVER-PORT parameter is invalid.
User response
Check the BAQURI specification in the CEEOPTS DD statement or the BAQZ-SERVER-HOST parameter in the z/OS Application. Valid port numbers are from 0 to 65536.