Batch Driver Tutorial

The batch driver sample program uses these files:

In this tutorial, the batch_driver.cf file contains this single line control statement that adds a data artifact. It assumes that the artifacts accessor1 and accessor2 exist in the system.

data name=aDocument^path=/batchFolder^file=D:\Doc
\bart.doc^browse=true^autodelete=true^desc=A test document by
batchdriver^expire=2010-06-22 12:00:00^keyword=MS doc^keyword=Design
doc^perm=accessor1^perm=accessor2.

  To run the batch driver sample:

  1. At a command line, change to the directory that contains execapi.bat.

    For example, /bin/ReportingAnalysis/SDK.

  2. Run the batch driver sample program.

    • If you are using the installed BatchDriver.class, use this syntax:

      execapi com.sqribe.rm.BatchDriver username password host port control_filename

      For example:

      execapi com.sqribe.rm.BatchDriver administrator administrator venice 6800 batch_driver.cf

    • If you compiled the batch driver program, use this syntax:

      execapi BatchDriver username password host port control_filename

      For example:

      execapi BatchDriver administrator administrator venice 6800 batch_driver.cf

  3. Open Oracle Enterprise Performance Management Workspace, Fusion Edition and check that the artifact in the batch_driver.cf is listed.

    You should see A test document by batchdriver.

  4. Create a batch file to run this class again by copying and saving one of the following lines from the command line to a batch file, batch_driver.bat, in <EPM_ORACLE_HOME>/products/biplus/SDK/samples/java:

    execapi com.sqribe.rm.BatchDriver administrator administrator venice 6800 batch_driver.cf

    or

    execapi BatchDriver administrator administrator venice 6800 batch_driver.cf

    Click the batch file to run the batch driver sample program. Change the batch_driver.cf file to add other artifacts. For more information on the batch driver control file, see Batch Driver Sample Program Control File.