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