Starts a single-user OpenEdge client session in batch or background mode.

Syntax

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

Parameters

db-name
Specifies the database you want to connect.
-p procedure-name
Specifies a procedure to run at startup.
parameters
Specifies the OpenEdge startup parameters you want to use.
output-file
Specifies the name of the file where messages are sent.

Notes

  • For UNIX, the bpro command runs the following executable:
    _progres -1 -b &

    The & character causes an OpenEdge batch session to run in the background, and returns control to the terminal once the session starts. When the & character is not present (for example, when you simply use the (-b) startup parameter), OpenEdge initiates a batch session in the foreground without terminal interaction and control does not return to the terminal until the session completes.

  • On UNIX and in Windows, you can redirect batch job input and output with the < and > redirection symbols. You also can use the pipe symbol (|) to put an OpenEdge batch run in a command pipeline.
  • For more information about the bpro command, see Tasks you can perform with startup and shutdown commands and Startup Parameter Usage Categories.