MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Technical Library > Manufacturing > CONBON > Programs > CONBON Analysis Report Print - Purpose > CONBON Analysis Report Print - Calculations

CONBON Analysis Report Print - Calculations

CB520E

A.   Housekeeping

1.   Refer to the Housekeeping Section within Common Processing Routines for a general discussion of this subroutine.  Processing specific to this program is described below.

2.   The Company name (COMNAM) is retrieved from the System Control file (CT100M).

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

a.   The operating system's file status codes (category 015) are retrieved.  If the record is not found, a message is sent to the system operator and the program terminates.

b.   The date format (category 049) is retrieved to determine the date format.  If this record is not found, the date format defaults to MMDDYY.

c.   The user authorization (category 409) is retrieved to determine which plants the user is authorized to.

B.   Mainline

1.   The CONBON Analysis Report Request file (CB320AP) is read by output queue (COUTQ).  If no transaction is found, an error message is written to the Exception report (CB520PF2), and processing ends.

2.   The production center is validated against the Production Center Master file (JT180M).  If the production center is not on file, an error message is written to the Exception report (CB520PF2) and processing continues to read the next record (if any) from the CONBON Analysis Report Request file (CB320AP).

3.   For each production center, one, more than one, none, or all of the following reports may be produced:

·     CON Analysis Detail

·     CON Analysis Net Change

·     BON Analysis Detail

·     BON Analysis Net Change

·     Single Card Analysis Detail

·     Single Card Net Change

4.   For each Analysis report, the number of CONs, BONs, or single cards for authorized quantity, safety stock quantity, queue quantity, cycle quantity, and current quantity are calculated by the following formula:

Number of Cards* = Quantity/Container Quantity

* the number of cards is rounded-up.

Number of SETUPS is calculated to indicate the number of times in one day the cell will be set up to produce the part:

Number of SETUPS            =          PRODUCTION RATE
                                          AUTHORIZED QUANTITY

CON turns are calculated to indicate the number of times the suggested number of CON cards must be used to satisfy production requirements for the part within the production interval.

CON Turns  =          Production Rate/Container Quantity
                              Suggested Number of CON Cards

5.   After all analysis reports have been printed for a production center in the given plant, an end of production center line is printed and processing continues.  The next record in the Production Center Master file (JT180M) is read if all production centers are requested.  Otherwise, the next record in the CONBON Analysis Report Request file (CB320AP) is read.  If no more records exist in the CONBON Analysis Report Request file (CB320AP), processing ends.

CB520E Program Menu