Try OpenEdge Now
skip to main content
Installation and Configuration
Configuration : Starting and Running OpenEdge : Starting OpenEdge on UNIX platforms : Starting single-user OpenEdge in batch or background mode : Redirecting Output
 
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 an OpenEdge batch run in a command pipeline. See the Batch (-b) startup parameter in OpenEdge Deployment: Startup Command and Parameter Reference for more information.
The example that follows 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, as shown:
bpro sports -p sportsbat.p > errlist