Re: command to create an activity log entry
2000-12-15 16:12:03
In 4.1 there is a new Issue Message command - not sure if this would do what
you want.
From the TSM 3.7.3 and 4.1 Technical Guide Red book:
The objective of this new parameter is to allow for user defined messages to
be
issued from a server script to determine, if there is a problem with the
command
in the script. This allows for the a server script to indicate the outcome
of an
action. Message numbers are predefined for specific severity levels.
The new Tivoli Storage Manager scripting command is:
*ISSUE MESSAGE message_severity message_text
Where:
message_severityspecifies the severity of the message. The message
severity indicators are:
* E = Error. ANR1498E is displayed in the message text.
* I = Information. ANR1496I is displayed in the message text.
* S = Severe. ANR1499S is displayed in the message text.
* W = Warning. ANR1497W is displayed in the message text.
Where:
message_text specifies the description of the message.
The issue message command can only be used in conjunction with the return
code function and can only be used in a script.
The issue message function can be used in a server script to quiesce a
database.
For example, a script results in a non-zero return code. Use the ISSUE
MESSAGE
command to determine the severity of the return code and the message
description.
Tim Rushforth
City of Winnipeg
trushfor AT city.winnipeg.mb DOT ca
|
|
|