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 IDDescriptionOutput destination
KFCA01951-EMemory is inadequate.Standard error output
KFCA01952-EError occurred in log service.Standard error output
KFCA01970-IHelp messageStandard output,
standard error output
KFCA01971-ECommunication error occurred.Standard error output
KFCA01972-ELog service has not been started.Standard error output
KFCA01973-EVersion of logcon command is invalid.Standard error output
KFCA01974-EOn active status.Standard error output
KFCA01975-EOn inactive status.Standard error output
KFCA01976-EEnvironment variable has not been set.Standard error output
KFCA01977-EName service has not been started.Standard error output
KFCA01978-ESpecification of a command argument is invalid.Standard error output
KFCA01979-EAn option flag is missing, or the combination of option flags is invalid.Standard error output