| local-fileref | specify the name of a local fileref. The contents of the stored process output file are copied to this fileref. The short form of the OUTPUTFILE statement, OUTPUTFILE stored-process-file;, is equivalent to OUTPUTFILE stored-process-file=stored-process-file;. |
| “local-file-path” | specify the path of a local file. A fileref is assigned for the stored process to access the file directly. |
PROC STP PROGRAM="/Products/SAS Intelligence Platform/Samples/
Example Stored Process";
...
OUTPUTFILE FILE1; /* copies data from stored process FILE1
fileref to local FILE1 fileref */
OUTPUTFILE FILE2=MYFILE; /* copies data from stored process FILE2
fileref to local MYFILE fileref */
OUTPUTFILE FILE3="/tmp/data3.csv"; /* copies data from stored process FILE3
fileref to specified local file */
...
RUN;