The Unix version of SAS was ported from MVS several years ago, and to make the long history short, the SAS executable does not import from STDIN. To make this work on Unix, slightly change the previous sentence to something like:
echo "your SAS code" > temp;sas -sysin temp
Hope this will be helpful.
Mark
source
share