Previous Topic: &LOGREAD

Next Topic: &LOOPCTL


&LOGREPL

Replaces the text of the last log message delivered to LOGPROC.

&LOGREPL [ USER=userid ]
         [ NODE=luname ]
           DATA=message text

Used within the LOGPROC procedure to change the text for a message delivered for processing by &LOGREAD, and returns the message for standard log processing.

Operands:

USER=userid

If specified, indicates the new user ID to which this log message is to be attributed.

NODE=luname

If specified, indicates the new terminal name to which this log message is to be attributed.

DATA=message text

The new message text to be assigned to the message. DATA can only be specified as the last keyword on the statement since the data string is regarded as being everything following the DATA= keyword, to the end of the statement.

Examples: &LOGREPL

&LOGREPL USER=CHIEFOP DATA=**MESSAGE TEXT SUPPRESSED** &TIME

Note:

&LOGREPLs issued when no message is currently being processed by LOGPROC are ignored.

More information:

&LOGREAD

&LOGDEL

&LOGCONT