MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Technical Library > Distribution > Expert Configurator > Programs > Housekeeping - Purpose > Housekeeping - Calculations

Housekeeping - Calculations

Housekeeping

1.   Work fields are defined and program constants are initialized.

2.   Parameter lists are set up for each program that is passed parameters by the calling control language program.  The fast path parameter list is set up for all online programs.

3.   Key lists are set up for each keyed file that is accessed by the program.

4.   The default Company Name is retrieved from the company name record (COMNAM) on the System Control file (CT100M) for output on reports.  If this information is not found, a message is sent to the system operator, a default message is used, and processing continues.

5.   Various information is retrieved from the Reference file (REFERP).  Some common reference file records retrieved are:

a.   Entity Name (category 002).

b.   Date Format (category 049).  If this record is not found, the default format (MMDDYY) is used, a message is sent to the system operator, and processing continues.

c.   User/Company Authorization (category 409).

d.   Workstation Assignment (category 428).

6.   Reference File data is loaded into validation arrays.

7.   The system time and date are retrieved for reports.  The workstations and user Reference-ID are retrieved for screen defaults.

8.   The Program Status field (PGMSTS) is set to direct program processing.

Housekeeping Program Menu