This example shows how two very simple 5250 screens are modernized in RAMP.
The first screen GETORDER asks for an order number to be input and the second screen SHOWORDERÂ displays the order details:
The user repeats order inquiries by using the F12 function key.
To modernize the application we identify the 5250 screens and script their interaction to RAMP:

In the modernized application the user selects orders from the instance list and the SHOWORDER screen shows the details of the selected order.
SHOWORDER has three scripts:
Every time a user clicks on an order in the instance list, the SHOWORDER's return script is executed to return to the navigation network. Once there, the invoke script is executed to display the SHOWORDERS screen with the details of the selected order.