The IronMonger application provides software services for a fictional hardware company. The original RPG program comprises seven RPG programs, each of which uses a unique display file. For this example, all but one of those display files has been modernized (it was omitted to show the ASNA emulator in action).
The IronMonger example currently has all add/update/delete facilities disabled. A later version will add this capability back into the example. A narrative is provided below for each display.
One quick comment about the word “display” and its context for this narrative. Wings modernizes at the display file level. Therefore, any one Wings “display,” just like any one green-screen display, may be composed of one or more record formats for that display. The word “display” is used here to convey “one or more record formats.”
Click on any of the images below to see a larger version of the image.
M5 Customer Inquiry
This display shows a rather standard subfile display list of customers. For each customer, there are Update, Sales, Delivery Address, and Orders options available. You’ll notice that in the Wings version, what was a single input field in the subfile row has been changed to a drop-down box.
When you do a search (with either the original green screen app or the Wings version) the data is case sensitive. Try searching for “Dow” to get to the Downhill Cycle Specialists account.
M5 Customer Maintenance
Using the “Update” option from the M5 Customer Inquiry listing shows this panel which is used to maintain a customer account. The Wings version uses a drop-down to replace an input field for the customer Status value. This doesn’t take any code in Wings—you only need to set a few properties to enable a drop-down like this.
The Wings version also features a Google map to display the customer location on the map.
M5 Order Inquiry
Using the “Sales” option from the M5 Customer Inquiry listing shows the M5 Order Inquiry display. This shows orders for any given SKU. The Wings version adds the image for each inventory item SKU.
The Wings version adds orders and sales graphs for each inventory item SKU. Each graph is placed in its respective tab on the the display.
M5 Customer Delivery Inquiry
Wings includes a built-in browser-based 5250 emulator. The M5 Customer Delivery Inquiry display is displayed by using the “Delivery Addr” option from the M5 Customer Inquiry list. This display shows how Wings renders a non-modernized display file. The M5 Customer Delivery Inquiry display was purposely non-modernized in the IronMonger to show the emulator in action.
The ASNA emulator lets you initially modernize the highest payoff display files, saving others for later. The ASNA emulator also comes into play when your application uses displays for which no source is available. For example, it’s very common for an RPG application to use WRKSPLF as an end-user workflow item. Thanks to the ASNA emulator, a display such as this would display very nicely without any disruption to the application. You have control over the styling (through custom CSS) of the ASNA emulator “skin.”
M5 Order Inquiry
Using the “Orders” option from the M5 Customer Inquiry listing shows the M5 Order Inquiry display. This shows order summary information. This display has an interesting Excel export feature (try it!). Note that this export isn’t to a simple comma-separated file, but rather this export can create a rich spreadsheet with formatting, derived cell values, and even graphs. The View Dtl column has been converted to a check box. Click it and press enter to see the next display.
M5 Order Detail Inquiry
This display shows order detail for a given order. It shows corresponding images for each inventory item SKU. The original green screen application lets you update or delete orders from this panel-that facility is current disabled in IronMonger.






