Desktop User Guides > Professional > Data management scripting > WinDMSRun
WinDMSRun is a 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.
Use WinDMSRun to create, modify, validate, and run data management script files (see Data Management Script (DMS) file). WinDMSRun is 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 generates the DMS file code for you.
When you open WinDMSRun, the WinDMSRun window: Normal tab appears. Open an existing DMS file using File > Open. Start a new DMS file by using File > New.
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 might therefore want to backup your DMS files before opening them in WinDMSRun.
Save the file using the File > Save or File > Save As. Validate it using Tools > Validate Job.
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.
New files are 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 by operating system. 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.
UNICOM Intelligence Professional
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