Desktop User Guides > Professional > Using UNICOM Intelligence Professional > Using the Workspace feature > Creating and using a workspace
 
Creating and using a workspace
To illustrate how the workspace feature works, this section shows how to make a workspace for the IncludeExample.dms sample. This sample uses two include files: Include1.dms and Include2.dms.
1 Start a new workspace. You do this by clicking File > New > Workspace, or pressing Ctrl+W.
2 Display the Workspace pane: Click the Workspace tab or press Alt+0 twice.
3 To add the IncludeExample.dms file to the workspace, do one of the following:
Right-click in the Workspace pane, and then click Add Existing Item to Workspace.
Click File > Add Existing Item to Workspace. Go to the location where the data management script samples are installed (typically, this is [INSTALL_FOLDER]\IBM\SPSS\DataCollection\<version>\DDL\Scripts\Data Management\DMS), and then select the IncludeExample.dms sample file.
4 Use different techniques to add the include files to the workspace. Click File > Open, and then go to the location where the data management script sample include files are installed (typically this is [INSTALL_FOLDER]\IBM\SPSS\DataCollection\<version>\DDL\Scripts\Data Management\DMS\Include), select the Include1.dms and Include2.dms samples, and the click OK. The files open in UNICOM Intelligence Professional.
5 View the Include1.dms sample in the Edit window, by clicking the Include1.dms tab to bring it to the front.
6 Click File > Add Current Item to Workspace.
7 Save the workspace by doing one of these:
Click File > Save Workspace.
Right-click in the Workspace pane, and then click Save.
In the Save Workspace As dialog, specify a name, such as IncludeExample, and then click OK. The workspace file is saved with a .sws extension; for example, IncludeExample.sws.
For more information about using Include files with data management scripts, see Using include files in the DMS file.
See also
Using the Workspace feature