Creating and using a workspace
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: click File > New > Workspace or press 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 folder 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 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..
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: click File > Save Workspace, or right-click in the Workspace pane, and then click Save.
8 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