BookmarkSubscribeRSS Feed
Arun_SP
Fluorite | Level 6

I have a EG project with multiple process flows and various tasks (mostly query builders). Is there a way to compile the info from the various task logs into a table on a library? I only want certain information from the logs. I have the table structure already setup.

 

The table contains the follwoing columns,

  • Process_Flow - Name of the process flow in which the task is present
  • Task - Name of the task
  • Nobs_Generated - No. of recods generated as output of the task
  • Real_Time - Real time taken in seconds
  • CPU_Time - CPU time taken in seconds

 

 

1 REPLY 1
Kurt_Bremser
Super User

Use Proc printto to redirect the log to a file.

Then read the file in a data step, filter for the interesting lines, and extract your data from there.

 

make sure (by adding custom code to be run before every task) that

_CLIENTTASKLABEL

Label for the current task. This is the text label that is displayed in the project tree and the process flow.

is written to the log before every task.

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!
SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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