NAVIGATE_TO_PREV_DESTINATION Function
Navigates the 5250 to a previously shown destination in this execution.
Syntax
NAVIGATE_TO_PREV_DESTINATION(iPreviousDestination )
Parameters
iPreviousDestination | Required. Integer that contains a number that indicates how many destinations backwards to navigate. The maximum allowed is 20. Note that previous destinations include every single destination that has been navigated through irrespective of whether it was shown or not. For example, you might execute a screen wrapper that passes through 2 destinations. |
Return Value
None
Example
/* Re run INVOKE script to get the current 5250 destination screen*/
NAVIGATE_TO_PREV_DESTINATION(1);
/* Navigates to the previous 5250 destination screen*/
NAVIGATE_TO_PREV_DESTINATION(2);
Note that this function should only be invoked from a button script.