Scripts in a Classic Details Display

RAMP-TS

Scripts in a Classic Details Display

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.

Modernized Version

To modernize the application we identify the 5250 screens and script their interaction to RAMP:

  • The GETORDER screen becomes a junction screen. It will not be displayed.
  • The SHOWORDER screen becomes a destination screen.

In the modernized application the user selects orders from the instance list and the SHOWORDER screen shows the details of the selected order.

GETORDER has a script with a vHandle_NAVIGATETO Function which shows the SHOWORDER screen.

The SHOWORDER screen has a script with a:

  • A vHandle_BUTTONCLICK function which will not be executed for SHOWORDER because all function keys are hidden and disabled in this screen (the user just clicks on different orders up in the instance list to display the details of a different order.)
  • Every time a user clicks on an order in the instance list, the SHOWORDER's vHandle_NAVIGATETO function is executed to return to the navigation network. Once there, the navigation path to display the SHOWORDERS screen with the details of the selected order is built.

 See the tutorial RAMP-TS009: Tracing Navigation for details of this type of navigation.