Progress
Client Deployment
Guide


OUTPUT THROUGH Statement

The OUTPUT THROUGH statement allows an application to redirect output to a process that Progress starts. On UNIX, this statement allows you to pipe Progress output to a UNIX process. Following is a partial syntax example of the OUTPUT THROUGH statement:

OUTPUT [ STREAM stream ] THROUGH 
  { program-name | VALUE ( expression ) }
  [ argument | VALUE ( expression ) ] ...
     .
     .
     . 

You can also use the OUTPUT THROUGH statement to access spooling capabilities on UNIX systems. For example, this command sends output to the printer named lw on a UNIX system:

OUTPUT THROUGH lpr -Plw. 

For a complete description of the OUTPUT THROUGH statement, see the Progress Language Reference.


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