To get the current status of a CCMS alert from HCL Workload Automation,
use the external task Get Information (GI). To replace the command
arguments with the actual values, refer to the output returned by
the event rule you defined. For details about the correspondence between
the CCMS properties and the Console and composer properties, see Alert properties for correlations.
From
a command line, enter the following command: Figure 1. Command syntax
Where:
-t GI
Identifier of the task to be performed, in this case GI (Get Information).
-c Agent_name
The name of the dynamic agent workstation, or the unique identifier for the
extended agent workstation connected to the SAP system where the MTE for which
the alert was raised is located. For information about retrieving the unique identifier for the
extended agent workstation, see UNIQUE_ID.
-t GAS
Identifier of the task to be performed, in this case GAS (Get
Alert Status).
-alsysid sap_system_ID
Identifier of the SAP system
where the MTE for which the alert was raised is located. If the name
contains blanks, enclose it between single quotes.
-msegname alert_monitoring_segment
Name of the alert monitoring segment. You can specify from 1 to
40 characters.
-aluniqnum alert_UID
Unique identifier of the alert, made up of 10 characters.
-alindex alert_index
Alert index, made up of 10 characters.
-alertdate alert_date
Date of the alert, in the format yyyymmdd.
-alerttime alert_time
Time of the alert, in the format hhmmss.
The following is an example of how to retrieve the current status of a CCMS alert: