Starting and stopping a single-user batch session
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
You can start a single-user batch session against a running database using:
The PROWIN command in Windows
The BPRO command in UNIX
In Windows, the syntax of the PROWIN command is:
|
In UNIX, the syntax of the BPRO command is:
|
Note: You can also start a single-user batch session against a database in character mode
using the _PROGRES command in either Windows or UNIX. It has the same syntax as
PROWIN.
Assume that the appdb database is offline and there is an OpenEdge procedure file, dispcust.p, which displays customer information.
In Windows, you can run dispcust.p in a single-user batch session against the appdb
database and output the results to a text file, dispcust.txt:
|
In UNIX, you can perform the same task using this command:
After the batch job runs completely, the session ends and the database
shuts down.
|