Table of Contents

Search

  1. Preface
  2. Introduction
  3. Installation
  4. Design
  5. Operation

Batch Process - Command Line

Batch Process - Command Line

This section provides information on the command lines for Batch Processing.

bin\dcebatch

This script starts a Console job and waits for it to complete. The script indicates the completion status of the job by returning 0 for success or 1 for failure.
Make sure that
java
is in the current path. If not then it may be necessary to modify the
%SSATOP%\dce\dceenvc.bat
(Windows) or
$SSATOP/bin/dcebatch
(Unix) script to use the correct java executable.
set SSABIN=<DCE installation directory>\bin %SSABIN%\dcebatch command [cmd args] options
Valid commands are:
Run job <Project Name> <Job Name>
<Project Name>
The name of the Project containing the job to be run.
<Job Name>
The name of the job to be run.
Valid options are:
-hcs<host>
Required. Console Server
host:port
-w<workdir>
Required. Server Work Directory
-r<rbname>
Required. Rulebase Name (e.g
sdb:file:c:\InformaticaIR\dce\rule
)
-hse<host>
Optional. Search Server
host:port
-hrb<host>
Optional. Rulebase Server
host:port
-m-
Optional. Returns immediately after launching the job. The default is to wait for the job to complete.
-l{0|1|2|3}
Optional. Controls live progress messages.0=none, 1=messages, 2=progress, 3=both
-u<usgdir>
Optional. Server Name3 Service Group Directory
-v<[su]>
Optional. Server Verbosity setting, where s sets statistics and u sets usage summary. Refer to the
Verbosity Options
section for a description of this parameter.

Running from the Command Line

After defining a Job called
MyJob1
(Refer to the
How to Create and Run Jobs
section), start the job from the command line using this command:
%SSABIN%\dcebatch run job test01 MyJob1 -hcslocalhost:2669 -wc:\InformaticaIR\test1 -rsdb:file:c:\InformaticaIR\test1\rule
where
localhost:2669
This is pointing to the Localserver.
c:\InformaticaIR\test1
This is the Work Directory.
sdb:file:c:\InformaticaIR\test1\rule
This is the Rulebase.

0 COMMENTS

We’d like to hear from you!