Background
Currently our eCommerce System (IBM Websphere Commerce 5.6.1) is interacting with our Legacy System (Mainframe CICS) via MQ Broker and CrossPlex and we want to replace the CrossPlex with HATS 7.5. Scope of our project primarily includes building HATS Macros to enable interaction between eCommerce System via MQ Broker and 3 conversations of our Legacy System. We know exactly how to handle 2 conversations but not the third one and that is where we need your services.
Problem
We need to modify a HATS 7.50 macro to accept parameters coming in from an MQ message. The message originates from an e-Commerce order entry application and a return message is sent back to that application with sales order information.
Following is the format of the MQ message that will come into the HATS macro
Note In below described XML Angle Brackets has been replaced with Round Brackets because this website doesn't like Angle Brackets.
(SalesOrderInquiry)
(CustomerID) (6 characters)
(CustomerShip To) (2 characters)
(OrderItem) (These values are repeated for each order line)
(ProductNumber) (6 characters)
(OrderQuantity) (10 characters in the form of decimal 7.2)
(NeedByDate) (10 characters – mm/dd/yyyy)
(TaxableIndicator) (1 character)
(Price) (9 characters in the form of decimal 4.4)
(UOM) (2 characters)
(OrderItem/)
(SalesOrderInquiry/)
The OrderItem values will be indexed 1 through a maximum of 99 so there could be potentially 99 different order lines.
Once these order items are brought into the macro. the items must be entered on separate order entry screens - one screen for each line item in the order. So the macro loop will need to be able to access the indexed order items one at a time and enter them in the order entry screen one screen at a time. There almost always will be fewer than 99 items so the macro will need to be able to end when the last item is processed. This could be done by trying to enter a blank Product number and using the error message as the last screen identifier. Or it could be done some other way.
What we need to know is how to bring these parameters into the macro and how to use them one index number at a time for each order line screen.
You will get paid if your approach works. Thanks.