File Name
Syntax
CodeUsedByChanges(VAL w: WINDOW, VAL field_Name: STRING, VAL type: INTEGER):BOOLEAN IS
Parameters
w - Current window
field_Name - Name of dialog box field
type - Type of code to check
Returns
Boolean
Side Effects
None
Description
This routine checks wheter the given code is being used by a change request.
Dialog Forms Called
None
File Name
Syntax
CodeUsedByModels(VAL w: WINDOW, VAL field_Name: STRING, VAL type: INTEGER):BOOLEAN IS
Parameters
w - Current window
field_Name - Name of dialog box field
type - Type of code to check
Returns
Boolean
Side Effects
None
Description
This routine checks if the given code is being used by a model.
Dialog Forms Called
None
File Name
Syntax
CommandRecordDatabase(VAL InTran: BOOLEAN, VAL this_Command: COMMANDS_REC ): INTEGER IS
Parameters
InTran - Flag to determine if currently in a transaction
this_Command - Command record to be handled
Returns
Integer
Side Effects
None
Description
This function handles the addition, modification, and removal of commands.
Dialog Forms Called
None
File Name
Syntax
CommandUsedByChangeRule(VAL w: WINDOW, VAL field_Name: STRING): BOOLEAN IS
Parameters
w - Current window
field_Name - Name of CCB MCLB
Returns
Boolean
Side Effects
None
Description
This function finds the change_id, model_id, and rule_id for a given command.
Dialog Forms Called
None
File Name
Syntax
FindCommandInList(VAL thisCommand: COMMANDS_REC ): COMMANDS_REC IS
Parameters
thisCommand - Current commands record
Returns
Commands_Rec
Side Effects
None
Description
This routine finds the current command in a list of cached commands.
Dialog Forms Called
None
File Name
Syntax
ImpCategoryRecordDatabase(VAL InTran: BOOLEAN, VAL this_ImpCategory: IMP_CAT_REC, VAL old_ImpCategory: IMP_CAT_REC ): INTEGER IS
Parameters
InTran - Flag to determine if within a transaction
thisImpCategory - Impact code record to be handled
old_ImpCategory - Old record for database concurrency
Returns
Integer
Side Effects
None
Description
This routine handles the addition, modification, and removal of impact codes.
Dialog Forms Called
None
File Name
Syntax
LoadExitCommands(REF commands: LIST OF COMMANDS_REC): INTEGER IS
Parameters
commands - List of available commands
Returns
Integer
Side Effects
None
Description
This routine loads a list of available commands.
Dialog Forms Called
None
File Name
Syntax
LoadImpCategoryCodes( REF codes: LIST OF IMP_CAT_REC ): INTEGER IS
Parameters
codes - list of available impact codes
Returns
Integer
Side Effects
None
Description
This routine loads available impact codes.
Dialog Forms Called
None
File Name
Syntax
LoadPrefList(REF prefs: LIST OF PREFERENCES_REC): INTEGER IS
Parameters
prefs - List of available preferences
Returns
Integer
Side Effects
None
Description
This routine loads a list of available preference codes.
Dialog Forms Called
None
File Name
Syntax
LoadRiskCodes(REF codes: LIST OF RISK_REC): INTEGER IS
Parameters
codes - List of available risk codes
Returns
Integer
Side Effects
None
Description
This routine loads a list of available risk codes.
Dialog Forms Called
None
File Name
Syntax
LoadStatusCodes(REF codes: LIST OF STATUS_REC): INTEGER IS
Parameters
codes - List of status codes found
Returns
Integer
Side Effects
None
Description
This routine loads a list of current status codes.
Dialog Forms Called
None
File Name
Syntax
ParameterRecordDatabase(VAL InTran: BOOLEAN, VAL this_Parameter: PARAM_REC, VAL old_Parameter: PARAM_REC): INTEGER IS
Parameters
InTran - Flag to determine if already in a transaction
this_Parameter - Parameter record to be handled
Returns
Integer
Side Effects
None
Description
This routine handles the addition, modification, and removal of parameters.
Dialog Forms Called
None
File Name
Syntax
PreferencesRecordDatabase(VAL InTran: BOOLEAN, VAL this_Preference: PREFERENCES_REC, VAL old_Pref: PREFERENCES_REC): INTEGER IS
Parameters
InTran - Flag to determine if within a transaction
this_Preference - Risk record to be handled
old_Pref - Old record used for database concurrency
Returns
Integer
Side Effects
None
Description
This routine handles the addition, modification, and removal of risk codes.
Dialog Forms Called
None
File Name
Syntax
RiskRecordDatabase(VAL InTran: BOOLEAN, VAL this_Risk: RISK_REC, VAL old_Risk: RISK_REC): INTEGER IS
Parameters
InTran - Flag to determine if already in a transaction
this_Risk - Risk record to be handled
old_Risk - Old record used for database concurrency
Returns
Integer
Side Effects
None
Description
This routine handles addition, modification, and removal of risk codes.
Dialog Forms Called
None
File Name
Syntax
StatusRecordDatabase(VAL InTran: BOOLEAN, VAL this_Status: STATUS_REC, VAL old_Status: STATUS_REC): INTEGER IS
Parameters
InTran - Flag to determine if within a transaction
this_Status - Status record to be handled
old_Status - Old record used for concurrency
Returns
Integer
Side Effects
None
Description
This routine handles addition, modification, and removal of status codes.
Dialog Forms Called
None