@whs278 wrote: LOGPARM=WRITE=BUFFERED ROLLOVER=NONE OPEN=REPLACE Can you change to WRITE=IMMEDIATE for one SAS program or does this have to be set up in the system? Perhaps writing a macro similar to the one ballardw suggested is my best option.
If you're submitting a batch job (command line, shell script, etc), then yes. With Display Manager (PC SAS), Enterprise Guide, and SAS Studio, generally no. The Admin has to set that up.
In the mean time, try this:
%PUT NOTE- ;
Place that statement after your existing %PUT. Repeat that statement five times, all after your original %PUT.
I'm assuming here that you have added "NOTE:" to your original %PUT. The "NOTE: " induces colorization and makes things easier to see. If you for some reason don't want to add "NOTE: ", then delete "NOTE- " from the SAS code I posted above.
Hopefully a few "blank" %PUT statements will cause SAS to write to the log before the sort. If not, we could try a macro as @ballardw suggests.
Jim
... View more