MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Technical Library > Distribution > Synchro > 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 operating system's file status code is retrieved from the Reference File (category 015).  If this record is not found, the program terminates.

5.   The date format record (category 049) is retrieved from the Reference file for almost every program.  If this record is not found, a message is sent to the system operator, the date format defaults to MMDDYY, and processing continues.

6.   The system time and date are retrieved.  The workstations and user Reference ID are retrieved for screen defaults.

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

Housekeeping Program Menu