Tip: If you want to follow the examples that are shown, you must have access to an environment with similar components. However, the structure is flexible.
|
Event Name
|
Capture Point
|
Predicates
|
Emitted Business Information
|
QueryStock
|
Program Initiation
|
Program Name = QUERY
|
CustomerNumber:
•Numeric Packed-Decimal
•Capture Length = 3
•Format Length = 6
StockId:
•Numeric Packed-Decimal
•Capture Length = 3
•Format Length = 6
|
Order
|
LINK
Capture after command. |
Program Name = SENDORDR
|
CustomerNumber:
•Numeric Zoned-Decimal
•Capture Length = 5
•Format Length = 6
OrderNumber:
•Numeric Packed-Decimal
•Capture Length = 3
•Format Length = 6
StockId:
•Numeric Zoned-Decimal
•Capture Length = 5
•Format Length = 6
Quantity:
•Numeric Zoned-Decimal
•Capture Length = 5
•Format Length = 6
|
fulfill
|
PUT CONTAINER
|
Program name = UPDSTOCK
Container name = OUTPUT
Stock item level is < 50
|
StockId:
•Numeric Zoned-Decimal
•Capture Length = 5
•Format Length = 6
OldLevel:
•Numeric Zoned-Decimal
•Capture Length = 5
•Format Length = 6
NewLevel:
•Numeric Zoned-Decimal
•Capture Length = 5
•Format Length = 6
|
Ship
|
REWRITE
|
Program name = SHIP
Response Code = Ok
File name = ORDER
Order status = ‘S’
|
OrderNumber:
•Numeric Packed-Decimal
•Capture Length = 3
•Format Length = 6
CustomerNumber:
•Numeric Packed-Decimal
•Capture Length = 3
•Format Length = 6
StockId:
•Numeric packed-Decimal
•Capture Length = 3
•Format Length = 6
Quantity:
•Numeric Zoned-Decimal
•Capture Length = 5
•Format length = 6
|
Event Name
|
Capture Point
|
MENU Sample program Name
|
API command
|
QueryStock
|
PROGRAM INIT
|
QUERY
|
EXEC CICS RETURN TRANSID(‘QRY’)
CHANNEL(‘LIST-STOCK’)
END-EXEC.
|
Order
|
LINK
Capture after command. |
SENDORDR
|
EXEC CICS LINK PROGRAM(‘SENDORDR’)
CHANNEL(CHANNEL-NAME)
END-EXEC.
|
Fulfill
|
PUT CONTAINER
|
UPDSTOCK
|
EXEC CICS PUT CONTAINER(‘OUTPUT’)
FROM(UPDATE-OUT)
END-EXEC.
|
Ship
|
REWRITE
|
SHIP
|
EXEC CICS REWRITE FILE(‘ORDER’)
FROM(ORDER-REC)
END-EXEC.
|
Event Name
|
Capture Point
|
Predicate
|
Emitted Business Information
|
SendOrder
|
SIGNAL EVENT
|
Event name = SendOrder
|
CustomerNumber:
•Numeric Zoned-Decimal
•Capture Length = 5
•Format Length = 6
OrderNumber:
•Numeric Zoned-Decimal
•Capture Length = 5
•Format Length = 6
CustomerName:
•Text Character
•Capture Length = 50
•Format Length = 50
City:
•Text Character
•Capture Length = 50
•Format Length = 50
Country:
•Text Character
•Capture Length = 50
•Format Length = 50
Premium:
•Text Character
•Capture Length = 1
•Format Length = 1
TotalOrderValue:
•Numeric Zoned-Decimal
•Capture Length = 11
•Format Length = 13
•Precision = 2
|