Professional > Data management scripting > WinDMSRun
 
WinDMSRun
WinDMSRun is a simple Windows application that comes with the UNICOM Intelligence Developer Documentation Library. The Visual Basic .NET source code is provided as a reference for developers who are creating applications using the Data Management Object Model (DMOM). For more information, see WinDMSRun as programmer’s reference.
You can use WinDMSRun to create, modify, validate, and run data management script files (see Data Management Script (DMS) file). WinDMSRun is particularly useful when you are learning about DMS files, because you can use the Windows interface to specify the details of the input and output data sources and the filters to use and WinDMSRun automatically generates the DMS file code for you.
When you open WinDMSRun, the WinDMSRun window: Normal tab appears. Open an existing DMS file using the Open command on the File menu. Start a new DMS file by using the New command on the File menu, although you do not need to do this when you first start WinDMSRun, because a new file is started automatically.
To see the code in the DMS file, click the WinDMSRun window: Script tab. You can edit the code on the Script tab and add new sections, such as Event and Metadata sections. However, working on the Script tab is not the same as working in UNICOM Intelligence Professional or a text editor, because each time you switch between the tabs or save and reopen your file, WinDMSRun regenerates the code. For example, WinDMSRun expands any #Include and #Define statements and removes comments between sections. In fact, switching between the two tabs is like using the /a and /norun options in DMS Runner to save the expanded file without running it. You may therefore want to backup your DMS files before opening them in WinDMSRun.
Save the file using the Save and Save As commands on the File menu. Validate it using the Validate Job command on the Tools menu.
You can view the input data selected for the transfer on the WinDMSRun window: Input Data tab and, after you have run (executed) the transfer, you can view the output data on the WinDMSRun window: Output Data tab.
Note New files are automatically based on a template called Default.dms, which is in the <%UserProfile%>\Application Data\SPSS MR\WinDMSRun folder. The location of the <%UserProfile%> folder varies on different operating systems. For example, on Windows 2000, it is typically C:\Documents and Settings\<UserName>, where <UserName> is your user name. You can change the template file that is used using the Save As Default command on the File menu, or by replacing the Default.dms file with another one of the same name.
Requirements
UNICOM Intelligence Professional
See also
Starting WinDMSRun
WinDMSRun window: Normal tab
WinDMSRun window: Selecting versions
WinDMSRun window: Variable Selection
WinDMSRun window: Case Selection
WinDMSRun window: Script tab
WinDMSRun window: Input Data tab
WinDMSRun window: Output Data tab
WinDMSRun as programmer’s reference
Data management scripting