Unnamed pipes enable
                  you to invoke a program outside of SAS and redirect the program's
                  input, output, and error messages to SAS. This capability enables
                  you to capture data from a program external to SAS without creating
                  an intermediate data file.
               
 
               For unnamed pipes to
                  work with Windows applications external to SAS, the application program
                  must read data from standard input (STDIN), write output to standard
                  output (STDOUT), and write errors to standard error (STDERR). These
                  files have numeric file handles associated with them, as follows:
                  
               
 
               
                When SAS captures STDERR
                  from another application, the error messages are routed by default
                  to the SAS log. If you want to write to STDIN in another application,
                  you can use a PUT statement in a SAS DATA step. Because SAS can write
                  to STDIN and capture from STDOUT in the same application, unnamed
                  pipes can be used to send data to an external program, as well as
                  to capture the output and error messages of the same program. You
                  can use redirection sequences to redirect STDIN, STDOUT, and STDERR. 
               
 
               When you start SAS from
                  the Windows desktop, STDIN and STDOUT are not available to your programs.