File Name
Syntax
Cmn_Get_Sai_App_Params( application_id, sectionName, paramName, defVal, retVal);
Parameters
application_id - example, 1 for Tivoli Problem Management
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 enables migration processing.
Dialog Forms Called
None
File Name
Syntax
Cmn_Set_Sai_App_Params( application_id, sectionName, paramName, paramValue );
Parameters
application_id - example, 1 for Tivoli Problem Management
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
File Name
Syntax
boolRet:= FindCoreParameter ( args, argName, parmValue );
Parameters
CoreParameterRec - list of parameter values that are
used as the lookup list
- the argument switch to search for
in the lookup list
- parameter value associated with the
argument for which a search is requested
Returns
TRUE - The parameter was found in the list and any value
that is assowciated with it is stored in the parmValue
parameter.
FALSE - The parameter was not found in the list.
Side Effects
None
Description
This function searches a list of record for an argument value that is stored in argName. If found, it stores the actual value for this argument in the parmValue parameter.
Dialog Forms Called
None
File Name
Syntax
None
Parameters
None
Returns
None - sets up global variables used in GMT conversion
Side Effects
None
Description
Gets time zone information.
Dialog Forms Called
None
File Name
Syntax
None
Parameters
Returns
None
Side Effects
None
Description
This procedure sets the two global database identifier variables. g_DBMS contains the value returned by TSD Developer's Toolkit. g_DBMS_VENDOR is then set based upon that value.
Dialog Forms Called
None
File Name
Syntax
ParseArgs( Args, Params, Values );
Parameters
Args - list of command line arguments
Returns
Params - a list of single character parameters;
Values - a list of the values for each parameter
Result: Returns a null string if successful, an error message
otherwise.
Side Effects
None
Description
This function parses the parameters passed on the command line and returns a list of parameters along with a list of values. Syntax of parameters may be: -a /a -a:value /a:value -a value /a value -avalue /avalue where a is any alpha character as defined in LANGUAGE:LANG_ALPHA_CHARS and value is a string composed of alpha characters. The value may include spaces.
Dialog Forms Called
None
File Name
Syntax
ParseCoreParameters ( cmdArgs, args );
Parameters
List of string - List of command switches that
have been passed on the command
line. One switch per string.
List of CoreParameterRec - List of parameter values that
will store the parsed values from
the cmdArgs parameter.
Returns
Nothing
Side Effects
None
Description
This function divides a list of command switches and stores each switch as a seperate member in the args record list. Each paramter that is parsed has two parts, the argument name and an optional value.
Dialog Forms Called
None
File Name
Syntax
QueryGroupsForUser ( user_id, groupList );
Parameters
String - User ID to search for groups in which this ID
is a member.
List of string - List of groups in which this user is a
member.
Returns
Nothing
Side Effects
None
Description
This function is used to load all groups in which the user_id is a member. It will populate the List of string reference parameter with each group_id that the user_id parameter is a member of.
Dialog Forms Called
None
File Name
Syntax
None
Parameters
Time stamp normalized to PC time
Returns
Time stamp normalized to GMT
Side Effects
None
Description
The database stores the data in an HH:MM format so 430 is 4 hours and 30 min, not 430 minutes. Also the correction time is an integer that represents minutes.
Dialog Forms Called
None