System Debug Reference Manual (32650-90888)
Chapter 11 487
System Debug Standard Functions
func civar
SYMBOLIC Functions
The formal declaration of functions are presented with the following format:
function_name
:
function_return_type
(
function_ parameters
)
The function parameters are presented as follows:
parm_name
:
parm_type
[=
default_parm_value
]
func civar
Returns the current value of a CI (MPE XL Command Interpreter) variable.
Syntax
civar (
civarname
[
stropt
])
This function is implemented by calling the HPCIGETVAR intrinsic.
Formal Declaration
civar:any (
civarname
:str [
stropt
:str="NOEV"])
STRPOS : U16 Locates a substring within a string
STRRPT : STR String repeat
STRRTRIM : STR Removes trailing blanks from a string
STRUP : STR Upshifts a string
STRWRITE : STR Builds a string from a value list
Name Type Description
SYMADDR : U32 Returns the offset within a type to the specified symbolic field
SYMCONST : ANY Returns the value of a declared constant
SYMINSET : BOOL Tests for set inclusion
SYMLEN : U32 Returns the length of the field based on a symbolic path
SYMTYPE : STR Returns the symbolic type based on a symbolic path
SYMVAL : ANY Returns the value found at a virtual address based on a symbolic path
Name Type Description