When you use a menu command in Minitab, Minitab preserves session commands that record your actions. You can use these session commands to quickly repeat an analysis on a new set of data.
When you show the command lines, and then execute a command from a menu, the corresponding session commands are displayed in the Command Line pane of the Session window. This technique is a convenient way to learn session commands.
The Western shipping center continuously collects and analyzes delivery times when new data are available. In Assessing Quality, you conducted a capability analysis on data from March. In this chapter, you use session commands to perform a capability analysis on data from April.
One way to use session commands is to enter them at the command prompt in the Command Line pane of the Session window. Minitab does not display the pane by default, so you must enable it.
In Assessing Quality, you performed a capability analysis to determine whether delivery times were within specifications (less than 6 delivery days). To perform this analysis, you used . Then, you entered the data column, the subgroup column, and the upper specification limit.
To continue assessing the delivery times at the Western shipping center, you plan to repeat this analysis at regular intervals. When you collect new data, you can repeat this analysis using a few session commands.
To open a PDF file that lists the session commands in Minitab, at the command prompt, enter Help.
Minitab generates session commands for most menu commands and stores them in the History folder. You can re-execute these commands by selecting them and choosing .
Use the History folder and the Command Line Editor to re-run the capability analysis.
You have re-created the capability analysis in a few simple steps.
An exec file is a text file that contains a series of Minitab commands. To repeat an analysis without using menu commands or session commands, save the commands as an exec file and then run the exec file.
For more information about exec files and other more complex macros, open Minitab Macros Help.
Save the session commands for the capability analysis as an exec file.
You can repeat this analysis by running the exec file.
You can run an exec file using any worksheet if the column names match. Therefore, you can share an exec file with other Minitab users who need to perform the same analysis. For example, the manager of the Western shipping center can share ShippingGraphs.MTB with the managers of the other shipping centers so that they can perform the same analysis on their own data. If you want to use an exec file with a different worksheet or with different columns, edit the exec file using a text editor such as Notepad.
Save all your work in a Minitab project.
You learned how to use session commands as an alternative to menu commands and as a way to quickly repeat an analysis. In the next chapter, you create a report to show the results of your analysis to your colleagues.