You can start a multi-user batch session against a running database using:

  • The PROWIN1 command in Windows

  • The MBPRO command in UNIX

In Windows, the syntax of the PROWIN command is:
prowin db-name -b -p procedure-name [> output-file]
In UNIX, the syntax of the MPRO command is:
mbpro db-name -p procedure-name [> output-file]
Note: You can also start a multi-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 running and there is an OpenEdge procedure file, dispcust.p, which displays customer information.

In Windows, you can run dispcust.p in a multi-user batch session against the appdb database and output the results to a text file, dispcust.txt:
prowin appdb –b –p dispcust.p > dispcust.txt
In UNIX, you can perform the same task using this command:
mbpro appdb –p dispcust.p > dispcust.txt
1 Use PROWIN on a 64-bit computer and PROWIN32 on a 32-bit computer.