Routines for c_params.kb


Cmn_Get_Sai_App_Params

File Name

c_params.kb

Syntax

Cmn_Get_Sai_App_Params( application_id, sectionName, paramName, defVal, retVal);

Parameters

application_id - example, 1 for TPM

sectionName - example, 'CALLCFG'

paramName - example, 'CLEAR_RESULT'

defVal - the default value if not found

retVal - the value of the paramvalue.

Returns

None

Side Effects

None

Description

This procedure is created to aid migration. This procedure returns the parameter value.

Dialog Forms Called

im4t.dfc[cfg_server]


Cmn_Set_Sai_App_Params

File Name

c_params.kb

Syntax

Cmn_Set_Sai_App_Params( application_id, sectionName, paramName, paramValue );

Parameters

application_id - example, 1 for TPM

sectionName - example, 'CALLCFG'

parameterName - example, 'CLEAR_RESULT'

paramValue - the new parameter value

Returns

None

Side Effects

None

Description

This procedure updates the specified parameter.

Dialog Forms Called

None


Get_Sai_App_Params

File Name

c_params.kb

Syntax

Get_Sai_App_Params(application_id, sectionName, paramName, defVal, retVal);

Parameters

application_id - example, 1 for TPM

sectionName - example, 'CALLCFG'

paramName - example, 'CLEAR_RESULT'

defVal - the default value if not found

retVal - the value of the paramvalue.

Returns

None

Side Effects

None

Description

This procedure is created to aid migration. This procedure returns the parameter value.

Dialog Forms Called

None


GetSAIParamsValue

File Name

c_params.kb

Syntax

GetSAIParamsValue( application_id, sectionName, paramName, defVal);

Parameters

application_id - example, 1 for TPM

sectionName - example, 'CALLCFG'

paramName - example, 'CLEAR_RESULT'

defVal - the default value if not found

Returns

None

Side Effects

None

Description

This procedure will return a value from the sai_app_params table or return a default value that the user passed in. It will not insert a new row if no value is found in the sai_app_params table.

Dialog Forms Called

None


Set_Sai_App_Params

File Name

c_params.kb

Syntax

Set_Sai_App_Params(application_id, sectionName, paramName, paramValue);

Parameters

application_id - example, 1 for TPM

sectionName - example, 'CALLCFG'

parameterName - example, 'CLEAR_RESULT'

paramValue - the new parameter value

Returns

None

Side Effects

None

Description

This procedure updates the specified parameter.

Dialog Forms Called

None