The BOM Procedure

PROC BOM Statement

PROC BOM options ;

The PROC BOM statement invokes the procedure. You can specify the following options in the PROC BOM statement.

DATA=SAS-data-set
PSDATA=SAS-data-set

names the input SAS data set that contains all the product structure records (parent-component relationship, quantity per assembly, scrap factor, and so on.) for a product, product line, plant or company. More than one product structure record can be specified in one observation if they have the same parent item. This data set is also referred to as the Product Structure data set, the Single-Level BOM data set, or the Parent-Component Relationship Structure data set. See the section Product Structure Data Set for information about the variables that can be included in this data set. If you do not specify the DATA= option, PROC BOM uses the most recently created SAS data set as the input data set.

DUPLICATE=dup

specifies how to handle identical product structure records in the Product Structure data set. Two product structure records are called identical if they have exactly the same values for the parent, component, lead-time offset, and all the RID variables. The values allowed for this option are

COMBINE

combines the values of the quantity per assembly and scrap factor of all identical product structure records together. See the section Product Structure Data Set for details about how the procedure combines identical product structure records. The default value is COMBINE.

DISCARD

discards all identical product structure records except the first one.

KEEP

keeps all identical product structure records.

NOUTIL

specifies that the procedure should not use utility data sets for memory management. By default, the procedure resorts to the use of utility data sets and swaps between core memory and utility data sets as necessary if the number of part master or product structure records in the input data sets is larger than the number of part master or product structure records for which memory is initially allocated in core. Specifying this option causes the procedure to increase the memory allocation; if the problem is too large to fit in core memory, PROC BOM stops with an error message.

NPARTS=nparts

specifies the number of part master records for which memory is initially allocated in core by the procedure. This enables PROC BOM to make better use of available memory. See the section Computer Resource Requirements for details. The default value is the number of observations in the Part Master data set.

NRELTS=nrelts
NRELATIONSHIPS=nrelts

specifies the number of product structure records for which memory is initially allocated in core by the procedure. This enables PROC BOM to make better use of available memory. See the section Computer Resource Requirements for details. The default value is nobs $\times $ ncomp, where nobs is the number of observations in the Product Structure data set and ncomp is the number of the Component variables.

OUT=SAS-data-set
INDBOM=SAS-data-set

specifies a name for the output SAS data set that contains the indented bill of material for all final products in the input data sets or all end items specified in the ENDITEM= option. This data set is also referred to as the Indented BOM data set. See the section Indented BOM Data Set for information about the variables that are included in this data set. If the OUT= option is omitted, the SAS System creates a data set and names it according to the DATAn naming convention.

PMDATA=SAS-data-set
PMASTER=SAS-data-set

names the input SAS data set that contains all the part (item) master records for a product, product line, plant or company. Each observation in this data set contains one part master record. This data set is also referred to as the Part Master data set. See the section Part Master Data Set for information about the variables that can be included in this data set. If you do not specify the PMDATA= option, PROC BOM assumes that the part master data are also included in the Product Structure input data set.

SUMMARYOUT=SAS-data-set
SUMPART=SAS-data-set

specifies a name for the output SAS data set that contains the summarized parts list for the production plan specified in the Part Master data set. This data set is also referred to as the Summarized Parts data set. See the section Summarized Parts Data Set for information about the variables that are included in this data set. If the SUMMARYOUT= option is omitted, PROC BOM does not produce the summarized parts list.