MSG204 (JANUS DEFINE parameter)

From m204wiki
Jump to navigation Jump to search

MSG204 xxx — Msg number to use in returning OPENSERV messages to client

MSG204 is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port.

This parameter specifies the Sybase message number to be used to return terminal output to the client. If this parameter is not specified, all terminal output for the open server will be sent to the Model 204 audit trail. Because the Sybase client server communications protocol is a half duplex protocol, only terminal output that occurs while the client is in the "receive" state will be sent to the client. Terminal output that occurs while the client is in the "send" state will be sent to the audit trail regardless of the setting of the MSG204 parameter. A client is in the "receive" state after it has sent an RPC to the server and before it has received the DONE message for the request. The error state and error class for terminal output messages are both always set to 0.

Valid only for OPENSERV ports.

See also