Quantcast
Channel: Teradata Developer Exchange - Blog activity for carrie's blog
Viewing all articles
Browse latest Browse all 1058

Rejection CAN be Rewarding - comment by carrie

$
0
0

I believe you can use a period event type to do this.
 
I have not done this myself, but you should be able to set up a TASM event that triggers a program to run at specific times, by doing the following:
1.  In the State Matrix, click on the pencil (editing) inside the Planned Environment box
2.  When you see "Available Events"  hit the plus sign
3.  Select the Period Event Type and give the event a name
4.  Do not check "Create new Corresponding Planned Environment", unless you really want to create a new one, but you don't need to
5.  Select a day of the week (like every Sunday) you want this program to run
6.  Select as an action the program that you want to run
 
For this to work you must have already entered the name of the program you want to run in a particular location in Viewpoint.  That's a little tricky to do.   I have been told that the steps are documented in Chapter 2 of the Teradata Alerts Configuration Guide, so check that out.   If you get stuck, post a question on Teradata Forum, the Viewpoint section, and see if someone out there can help you.
 
In terms of using a filter in warning mode as you described below, that will not work.  Filters only support the standard TASM classification criteria in a straightforward way, and do not allow calculations across classification criteria as would be needed to determined the difference between estimated and actual time.  In addition, at the time a filter rule is applied the actual numbers of seconds is not known as the request has not executed.
 
You could use DBQLogTbl output after the fact to determine this, but not before the query executes.
 
Thanks, -Carrie


Viewing all articles
Browse latest Browse all 1058

Trending Articles