Production Ready Macros for SAS Application Developers File Reference

Streams a file to _webout according to content type. More...

Go to the source code of this file.

Detailed Description

Will set headers using appropriate functions (SAS 9 vs Viya) and send content as a binary stream.


filename mc url
%inc mc;


SAS Macros

contenttype=Either TEXT, ZIP, CSV, EXCEL (default TEXT)
inloc=/path/to/file.ext to be sent
inref=fileref of file to be sent (if provided, overrides inloc)
outname=the name of the file, as downloaded by the browser
Allan Bowe @source

Definition in file