Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Get the Last Run Time for a PF
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Get the Last Run Time for a PF
 Login/Join
 
Expert
posted
Is there an out-of-box way to automagicly report , using RC, the last time that an ETL PF Ran?

Or, do I do something like this,? If so, what are the items in the {} brackets?
TABLE FILE {ETL LOG FILE}
BY HIGHEST 5 {ETL END TIME}
WHERE MY_PF EQ 'DOUGS_ETL_PF'
END

Thanks, Doug

This message has been edited. Last edited by: FP Mod Chuck,


   See you at Summit! In FOCUS Since 1983 ~ from PC FOCUS to WebFOCUS.
   Currrently using 8204 Gen 48 in Test and Production.
   KGPCo at CenturyLink. October 2017 to Present...
 
Posts: 2967 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
All that I really want to get is the date/time stamp of the last execution of an ETL PF.
 
Posts: 2967 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Doug

Try this..


TABLE FILE ETLLOG
SUM REQ_NAME
BY HIGHEST DATE
WHERE REQ_NAME EQ 'DOUGS_ETL_PF'
ON TABLE PCHOLD FORMAT HTML
END


The master file for the etllog can be found in the following directory \ibi\srv82\home\catalog


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1488 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
That's what I was hoping for... However, all I get back for 'REQ_NAME' is RMUDBLOD, rmusavlg, and blanks with seemingly good timestamps (20180923052409000000).

The subject line of than email is something like this: "(ICM18764) Request kgp_doug/lee_master_delta_pf failed; RC = 60002"

Here's a few lines.
20190211210021000000 RMUDBLOD RMUDBLOD 
20190211210002000000 RMUDBLOD RMUDBLOD 
20190211210002000000 rmusavlg rmusavlg 
20190211210001000000 rmusavlg rmusavlg 
20190210210018000000 RMUDBLOD RMUDBLOD 
20190210210017000000 RMUDBLOD RMUDBLOD 
20190210210002000000 RMUDBLOD RMUDBLOD 

Here's the code:
TABLE FILE ETLLOG
SUM REQ_NAME
BY HIGHEST DATE
BY REQ_NAME
-*WHERE REQ_NAME EQ 'DOUGS_ETL_PF'
ON TABLE SET BYDISPLAY ON
ON TABLE PCHOLD FORMAT HTML
END
 
Posts: 2967 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Hmmmmm that is the only field other than JOBNAME in that master and JOBNAME is not helpful. I saw valid values for REQ_NAME when I run it on my system


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1488 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
I'm not sure. But, there may be something that can be added to the ETL process itself.

I gotta learn more about the ETL processing...
 
Posts: 2967 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
I'm checking to see if there's something that can be added to the ETL process itself.

I'm open to any suggestions... insight...
 
Posts: 2967 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Doug

There is a second table that may help. I see the same request name as I did in the etllog file though, but I wanted to make you aware of it..


TABLE FILE ETLSTATS
SUM S_REQ_NAME
BY HIGHEST 1 STAT_STRT_T
ON TABLE PCHOLD FORMAT HTML
END


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1488 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
Thanks for the ETLSTATS... But, we're still not there yet.

I'll give this post a little more time before I close it.
 
Posts: 2967 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Silver Member
posted Hide Post
Doug,
The best way to obtain a response to this type of questions is to open a Hottrack case.

Thanks, Marina.
 
Posts: 32 | Registered: February 13, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
Yep, "The best way to obtain a response to this type of questions is to open a Hottrack case."

"I'll give this post a little more time before I close it." I'll do that when my priorities permit, Maybe this week.


   See you at Summit! In FOCUS Since 1983 ~ from PC FOCUS to WebFOCUS.
   Currrently using 8204 Gen 48 in Test and Production.
   KGPCo at CenturyLink. October 2017 to Present...
 
Posts: 2967 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Get the Last Run Time for a PF

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.