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: CcnfSetParameterInt function
This example uses a comstore parameter that is described in the chapter Mapping Between asm.cnf and comstore.xml in the Implementation Guide.
if CcnfSetParameterInt("itrm/usd/shared/localtimedeviation ", 9) then
Print("value of itrm/usd/shared/localtimedeviation was modified" )
else
Print("CcnfSetParameterInt failed")
Endif
|
Copyright © 2013 CA.
All rights reserved.
|
|