Chapter Contents

Previous

Next
SAS Companion for the OS/2 Environment

Overview of Pipes

A pipe is a channel of communication between two processes. For example, with the SAS System and OS/2, you can use a specialized OS/2 application to provide information to your SAS session or vice versa.

Pipes can be one-way or two-way. With a one-way pipe, one application writes data to the pipe, and the other application reads from it. With a two-way pipe, both applications can read and write data. Pipes can be either unnamed or named:

unnamed pipe
Also called an anonymous pipe (or simply a pipe), this type of pipe is always one way. It is typically used to communicate between a parent process and a child process. Within SAS, the SAS System is the parent process that invokes (and reads data from) a child process.

named pipe
This type of pipe can handle one-way or two-way communication between two unrelated processes. That is, one process is not started by the other. In fact, it is possible to have two applications communicate over a pipe on a network. You can use named pipes within SAS to communicate with other applications or even with another SAS session.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.