 




<?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: how many programmes are using any perticular database file in as400</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-many-programmes-are-using-any-perticular-database-file-in-as400/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-many-programmes-are-using-any-perticular-database-file-in-as400/</link>
	<description></description>
	<lastBuildDate>Sun, 19 May 2013 03:14:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: nirmu400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-many-programmes-are-using-any-perticular-database-file-in-as400/#comment-84412</link>
		<dc:creator>nirmu400</dc:creator>
		<pubDate>Fri, 26 Nov 2010 09:54:36 +0000</pubDate>
		<guid isPermaLink="false">#comment-84412</guid>
		<description><![CDATA[DSPPGMREF is a good option to start with and normally we uses Hawk-eye  tool. But tools are also made of similar commands.....]]></description>
		<content:encoded><![CDATA[<p>DSPPGMREF is a good option to start with and normally we uses Hawk-eye  tool. But tools are also made of similar commands&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gilly400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-many-programmes-are-using-any-perticular-database-file-in-as400/#comment-55823</link>
		<dc:creator>gilly400</dc:creator>
		<pubDate>Wed, 20 Aug 2008 13:48:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-55823</guid>
		<description><![CDATA[Hi,

Unless you have your database files journalled, you have to start from the program end to see which program uses which file instead of from the file end to check which file is used by which program.  This is why DSPPGMREF and ANZPGM are used in this case.

Since DSPPGMREF can be used to create an outputfile, you can then use query to find out which programs use a particular data file.  You only need to run DSPPGMREF once across all the objects in your program library(ies) and you have all the necessary data.

If you have journalling, you can check in the journals to see which programs have accessed a file, but then if you have something like a year-end procedure, you will need journals for a year or more to find all the programs that access your file.  Most people don&#039;t have that sort of disk space available for journal storage.

Regards,

Martin Gilbert.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Unless you have your database files journalled, you have to start from the program end to see which program uses which file instead of from the file end to check which file is used by which program.  This is why DSPPGMREF and ANZPGM are used in this case.</p>
<p>Since DSPPGMREF can be used to create an outputfile, you can then use query to find out which programs use a particular data file.  You only need to run DSPPGMREF once across all the objects in your program library(ies) and you have all the necessary data.</p>
<p>If you have journalling, you can check in the journals to see which programs have accessed a file, but then if you have something like a year-end procedure, you will need journals for a year or more to find all the programs that access your file.  Most people don&#8217;t have that sort of disk space available for journal storage.</p>
<p>Regards,</p>
<p>Martin Gilbert.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ten2008</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-many-programmes-are-using-any-perticular-database-file-in-as400/#comment-55821</link>
		<dc:creator>ten2008</dc:creator>
		<pubDate>Wed, 20 Aug 2008 13:25:12 +0000</pubDate>
		<guid isPermaLink="false">#comment-55821</guid>
		<description><![CDATA[Hi,
i think the DSPPGMREF displays the objects referred by a program. Hence if you want to know the programs that are using a particular file this is not directly useful. Then you need to write a CL program using the DSPPGMREF command inside the program and some processing finally to achieve the goal.

Hope somebody can eloborate on this...

thanks
Ram]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
i think the DSPPGMREF displays the objects referred by a program. Hence if you want to know the programs that are using a particular file this is not directly useful. Then you need to write a CL program using the DSPPGMREF command inside the program and some processing finally to achieve the goal.</p>
<p>Hope somebody can eloborate on this&#8230;</p>
<p>thanks<br />
Ram</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gilly400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-many-programmes-are-using-any-perticular-database-file-in-as400/#comment-55576</link>
		<dc:creator>gilly400</dc:creator>
		<pubDate>Fri, 08 Aug 2008 09:52:56 +0000</pubDate>
		<guid isPermaLink="false">#comment-55576</guid>
		<description><![CDATA[Hi,

The OVRDBF can normally be picked up on the DSPPGMREF if it&#039;s hard coded, however if used in combination with data files and data areas, etc it can be much harder to find - you will probably see files referred to as something like &amp;FILENAME, then you have to look to see where the variable is coming from.

Regards,

Martin Gilbert.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>The OVRDBF can normally be picked up on the DSPPGMREF if it&#8217;s hard coded, however if used in combination with data files and data areas, etc it can be much harder to find &#8211; you will probably see files referred to as something like &amp;FILENAME, then you have to look to see where the variable is coming from.</p>
<p>Regards,</p>
<p>Martin Gilbert.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-many-programmes-are-using-any-perticular-database-file-in-as400/#comment-55566</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Thu, 07 Aug 2008 18:31:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-55566</guid>
		<description><![CDATA[More bad news.

OVRDBF in a CL or RPG can cause the program to use a file other than the one shown on the DSPPGMREF command.  Also User Open files can be redirected with the F spec keywork Extfile.

The OVRDBF coupled with an OPNQRYF can make access even more difficult to identiy.
Imbedded SQL commands can use files that are not identified in DSPPGMREF.  

Query 400 also uses logicals.

Phil]]></description>
		<content:encoded><![CDATA[<p>More bad news.</p>
<p>OVRDBF in a CL or RPG can cause the program to use a file other than the one shown on the DSPPGMREF command.  Also User Open files can be redirected with the F spec keywork Extfile.</p>
<p>The OVRDBF coupled with an OPNQRYF can make access even more difficult to identiy.<br />
Imbedded SQL commands can use files that are not identified in DSPPGMREF.  </p>
<p>Query 400 also uses logicals.</p>
<p>Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gilly400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-many-programmes-are-using-any-perticular-database-file-in-as400/#comment-55555</link>
		<dc:creator>gilly400</dc:creator>
		<pubDate>Thu, 07 Aug 2008 11:31:01 +0000</pubDate>
		<guid isPermaLink="false">#comment-55555</guid>
		<description><![CDATA[Hi,

Don&#039;t forget that there could always be programs that get missed by whatever method you use to look for this - for example where file names are stored in a file or data area instead of being coded in your program.

Regards,

Martin Gilbert.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Don&#8217;t forget that there could always be programs that get missed by whatever method you use to look for this &#8211; for example where file names are stored in a file or data area instead of being coded in your program.</p>
<p>Regards,</p>
<p>Martin Gilbert.</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.038 seconds using memcached
Object Caching 335/341 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-19 07:28:41 -->