When you enable session commands, and then execute a command from a menu, the corresponding session commands are displayed in the Session window along with your text output. This technique is a convenient way to learn session commands.
The Western shipping center continuously collects and analyzes delivery time 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 Session window. Minitab does not display the command prompt in the Session window 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.
For more information about specific session commands, at the command prompt, enter Help and the first four letters of the command name.
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, choose References, click Macros.. Under
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.
Go to Generating a Report.