CL Command Reference - CRTS36MNU

CL Command List > CRTS36MNU Reference

Description:

The Create System/36 Menu (CRTS36MNU) command creates a menu (display file and command message file) from your source members. You can specify that this menu be created either in a fixed-format, with options 1 through 24 arranged in two columns, or in free-format.

Restriction: Option 5 of the operating system must be installed to run this command. This command can be run either natively or in the System/36 environment.


Examples:

CRTS36MNU CMDTXTMBR(MENU##) OPTTXTMBR(SFGRMBR)
CMDTXTSRC(MYLIB/QS36SRC) OPTTXTSRC(MYLIB/QS36SRC)
MNULIB(WORKLIB) REPLACE(*YES)
FREEFORM(*YES) KEEP(*YES)

This command creates a free format menu display from the specified SFGR source member, placing the resulting menu into library WORKLIB. Since the SFGR source is being used, FREEFORM(*YES) and KEEP(*YES) are required. The layout of the menu display is controlled by the format definition located in the SFGR source member. No special checking is done to ensure that the display file defined by this source is valid when used by the system as a menu.