Documentation >
MAC-PAC Technical Library >
Financial >
Inventory Accounting >
Programs >
Housekeeping - Purpose >
Housekeeping - Calculations
Housekeeping - Calculations
IAHousekeeping
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. 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.
b. User/Company Authorization (category 409).
c. 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.