Skip to content

MENU-PARMS

FUNCTION

This Script-IV variable receives the pass values specified in the menu definition. Pass values are values passed from a standard Dictionary-IV menu definition to the script.

SYNTAX

MENU-PARMS

NOTES

  • The value of MENU-PARMS variable is the value of the pass values passed from a menu definition to the script. Pass values are defined in the PVal field of the Menu Definition Maintenance screen. For more information on menu definition see the Dictionary-IV Developer Guide.
  • Valid values for MENU-PARMS are two alphanumeric characters long.
  • The script name and pass values are specified in the menu definition. MENU-PARMS is set to the pass value and can be used in the script as a flag or special code to specify a subroutine or special processing within the script.

EXAMPLES

IF MENU-PARMS = "A1" THEN
DO CLOSE-PO
ENDIF

From the Script-IV Language Reference, version 8.9.1. Open this page in the PDF