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=.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 338 views
  • 0 likes
  • 2 in conversation