OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

logcon (Switch message log realtime output facility)

Format

logcon [-{y|n}]

Function

The logcon command switches the realtime output specification (log_msg_console) for the log service definition in the online mode.

The logcon command is applicable only when the log service is operating.

Options

-{y|n}

-y
Specifies that the log_msg_console specification is to be switched to Y. When the specification is switched to Y, the message log is output to the standard output in realtime.

-n
Specifies that the log_msg_console specification is to be switched to N. When the specification is switched to N, the message log is not output to the standard output in realtime.

Output messages

Message ID Description Output destination
KFCA01951-E Memory is inadequate. Standard error output
KFCA01952-E Error occurred in log service. Standard error output
KFCA01970-I Help message Standard output,
standard error output
KFCA01971-E Communication error occurred. Standard error output
KFCA01972-E Log service has not been started. Standard error output
KFCA01973-E Version of logcon command is invalid. Standard error output
KFCA01974-E On active status. Standard error output
KFCA01975-E On inactive status. Standard error output
KFCA01976-E Environment variable has not been set. Standard error output
KFCA01977-E Name service has not been started. Standard error output
KFCA01978-E Specification of a command argument is invalid. Standard error output
KFCA01979-E An option flag is missing, or the combination of option flags is invalid. Standard error output