[Info-vax] Entering simple log message in operator.log from DCL ?
Phillip Helbig---undress to reply
helbig at astro.multiCLOTHESvax.de
Fri Aug 24 06:19:32 EDT 2012
In article <k17gdb$ev2$1 at news.albasani.net>, Jan-Erik Soderholm
<jan-erik.soderholm at telia.com> writes:
> Is there a simple way to enter simple log messages
> into operator.log from DCL ?
Yes.
> Some batch jobs we have use a '$ REPLY/TO=OPA0: "Job XYZ started"'
> but there is nothing saving output sent to OPA0:.
Really?
REPLY
/TO
/TO=identification-number
$ REPLY/TO=OPA0: "Job XYZ started"
%DCL-W-NUMBER, invalid numeric value - supply an integer
\OPA0:\
> Is there some variation of REPLY (or something else from DCL) that
> will write a custom made entry to operator.log ?
REQUEST?
REQUEST
Displays a message at a system operator's terminal and optionally
requests a reply. All messages are logged at the operator's
console and in the operator's log file, if that file is
initialized.
To use this command, you must start the operator communication
process (OPCOM) at boot time by specifying the DCL command
@SYS$SYSTEM:STARTUP OPCOM in the site-specific startup command
file, SYS$MANAGER:SYSTARTUP.COM.
Format
REQUEST message-text
$ req/to=central test
$ typ/tail cluster_manager:operator_node1.log !I don't use the default location or names
%%%%%%%%%%% OPCOM 24-AUG-2012 12:11:14.26 %%%%%%%%%%% (from node NODE3 at
24-AUG-2012 12:11:14.27)
Message from user INTERnet on NODE3
INTERnet ACP SMTP Accept Request from Host: 210.239.55.23 Port: 3022
%%%%%%%%%%% OPCOM 24-AUG-2012 12:13:11.08 %%%%%%%%%%% (from node NODE3 at
24-AUG-2012 12:13:11.10)
Message from user FOOBAR on NODE3
_NODE3$LTA5024:, TEST
More information about the Info-vax
mailing list