Documentation >
MAC-PAC Technical Library >
Manufacturing >
Master Scheduling >
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 that are retrieved include:
a. Entity Name (category 002).
b. Applications Installed (category 012).
c. 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.
d. Buyer/Analyst Codes (category 235) are used to retrieve and validate planners.
e. Order Policy Codes (category 404).
f. Part Types (category 405).
6. Reference File data is loaded into validation arrays.
7. The system line and date are retrieved for reports. The workstation and user Reference-IDs are retrieved for screen defaults.
8. The Program Status field (PGMSTS) is set to direct program processing.