This site will undergo a maintenance outage on Saturday, 13 September beginning at 2:30 AM Central/1 PM IST for a platform upgrade. The downtime will be ~three hours.

Important This documentation space contains information about PATROL Agents when deployed in a TrueSight Operations Management environment. If you are a BMC Helix Operations Management user, see PATROL Agent 23.1 for BMC Helix Operations Management.

Arithmetic Operators


For arithmetic operators, an operand is considered a number if its first character is a digit or a minus sign (–). Otherwise, it is considered a string and converted to 0 for an empty string or 1 for a non-empty string. The use of a non-number in an arithmetic context may result in a run-time warning, as discussed in PslDebug-Run-Time-Error-Checking-Variable. The following table lists the PSL arithmetic operators.

Operator

Definition

+

addition

-

subtraction

/

division

*

multiplication

%

modulus

 

Where to go from here

PSL-Operators

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*