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. In the Open dialog box, browse 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 select the IncludeExample.dms sample file.
4 Now, use different techniques to add the include files to the workspace. First choose Open from the main File menu and in the Open dialog box, browse 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 click OK. This opens the files 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 From the main File menu, choose 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 box, give the workspace 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