Valid on Windows and UNIX
The CcnfGetParameterInt function reads the common configuration parameter integer value.
Function format:
CcnfGetParameterInt(Parametername as string, Value as integer) as Boolean
Defines the name of a common configuration parameter including its absolute path (for example: "itrm/rc/protocols/tcp/connectiontimeout").
Defines the integer value of Parametername.
The return value of the function is Boolean. If the function is successful, it returns TRUE and value contains the value of Parametername. If the function is not successful, an error is reported in the log file.
Example:
This example uses a comstore parameter:
Dim pNum as integer
if CcnfGetParameterInt("itrm/usd/shared/localtimedeviation ", pNum) then
Print("itrm/usd/shared/localtimedeviation = """ + val(pNum) + """" )
else
Print("CcnfGetParameterInt failed")
endif
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|