8.12 Menudef Error Messages

cannot create name

The menufile could not be created. Check that you have permission to create the file.

cannot create temporary file

Menudef could not create a temporary file. Check that the directory /tmp exists on the default drive.

cannot write menufile name

Menudef cannot write on the named menufile. Check for adequate disk space and that you have permission to write on the named menufile.

invalid menufile option, line n

An invalid menufile statement was encountered at line n of the menufile. You must edit the menufile with a text editor.

line n: bad menu format

A menu was not found where expected in the menufile. Check that the file is a valid menufile. You must edit the menufile with a text editor.

line n: bad parameter format

An invalid parameter form description was encountered in the menufile at line n of the menufile.

line n: choice/prompt too long

A choice name or prompt in the menufile is longer than 78 characters. You must edit the menufile with a text editor.

line n: DATATYPE undefined in field description

The DATATYPE attribute was missing in a parameter field description at line n of the menufile. You must edit the menufile with a text editor.

line n: FIELDSIZE undefined in field description

The FIELDSIZE attribute was missing in a parameter field description at line n of the menufile. You must edit the menufile with a text editor.

line n: invalid character 'c' (d) in command

A command in the menufile has an invalid character in it at line n of the menufile. You must edit the menufile with a text editor.

line n: invalid data type

The data type specified in a parameter form field description at line n of the menufile was not boolean, character, date, integer, long, money, real, string or time.

line n: invalid FIELDSIZE

The value of the FIELDSIZE attribute in a parameter form field description was not a valid integer at line n of the menufile.

line n: menu file line too long

A line in the menufile is longer than 78 characters. You must edit the menufile with a text editor.

line n: menufile name too long

The menufile name must be between 1 and 15 characters long. You must edit the menufile with a text editor.

line n: missing menufile statement in menu file

The first line was not a menufile statement. Check that the file is a menufile. You must edit the menufile with a text editor.

line n: menu name too long

A menu name must be between 1 and 15 characters long. You must edit the menufile with a text editor.

line n: no commands allowed in parameter description

Menudef did not recognize a parameter form description and assumed commands were placed in the form at line n of the menufile.

line n: no 'param' statements allowed in menu commands

Menudef only works with menufiles containing the menu command param at the first command of menufile commands, menu commands or of a menu choice. You must edit the menufile with a text editor.

line n: parameter name too long

A parameter name must be between 1 and 15 characters long. You must edit the menufile with a text editor.

line n: parameter field name too long

A parameter field name must be between 1 and 15 characters long. You must edit the menufile with a text editor.

line n: parameter paramname multiply defined

More than one parameter form has the same name. You must edit the menufile with a text editor.

line n: 'param' statement must be first command

Menudef only works with menufiles containing the menu command param at the first command of a menu choice. You must edit the menufile with a text editor.

line n: too many commands in group

Too many commands were defined for the menufile commands, the menu commands or the choice commands. You must edit the menufile with a text editor.

line n: too many parameter forms

Menudef cannot work with menufiles containing more than 100 parameter forms. You must edit the menufile with a text editor.

line n: too many menus

Menudef cannot work with menufiles containing more than 10 menus. You must edit the menufile with a text editor.

must specify either -1 or -2 in command Line

You must allow either the Menu Description Form or the Menu Picture form.

no menus in menu file

There must be at least one menu in an existing menufile.

out of memory

There is not enough memory to work with the menufile. If you have multiple menus in one menufile, try separating them into individual menufiles.

TERM name not defined

The shell variable TERM was set to an unknown terminal name.

TERM parameter not set

The shell variable TERM was not set. It should be set to the name of your terminal.

warning: empty menufile removed

Menudef removed the empty menufile.

warning: menu name has no choices

Menu requires that each menu has at least one choice.

warning: no exit from menu (no quit or menu command)

Menu requires that each menu has a choice with a quit or menu command.

warning: parameter name called but not defined

Menu requires the each parameter form be defined in the menufile.

warning: parameter name has no fields

Menu required that each parameter form has a least one parameter field description.

warning: parameter name is not referenced

A parameter form has been defined but never called.