Information
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 22.1 for BMC Helix Operations Management.

PSL Data Types and Objects


PSL has five data types:

  • integer
  • hexadecimal literal
  • float
  • string 
  • list

All five types are represented internally as character strings. The following table lists the PSL data types.

Data Type

Example

Representation

integer

3

"3"

float

4.5

"4.5"

string

"abc"

"abc"

list

[ 1, 2, 3 ]

"1\n3\n5"

Note: “\n” is the new-line character.

Variables and values are interpreted as either strings or numbers, whichever is appropriate to the context. A scalar (integer or float) is interpreted as true in the Boolean sense if it is not a null string or 0. Booleans returned by operators are 1 for true and 0 or “” (the null string) for false.

Where to go from here

PSL-Data-Types-and-Operators 

 

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

BMC PATROL Agent 22.1