|
ROOT=root, IN=SAS-data-set, LEV=variable, COMP=variable, |
QUANTITY=variable, QTYPROD=variable, RID=variables, |
|
QTYUSED=qtyused, OUT=SAS-data-set, DROP=variables); |
constructs a summarized where-used list for a given item referred to as the item Root, which lists all parent items in which the item Root is directly or indirectly used and the required quantities. Unlike the indented where-used list, it does not list the levels of manufacture (Cox and Blackstone 1998). The parameters for this macro are as follows:
The input data set of this macro is the Indented BOM data set described in Input Data Sets. The following parameters specify the variables in the input data set that are required by the %BOMRSUW
macro.
A character or numeric variable that contains the part number of the component.
A numeric variable that contains the indenture level information.
A numeric variable that contains the quantity per product information.
The following parameters specify the variables in the Indented BOM input data set that are used by the macro, if they can be found in the data set.
A numeric variable that contains the quantity per assembly information. This variable is only needed in creating the default drop variables.
Variables that contain product structure information, except for those specified in the COMP= or QUANTITY= parameters. These variables are only needed in creating the default drop variables.
Variables that you do not want to be included in the output data set. These variables are optional.
The output data set contains the summarized where-used list for the item Root. This data set has the same variables as the Indented BOM data set, except for the variables specified in the DROP= parameter. The output data set contains a new variable with the name specified by the following parameter:
A numeric variable that contains the total quantities of the item Root used, directly or indirectly, in the item identified by the Component variable.
Upon completion, this macro defines a macro variable, _BOMRSUW_
, which contains a character string that indicates the status of the macro execution. See Macro Variables for the possible values of this macro variable.
The following statement constructs a summarized where-used list for the item '1400
' from the Summarized BOM data set as displayed in Figure 4.1.
%bomrsuw(root='1400', in=IndBOM, quantity=QtyPer, qtyused=QtyUsed, rid=SDate EDate LTOff Fscrap, out=BomOut6);
The summarized where-used list for the item '1400
' is displayed in Figure 4.7. Note that a summarized where-used lists a parent item only once for the total quantity of the given component (the item
'1400
' in this example) used by the parent item. For example, the item 'LA01
' uses units of the item '1400
', units for making the item 'B100
' and for making '1500
'. However, the summarized where-used list displayed in Figure 4.7 shows that the item '1500
' uses units of '1400
'. This is because another units are used in the bill of material for the end item 'A101
'.
Figure 4.7: Summarized Where-Used List for Item 1400 (BomOut6)
ABC Lamp Company |
%BOMRSUW macro |
Summarized Where-Used List, Part 1400 |
_Part_ | Desc | Unit | LeadTime | QtyUsed |
---|---|---|---|---|
1500 | Steel holder | Each | 2 | 4 |
A100 | One-way socket assem. | Each | 1 | 2 |
A101 | Three-way socket assem. | Each | 1 | 2 |
B100 | Base assembly | Each | 1 | 4 |
LA01 | Lamp LA | Each | 2 | 6 |