Cynthia, Working with Andrew DW from SAS, I was able to put together a solution that worked within our server-based SAS Studio environment (due to HIPAA). I'll share it here. Here’s what worked, embedded in a macro to save the entire HTML output generated from the macro call. Make sure that the file or directory location in the path already exists. Here, V is a variable used in the procedures while FLDR is the destination directory. Having only the ODS HTML output type open may help to prevent problems mentioned in earlier comments. %MACRO XBETA (V, FLDR); filename odsout "/home/…//SASStudioDirect/&FLDR"; ods _all_ close; ods html path=odsout file="&V..html"; *lots of code*; ods html close; %MEND; %XBETA(V=..., FLDR=...); This code also worked when running a batch job in Linux. Thanks.
... View more