get()
Return the current value of a variable.
Syntax
get(variable)
Parameter
Parameter | Definition |
---|---|
variable | name of the variable whose current value will be returned |
Description
The get() function returns the current value of variable. If variable is a relative name and does not exist in the context of the PSL script, the get() function successively searches each ancestor's context until variable is found or until the search fails in the context of the computer.
Example
The following example returns the current status of RDB database Dev.
get ("/RDB/Dev/status");
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*