You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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.

None

     /* 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.
 

  • No labels