Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The BOM Procedure

STRUCTURE Statement

STRUCTURE / options ;

The STRUCTURE statement lists the variables in the input data set (the Single-level BOM data set). You should specify the Part variable and at least one Component variable. All other variables are optional.

COMPONENT=(variables)
COMP=(variables)
specifies variables in the input data set that name all of the components directly used in the item identified by the Part variable. These variables are also referred to as Component variables. The Component variables must be of the same type and length as the Part variable. At least one Component variable must be specified.

ID=(variables)
identifies all variables not specified in the COMPONENT=, LEADTIME=, PART=, QTYONHAND=, QUANTITY=, or REQUIREMENT= options that are to be included in the Indented BOM and the Summarized BOM output data sets. These variables are also referred to as ID variables. The ID= option is useful for carrying any relevant information about each part (identified by the Part variable) from the Single-level BOM data set to the output data sets. The ID variables cannot be named as: Gros_Req, _Level_, Low_Code, Net_Req, On_Hand, Qty_Per, Qty_Prod, _Parent_, Paren_ID, _Part_, Part_ID, _Prod_, and Tot_Lead.

LEADTIME=variable
DUR=variable
identifies the variable in the input data set that contains the lead time information about the part identified by the Part variable. This variable is also referred to as the LeadTime variable. The lead time of a part is the length of time between recognition of the need for an order of this part and the receipt of the parts. The variable specified must be numeric. If you do not specify this option, PROC BOM assumes the lead time for each part to be 0. The information in the LeadTime variable is carried to the Indented BOM output data set. Moreover, the procedure creates a new variable, Tot_Lead, for the Indented BOM data set if this option is specified.

PART=variable
ITEM=variable
specifies the variable in the input data set that names the parent item. This variable is also referred to as the Part variable. The Part variable can be either character or numeric. You must specify the PART= option in the STRUCTURE statement. All the information specified by the ID variables corresponds to the part identified by the Part variable. All the information of the Part variable, except the name of the variable, is carried to the Indented BOM and the Summarized BOM output data sets. The name of this variable is changed to _Part_ in both output data sets.

QTYONHAND=variable
INVENTORY=variable
identifies the variable in the input data set that contains the quantity currently on hand for the part identified by the Part variable. This variable is also referred to as the QtyOnHand variable. The QtyOnHand variable must be numeric. If you do not specify the QtyOnHand variable, the procedure assumes that you do not have any items on hand. The information of the QtyOnHand variable is carried to the Summarized BOM output data set if the SUMMARYOUT= option is specified. A new variable, On_Hand, is created for the Summarized BOM data set if this option is omitted.

QUANTITY=(variables)
QTYPER=(variables)
identifies variables in the input data set that contain the quantity of items identified by the Component variables required to make 1 unit of the item identified by the Part variable. These variables are also referred to as the Quantity or QtyPer variables. The variables specified must be numeric and the number of Quantity variables must be equal to the number of Component variables. If you do not specify these variables, the procedure assumes that you need 1 unit for each component to make 1 unit of any parent item. In addition, the procedure creates a new variable, Qty_Per, for the Indented BOM data set. The information of the Quantity variables is carried to the Indented BOM output data set if this option is specified.

REQUIREMENT=variable
GROSSREQ=variable
identifies the variable in the input data set that contains the gross requirement of the part identified by the Part variable. This variable is also referred to as the Requirement variable. The Requirement variable must be numeric. If you do not specify this option, the procedure assumes that the gross requirement for all parts are missing except for the final products. All final products are assumed to have gross requirements of 1 unit. In addition, if you do not specify this option but the SUMMARYOUT= option is specified, PROC BOM creates a new variable, Gros_Req, for the Summarized BOM output data set.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 2000 by SAS Institute Inc., Cary, NC, USA. All rights reserved.