Progress
Installation and Configuration Guide
Version 9
for UNIX


Starting Single-user Progress 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 Progress 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 Progress batch run in a command pipeline. See the Batch (-b) startup parameter in the Progress Startup Command and Parameter Reference for more information.

In the following example, Progress 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 © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095