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

print()


Print text to a computer output window on the PATROL Console.

Syntax

print(text1,[...,textn])

Parameter

Parameter

Definition

text1...textn

one or more text strings or variables containing a text string to be output by the print() function

Description

The print() function prints text1...textn to the computer system window on the PATROL Console. If the PSL script is a task, the output of the print() function is directed to the task's own window. The print() function always returns the NULL string.

Example

Each of the following print() functions displays the phrase "Hello World!" to the computer system window on the PATROL Console:

print ("Hello ","world!","\n");
print("Hello world!\n");
print("Hello ");
print("world!");
print("\n");

 

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