BookmarkSubscribeRSS Feed
Kam
Calcite | Level 5 Kam
Calcite | Level 5

I have a SAS DI job which is driven based off of a parameter that ranges from 1-17.  This is set at the job level under Properties>Parameters.  Within that job there is a loop which calls another job.   To run all variations the log file will be huge.

 

Is there a way to output a new log file each time one of those 1-17 parameters are ran?  Also can I name the log file based on the parameter?

 

Been looking into LOGPARM  and ROLLOVER....but still a little confused.  

 

Also If this is an option where would this be set?  At the flow level in MGMT Console - I notice when I view the properties of the job in the flow there is an "Advanced" tab and it looks like you can set other LSF options.  Would that be the location. 

1 REPLY 1
lethcons
Obsidian | Level 7

I suggest you look at PROC PRINTTO LOG=.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 1 reply
  • 634 views
  • 0 likes
  • 2 in conversation