Valid on Windows and UNIX
The CcnfSetParameterInt function modifies the value of an existing integer type common configuration parameter.
This common configuration parameter function has the format:
CcnfSetParameterInt(Parametername as string, Value as integer) as boolean
Parametername
Name of a Common Configuration Parameter including its absolute path, for example: "itrm/rc/protocols/tcp/connectiontimeout"
Value
String value of Parametername
The return value of the function is a boolean. If successful, the function returns TRUE. If the function is not successful, an error is reported in the log file.
The correctness of the value is not verified.
Example:
This example uses a comstore parameter:
if CcnfSetParameterInt("itrm/usd/shared/localtimedeviation ", 9) then
Print("value of itrm/usd/shared/localtimedeviation was modified" )
else
Print("CcnfSetParameterInt failed")
Endif
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|