CHGMNU (Change Menu) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No .-*LIBL/--------. (1) >>-CHGMNU--MENU(--+---------------+--menu-name--)---------------> +-*CURLIB/------+ '-library-name/-' >--+---------------------------------------------------------+--> | .-*SAME--------------------------------. | | (2) | .-*LIBL/--------. | | '-DSPF(-------+-+---------------+--display-file-name-+--)-' +-*CURLIB/------+ '-library-name/-' >--+---------------------------------------------------------+--> | .-*SAME--------------------------------. | | (2) | .-*LIBL/--------. | | '-MSGF(-------+-+---------------+--message-file-name-+--)-' +-*CURLIB/------+ '-library-name/-' >--+-----------------------------+------------------------------> | (2) .-*SAME--. | '-CMDLIN(-------+-*LONG--+--)-' +-*SHORT-+ '-*NONE--' >--+----------------------------+-------------------------------> | (2) .-*SAME-. | '-DSPKEY(-------+-*NO---+--)-' '-*YES--' >--+---------------------------------------------------+--------> | .-*SAME---------------------------. | | (3) | .-*LIBL/--------. | | '-PGM(-------+-+---------------+--program-name-+--)-' +-*CURLIB/------+ '-library-name/-' >--+------------------------------+-----------------------------> | .-*SAME--------. | '-CURLIB(--+-*NOCHG-------+--)-' +-*MNULIB------+ +-*CRTDFT------+ '-library-name-' >--+------------------------------+-----------------------------> | .-*SAME--------. | '-PRDLIB(--+-*NOCHG-------+--)-' +-*NONE--------+ '-library-name-' >--+---------------------------------+------------------------->< | .-*SAME-------------. | '-TEXT(--+-*BLANK------------+--)-' '-'--description--'-'
Notes:
- All parameters preceding this point can be specified in positional form.
- The user can only specify the DSPF, MSGF, CMDLIN, and DSPKEY parameters if the menu was created with TYPE(*DSPF) specified on the CRTMNU command.
- The user can only specify the PGM parameter if the menu was created with TYPE(*PGM) specified on the CRTMNU command.