BookmarkSubscribeRSS Feed
RoderickNeal
Calcite | Level 5

The sample stored pocess delivered by SAS show a prompt for generating a SAS log along with the report. I want to add that option to my program. I know I can just put an %ABORT; at the end and that will give me the option. That would bother the end user with the message saying error

2 REPLIES 2
Reeza
Super User
Can't you use PROC PRINTTO to direct the log to a file and then when it's done it will be saved correctly?
RoderickNeal
Calcite | Level 5

That would provide one solution but I really want to duplicate what SAS has done in the Sample Stored Process

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 322 views
  • 0 likes
  • 2 in conversation