Routines for tpm_dpr.kb


CountWorkHist

File Name

tpm_dpr.kb

Syntax

r:= CountWorkHist(VAL prob_id:STRING );

Parameters

prob_id, id of the problem to act upon

Returns

the count of the number of work history records associated

with the problem passed in.

Side Effects

None

Description

This function returns the number of work history records associate with a particular problem

Dialog Forms Called

None


Initialization

File Name

tpm_dpr.kb

Syntax

Initialization;

Parameters

None

Returns

Nothing

Side Effects

initializes global printing variables

Description

This procedure initializes the global variables used in this module.

Dialog Forms Called

None


PrintReportBody

File Name

tpm_dpr.kb

Syntax

PrintReportBody;

Parameters

None

Returns

Nothing

Side Effects

None

Description

This procedure prints the main text of the report

Dialog Forms Called

None


PrintReportTitle

File Name

tpm_dpr.kb

Syntax

PrintReportTitle;

Parameters

None

Returns

Nothing

Side Effects

None

Description

This procedure prints the title bar for the report

Dialog Forms Called

None


ProcessRecord

File Name

tpm_dpr.kb

Syntax

ProcessRecord;

Parameters

None

Returns

Nothing

Side Effects

None

Description

This procedure prints an individual record

Dialog Forms Called

None


ProcessWorkHist

File Name

tpm_dpr.kb

Syntax

ProcessWorkHist(VAL prob_id:STRING, ref worklist: list of workhistrec );

Parameters

prob_id: id of the problem to act upon

worklist: list of work history records for the problem passed in

Returns

all of the work history records associated with the

problem passed in.

Side Effects

None

Description

This procedure returns the work history records associate with a particular problem

Dialog Forms Called

None


ReportMain

File Name

tpm_dpr.kb

Syntax

ReportMain;

Parameters

None

Returns

Nothing

Side Effects

None

Description

This procedure prints a detailed problem report

Dialog Forms Called

watchdog.dfc[already_running]

watchdog.dfc[watchdog]


ResetValuesInArray

File Name

tpm_dpr.kb

Syntax

ResetValuesInArray(VAL level:Integer);

Parameters

level: starting possition in arrays to assign

Returns

Nothing

Side Effects

updates several global variables

Description

This procedure updates several global variables beginning with the one designated by the value of level and ending with the highest one.

Dialog Forms Called

None


UpdateArrayValues

File Name

tpm_dpr.kb

Syntax

UpdateArrayValues;

Parameters

None

Returns

Nothing

Side Effects

updates several global variables

Description

This procedure updates several global variables

Dialog Forms Called

None