NAVIGATE_TO_DESTINATION Function

RAMP-NL

NAVIGATE_TO_DESTINATION Function


Navigates to a nominated 5250 Destination screen.

Note that if you specify the name of the current destination the request will be ignored. If you want to re run the script for a current destination use NAVIGATE_TO_PREV_DESTINATION(1).

Syntax

NAVIGATE_TO_DESTINATION(sDestinationName)

Parameters

SDestinationName

Required. A string that contains the name of a Destination.

Return Value

None

Example

 

NAVIGATE_TO_DESTINATION("Enrol Employee");

 

Note that this function should only be invoked from a button script.