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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 612 views
  • 0 likes
  • 2 in conversation