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.

exit_status--System Return Code Variable


The PSL exit_status variable stores the exit status of a process invoked from a system(), popen("OS",) or execute("OS",) function. The user cannot write the exit_status variable.

The popen() function with an OS command type can set the exit_status variable asynchronously whenever its operating system child process dies. It is possible (although unlikely) that the popen() function could set exit_status after a system() or execute() function concludes but before exit_status is read for the system() or execute() call.

Where to go from here

Diagnosing-PSL-Program-Errors

 

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