IBM 5110 User Manual page 104

Apl
Table of Contents

Advertisement

Now, suppose you want a part inventory report that shows:
• The part number arid name.
• The in-stock and on-order quantities.
• The cost per part.
• The reorder quantity and reorder flag. The reorder flag indicates
that the combined in-stock and on-order quantities are less than the
reorder quantity.
The first step is to determine the headings for the report. In this
example, the following heading is entered:
/
Position 1 on Line 1
HEA[t~"2
~.:;bp
'PART
RDER'I
'NUMBER NAME
QUANTITY
COST
IN-STOCK ON-ORDER PER PART
QTY
The second step is to arrange the data so that it is located under the
appropriate heading. In this example, the following statements are
used to arrange the data:
REO
FLAG'
B () D Y
~
..
(t)
O"f PA R T )
I
'
£tory
+- BODY,
,8
0
I
9
0,
,
I
Ni:':)fvlE··-------
Join the part numbers and names
This matrix now conta:ins the
part number, name, in-stock
quantity, on-order quantity,
cost per part, and reorder
quantity for each part on
inventory.
12
~.~
B 0 l'DATA
together.
,
~The
spacing and precision to format each
associated column of the matrix OAT A.
Printer Control
99

Advertisement

Table of Contents
loading

Table of Contents