 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Logging user views to a record on the AS/400</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/logging-user-veiws-to-a-record-on-the-as400/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/logging-user-veiws-to-a-record-on-the-as400/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 06:06:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: koohiisan</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/logging-user-veiws-to-a-record-on-the-as400/#comment-71203</link>
		<dc:creator>koohiisan</dc:creator>
		<pubDate>Thu, 03 Dec 2009 19:53:22 +0000</pubDate>
		<guid isPermaLink="false">#comment-71203</guid>
		<description><![CDATA[You should be cautious with setting a &#039;read&#039; trigger on the file, or at least that&#039;s what I read when I was researching the different types of triggers.  From my research, the trigger would be called for every read...even those which are strictly programatic.  So, if a program reads through every record in the file to do something, or if you run a query against the file, or an SQL statement...I believe you&#039;d get a record written to your log file for each.  

Of course, I&#039;m sure that you could read some info into the trigger program (or a program that the trigger submits for batch processing) that could determine if the read access was from an &#039;allowed&#039; source, such as a certain program and just not inundate your log file with unwanted records.

YMMV.  This is purely from memory, and it was a couple of years ago when I dug into this.  I did learn some helpful things about triggers and how they can be written to minimize their effect on your database speed.  But...that&#039;s a topic for another question...  ;)]]></description>
		<content:encoded><![CDATA[<p>You should be cautious with setting a &#8216;read&#8217; trigger on the file, or at least that&#8217;s what I read when I was researching the different types of triggers.  From my research, the trigger would be called for every read&#8230;even those which are strictly programatic.  So, if a program reads through every record in the file to do something, or if you run a query against the file, or an SQL statement&#8230;I believe you&#8217;d get a record written to your log file for each.  </p>
<p>Of course, I&#8217;m sure that you could read some info into the trigger program (or a program that the trigger submits for batch processing) that could determine if the read access was from an &#8216;allowed&#8217; source, such as a certain program and just not inundate your log file with unwanted records.</p>
<p>YMMV.  This is purely from memory, and it was a couple of years ago when I dug into this.  I did learn some helpful things about triggers and how they can be written to minimize their effect on your database speed.  But&#8230;that&#8217;s a topic for another question&#8230;  <img src='http://itknowledgeexchange.techtarget.com/itanswers/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.035 seconds using memcached
Object Caching 271/277 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 06:38:59 -->