BookmarkSubscribeRSS Feed
GargS
Calcite | Level 5


The logs that are produced in CDI while working on a job, can still have warnings about numeric or character conversion or missing values generated. Has anyone come out with a way to have a log check to make sure that our logs are clean at the end of the day?

1 REPLY 1
Quentin
Super User

I don't have CDI, but I'm a big fan of log scanning.   Assuming CDI is generating SAS code (like DI studio or EG or many other SAS clients), I would look for a way (perhaps with a "custom code" element) to invoke proc printto at the beginning of your job/session to write the log file to somewhere you can access.  Then at the end of the job you can scan the log for whatever you want.   That's how I approach it with DI studio, EG, and web reporting.  I'm a fan of log scanning macros.  My favorite approach is from this paper:

http://www.lexjansen.com/nesug/nesug01/cc/cc4008.pdf

I blogged about log scanning in the stored process setting here:

http://bi-notes.com/2012/07/stored-process-ignore-log-your-own-peril/

HTH,

--Q.

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

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

Discussion stats
  • 1 reply
  • 1383 views
  • 0 likes
  • 2 in conversation