Archives of the TeradataForum
Message Posted: Thu, 09 Feb 2006 @ 17:26:31 GMT
Subj: | | Re: PMON Logon source and Batch Account Tracking |
|
From: | | Dempsey, Mike |
You could write a simple Monitor application using the COM Monitor Object that comes with Teradata Manager.
(Look at the Samples sub-directory for example code.)
Your code would simply read the Session data periodically, and loop through all sessions to find the batch userids. For each one found you
would then check the LogonSource to determine if it was valid usage. If not, you would call the Abort function to kill that session.
Mike Dempsey
Teradata Client Tools
|