To verify the IMS sample
application databases, you must run the IMS sample
application using the six PSBs with their associated transactions
and nine online functions.
Run the IVP jobs and tasks through the H series to set up the
basic infrastructure for the IMS sample
application.
Sign on to an IMS user terminal
session.
To run the IMS sample
application:
Procedure
Run the PART transaction.
The transaction
PART queries the part number database for information from the part
master and standard information segments of a specific part number.
Execute the IMS sample application
transactions using the following format:
TRANSACTION_CODE OPERAND,OPERAND,OPERAND, . . .
Separate
the transaction code from the first operand with one blank. Blanks
cannot be entered between one operand and another. Most of the transaction
codes have been defined as multiple segment transactions and require
an EOT (end-of-transmission, for 2740), or equivalent, to complete
input.
The input format is transaction code and part number
as illustrated in the following figure.
Figure 1. PART transaction - entry
part AN960C10
The output or response format is shown in the following figure.
Figure 2. PART transaction - output
Part........... AN960C10; Desc........... WASHER
Proc Code...... 74; Inv Code....... 2
Make Dept...... 12-00; Plan Rev Num...
Make Time...... 63; Comm Code...... 14
The available part numbers that you can use for message processing
are:
The part numbers marked with an asterisk
(*) have dependent back-order segments. All part numbers have at least
one dependent inventory status segment.
Run the DSPALLI transaction.
The DSPALLI
transaction displays all inventory, cycle count, and back-order information
for a specific part. The following figure illustrates the input format
of transaction code and part number.
Figure 3. DSPALLI transaction - entry
dspalli AN960C10
The resulting terminal output is shown in the following figure.
Figure 4. DSPALLI transaction - output
Part=AN960C10; Desc=WASHER; Proc Code=74
Area Inv Proj Div Unit Current On In Total Count Back
Dept CD Price Reqmts Order Stock Disburse Taken Ordr
---- ---- --- --- ----- ------ ----- ----- -------- ----- ----
1. AA 165 11 0.000 146 20 126 104 No 0
2. AK 287 7F 0.000 88 0 88 37 No 0
3. 2 80 091 26 0.000 630 15 680 1157 No 0
Run the DSPINV transaction.
The DSPINV transaction
displays inventory information from a specific inventory location.
Assume that you want to display only the third inventory entry listed
in Figure 4. Obtain the inventory
location key by concatenating AREA, INVDEPT, PROJCD, and DIV.
The
following figure illustrates the input format of transaction code
followed by part number and inventory-location-key.
Figure 5. DSPINV transaction - entry
dspinv AN960C10,28009126
The resulting terminal output is shown in the following figure.
The ADDPART
transaction adds a new part and its associated description and procurement
code to the database. The input format for this transaction is transaction
code, followed by part number, description, and procurement-code,
entered as shown in the following figure.
Figure 7. ADDPART transaction - entry
addpart AB960C10,RIVET,74
The resulting terminal output is shown in the following figure.
Figure 8. ADDPART transaction - output
Part Number AB960C10 Added To Data Base
Run the ADDINV transaction.
The ADDINV transaction
adds inventory location key information to an existing part in the
database. The input format for this transaction is transaction code
followed by part number and inventory-location-key, entered as shown
in the following figure.
Figure 9. ADDINV
transaction - entry
addinv AB960C10,80091260
The resulting terminal output is shown in the following figure.
Figure 10. ADDINV transaction - output
Inventory 80091260 Added To Part Number AB960C10
If you want to display the part's updated inventory information,
enter the command shown in the following figure.
Figure 11. DSPINV transaction - entry
dspinv AB960C10,80091260
The resulting terminal output is shown in the following figure.
The DLETINV
transaction code deletes a specific inventory item for a specific
part. The input format for this transaction is transaction code, followed
by part number and inventory-location-key, entered as shown in the
following figure.
Figure 13. DLETINV
transaction - entry
dletinv AB960C10,80091260
The resulting terminal output shown in the following figure.
Figure 14. DLETINV Transaction - output
Inventory 80091260 Deleted From Part Number AB960C10
Run the DLETPART transaction.
If all the
inventory items are deleted, you can delete a particular part number
from the database with the transaction code DLETPART. The input format
is transaction code followed by part number, entered as shown in the
following figure.
Figure 15. DLETPART
transaction - entry
dletpart AB960C10
The resulting terminal output is shown in the following figure.
Figure 16. DLETPART transaction - output
Part Number AB960C10 Deleted From Data Base
Run the CLOSE transaction.
You can close
an open order for a specific part in a specific inventory item by
using the CLOSE transaction code. The input format is transaction
code, part number, inventory-location-key, on-order-decrement, total-stock
increment, entered as shown in the following figure.
Figure 17. CLOSE transaction - entry
close AN960C10,28009126,15,15
The resulting terminal output is shown in the following figure.
Figure 18. CLOSE transaction - output
17:43:38 PN= AN960C10 Invty Key=28009126 Excess Stock On Hand
Other messages might follow, depending on the sample database
update status. You might need to press PA1 first. An example is shown
in the following figure.
Figure 19. CLOSE
transaction - output (additional)
Update Complete
To verify the operation of the CLOSE transaction, you can
display inventory item 28009126 for part AN960C10. The input format
is transaction code, part number, inventory-location-key, entered
as shown in the following figure.
Figure 20. DSPINV transaction - entry
dspinv AN960C10,28009126
The resulting terminal output is shown in the following figure.
Compare the input and output. Notice that the on-order quantity
was reduced by 15 and the total stock quantity has been increased
by 15 to 695.
Run the DISBURSE transaction.
The DISBURSE
transaction code allocates a quantity of a part from an inventory
item on a planned or unplanned basis. The input format is transaction
code, part number, inventory-location-key, planned or unplanned code,
quantity. Enter the command as shown in the following figure.
Figure 22. DISBURSE transaction - entry
disburse AN960C10,28009126,U,10
The resulting terminal output is shown in the following figure.
Figure 23. DISBURSE transaction - output
17:47:40 PN= AN960C10 Invty Key=28009126 Excess Stock On Hand
Other messages might follow, depending upon the sample database
update status. You might need to press PA1 first. An example is shown
in the following figure.
If you want to display the inventory information for key
28009126 and part number AN960C10, enter the command as shown in the
following figure. The input is transaction code, part number, inventory-location-key.
Figure 25. DSPINV transaction - entry
dspinv AN960C10,28009126
The resulting terminal output is shown in the following figure.