Noninteractive Minitab jobs

Minitab is an interactive software. However, if you want to run the job noninteractively you may do so after creating a file with all your Minitab commands. For example, suppose you have a file, clas1.mtb, with all your Minitab commands. The first line of the command file should contain a line for storing the output file. That line should read as:

      outfile 'clas1.out'

Replace 'clas1.out' with your own parameter. If an OUTFILE command is not specified the output file will be displayed only on the screen. The last line should be the STOP command in your Minitab command file.

To execute your command file, at the system prompt, type:

      minitab -f clas1.mtb

The output will be displayed on the screen, at the same time an output file will be written to the file you specified in the OUTFILE command line.