OLAP Miner User's Guide


Samples of scheduled mining runs

The following examples show some of the ways that you can use the mining run program to schedule deviation detection definition runs.

Enter the following commands on one line.

Example 1

omrundef   -login  "OLAP Computer"  user1  password  -start  
Sample  Basic "Sales Analysis" 

This command logs on as user1 with the password as password. This user logs on to the OLAP server that is running on the computer that is identified by the alias OLAP Computer. This alias must exist in the OMServer.cfg file. It then starts running the Sales Analysis deviation detection definition on the Basic database in the Sample application. By default the command is executed in the foreground (synchronously).

Example 2

omrundef   -login  "OLAP Computer"  user1  password  -start  
Sample  Basic "Sales Analysis"  -mode background  

This command does the same as Example 1, but it runs the deviation detection definition in the background (asynchronously).

Example 3

omrundef  -login  "OLAP Computer"  user1  password  -stop  
Sample  Basic "Sales Analysis" 

This command stops the mining run that was started by the previous command.

Example 4

omrundef  -login  "OLAP Computer"  user1  password  -start 
Sample  Basic "Sales Analysis" -createlro  -output output.txt
 

This command starts the same deviation detection definition run, but it also requests that linked reporting objects (text notes) are written to the source OLAP database for each of the deviations that are detected by the deviation detection definition run. It also writes any output text to a file that is called output.txt.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]