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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 831 views
  • 0 likes
  • 2 in conversation