Finding Problems in Macros
    

If your macro produces unexpected results or generates an error message, Minitab provides several tools to help you track down and correct the problem. You should check for, and correct, these common problems first:

·    The syntax used in the macro is not correct-for example, the macro does not begin with GMACRO or end in ENDMACRO.

·    The Minitab commands in the macro are not correct-for example, the REGRESS command is misspelled, or a column name is provided when the command expected a constant. This kind of mistake generates the same kind of error message you would have received if you were using Minitab in interactive mode.

·    The macro uses a Minitab command that works differently in a macro than in interactive Minitab.