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. Open link

PSL String Literals

String literals are delimited by double quotation marks. String literals can be multiline, causing the new-line characters to become part of the string. The backslash rules apply for escaping characters (such as the backslash or the quotation mark) and for making characters such as newline or tab. The following table lists the string literals currently supported in PSL.

\A . . . \ZCtrl-A . . . Ctrl-Z

Control characters can be embedded in PSL string constants using \A through \Z to represent Ctrl-A through to Ctrl-Z. A capitalized letter must always be used; lowercase letters other than those already defined (that is, t, n, r, or b) are not valid as escapes and will generate a PSL compilation warning. When using a \ (backslash) in a string literal, two \\ (backslashes) must be used because the first will be interpreted as a control character, and the second will be used as part of the string.
A path for a Windows host is represented in a PSL string as follows:
The above string will be interpreted as the following:

Where to go from here

PSL Data Types and Objects

Was this page helpful? Yes No Submitting... Thank you