Release 10.1A: OpenEdge Getting Started:
Installation and Configuration

> ## Starting single-user OpenEdge in batch or background mode

> Batch or background processing is convenient for large-scale database updates or procedures that you can run unattended (at night, for example).

> To start single-user OpenEdge in batch or background mode, enter the following command:

>     bpro [ db-name ] -p procedure-name
>       [ parameters ] > output-file

> `db-name`

> Specifies the database you want to start.

> ``-p procedure-name``

> Specifies the procedure to run at startup.

> ``parameters``

> Specifies the startup parameters you want to use.

> ``output-file``

> Specifies the name of the file that receives all output to the default stream.

> ##### Redirecting Output

> On UNIX you can redirect batch job input and output with the greater than (>) and less than (<) redirection symbols. You can also use the pipe symbol (|) to put a OpenEdge batch run in a command pipeline. See the Batch (`-b`) startup parameter in OpenEdge Deployment: Startup Command and Parameter Reference for more information.

> In the following example, OpenEdge starts in batch or background mode against the sports database and automatically runs the sportsbat startup procedure. In addition, the system directs output (not otherwise directed) with an OUTPUT TO statement to the file named `errlist`:

>     bpro sports -p sportsbat.p > errlist

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095