Progress
Installation and Configuration Guide
Version 9
for Windows


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:

prowin32 [ db-name ] -1 -b -p procedure-name [ parameters ] 

db-name

Specifies the database you want to start.

-b

Specifies that Progress should run in batch mode.

-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.

Using ProControl To Start Single-user Progress In Batch Or Background Mode

You can use the Procontrol utility to create a task that can be started as single-user Progress in batch or background mode. See "The ProControl Utility," for detailed instructions on this topic.

Redirecting Output

You can redirect batch job input and output with the greater than (>) and less than (<) redirection symbols.

Example

prowin32 [ db-name ] -1 -b -p sportsbat.p > errlist 

In this 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.


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