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

Matrix Reorganization - Calculations

EC035E

A.   Housekeeping

1.   See the Common Processing Routines - Housekeeping section of this manual for a discussion of this subroutine.  Processing specific to this manual is described below.

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

3.   The following information is retrieved from the Reference file (REFERP).

a.   The operating system's file status codes are retrieved from record category 015.  If this record is not found, a message is displayed and the program terminates.

b.   The date format record (category 049) is retrieved.  If this record is not found, a message is sent to the system operator, the date format defaults to MMDDYY, and processing continues.

4.   The company name is retrieved from the company name record (COMNAM) on the System Control file (CT100M).  If this record is not found, the company name defaults to blanks.

B.   Mainline

The following processing occurs for each matrix purged.

1.   The Matrix Header to Purge file (EC120MLP) is read until end of file, and the matrix headers to be deleted are written to the printer file.

2.   The Matrix Detail Lines To Purge file (EC120M2) is read until end of file, and the matrix lines linked to the purged matrix header are written to the printer file.

EC035E Program Menu