Previous Topic: Syntax DiagramNext Topic: YCPYMSGD (Copy Message Description)


Parameters

Parameter

Definition

Value and Description

FROMMENU

Name of the copied menu. The menu must exist in the FROMFILE and FROMMBR named below

  • *SELECT: The menu selection displays are presented

TOMENU

Name of the created menu. The menu must not already exist in the TOFILE and TOMBR named below

  • *FROMMENU: The ‘to menu’ name is the same as the ‘from menu’.
  • This is only permitted if the values of FROMFILE and FROMMBR are not the same as those of TOFILE and TOMBR

FROMFILE

Qualified name of file containing menu that is to be copied

  • *LIBL/YDSNMNU: (default) Menu file name. File must be created with the YCRTDSNF command, TYPE(*MNU)

FROMMBR

Name of member in FROMFILE

  • *FILE: (default) Member name is same as FROMFILE

TOFILE

Qualified name of the file that contains the copied menu

  • *FROMFILE: (default) File name is same as FROMFILE. File must be created with the command YCRTDSNF, TYPE(*MNU)

TOMBR

Name of member in TOFILE

  • *FILE: (default) Member name is same as TOFILE
  • *FROMMBR: Member name is same as FROMMBR

MNUOPT

Menu option

  • *REPLACE: (default) Replace any existing contents of menu specified by TOMNU
  • *ADD: Only copy if TOMNU does not already exist