 




<?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: what is field reference file</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/what-is-field-reference-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/what-is-field-reference-file/</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: ramvishakramesh</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/what-is-field-reference-file/#comment-107842</link>
		<dc:creator>ramvishakramesh</dc:creator>
		<pubDate>Tue, 29 May 2012 10:50:58 +0000</pubDate>
		<guid isPermaLink="false">#comment-107842</guid>
		<description><![CDATA[I have a query, I have a field reference file with say 10 fields and I have some files which refer to this field reference file, Is it possible to delete the field reference file now?]]></description>
		<content:encoded><![CDATA[<p>I have a query, I have a field reference file with say 10 fields and I have some files which refer to this field reference file, Is it possible to delete the field reference file now?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: graybeard52</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/what-is-field-reference-file/#comment-71529</link>
		<dc:creator>graybeard52</dc:creator>
		<pubDate>Sat, 12 Dec 2009 01:13:32 +0000</pubDate>
		<guid isPermaLink="false">#comment-71529</guid>
		<description><![CDATA[To change the length of a field that has DDS defined, just fix the DDS and run CHGPF.  You will then need to recompile any RPG programs that use the file, since you  have now changed the file level.
If you use CRTPF you will lose all you data, so use CHGPF instead.]]></description>
		<content:encoded><![CDATA[<p>To change the length of a field that has DDS defined, just fix the DDS and run CHGPF.  You will then need to recompile any RPG programs that use the file, since you  have now changed the file level.<br />
If you use CRTPF you will lose all you data, so use CHGPF instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: teandy</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/what-is-field-reference-file/#comment-71514</link>
		<dc:creator>teandy</dc:creator>
		<pubDate>Fri, 11 Dec 2009 17:46:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-71514</guid>
		<description><![CDATA[I don&#039;t think you can change a field length in a file without recompiling it and the programs that use it.  Even if you can, I think it would be extremely foolish, not to mention dangerous, to do so.  Here is what I would do:

First make a back up of the original file.

CPYF FROMFILE(MYLIB/FILEA) TOFILE(MYLIB/FILEABAK) MBROPT(*REPLACE) CRTFILE(*YES)

Second, change the dds for FEILDA from 10 to 30 and recompile the file.

Third, copy the data from the back up back to the original file.

CPYF FROMFILE(MYLIB/FILEABAK) TOFILE(MYLIB/FILEA) MBROPT(*REPLACE) FMTOPT( *NOCHK)

Fourth, recompile the programs that use the file.]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t think you can change a field length in a file without recompiling it and the programs that use it.  Even if you can, I think it would be extremely foolish, not to mention dangerous, to do so.  Here is what I would do:</p>
<p>First make a back up of the original file.</p>
<p>CPYF FROMFILE(MYLIB/FILEA) TOFILE(MYLIB/FILEABAK) MBROPT(*REPLACE) CRTFILE(*YES)</p>
<p>Second, change the dds for FEILDA from 10 to 30 and recompile the file.</p>
<p>Third, copy the data from the back up back to the original file.</p>
<p>CPYF FROMFILE(MYLIB/FILEABAK) TOFILE(MYLIB/FILEA) MBROPT(*REPLACE) FMTOPT( *NOCHK)</p>
<p>Fourth, recompile the programs that use the file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mohan k</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/what-is-field-reference-file/#comment-71437</link>
		<dc:creator>mohan k</dc:creator>
		<pubDate>Thu, 10 Dec 2009 13:44:41 +0000</pubDate>
		<guid isPermaLink="false">#comment-71437</guid>
		<description><![CDATA[Hi Gilly,

i have one question which regards to your above explination.

For example i have created 1 physical file FILEA with 10 fields in that PF by referencing each field from field reference file(FLDREFFILE).
  
if i have populated the 10000 records of data to the file FILEA from production.

after moving the file to production later on if i receive a request from client saying that FIELDA length needs to be changed from 10 character to 30 character in FILEA.

in this case i can not change the field FIELDA length in FILEA, since i am referencing  this field from REFFILE.

if i want to change the field length from 10 character to 30 character in FILEA with out compiling the FILEA and with out losing the data in FILEA what should i have to do.

Please suggest me.  

Thanks 
Mohan K.]]></description>
		<content:encoded><![CDATA[<p>Hi Gilly,</p>
<p>i have one question which regards to your above explination.</p>
<p>For example i have created 1 physical file FILEA with 10 fields in that PF by referencing each field from field reference file(FLDREFFILE).</p>
<p>if i have populated the 10000 records of data to the file FILEA from production.</p>
<p>after moving the file to production later on if i receive a request from client saying that FIELDA length needs to be changed from 10 character to 30 character in FILEA.</p>
<p>in this case i can not change the field FIELDA length in FILEA, since i am referencing  this field from REFFILE.</p>
<p>if i want to change the field length from 10 character to 30 character in FILEA with out compiling the FILEA and with out losing the data in FILEA what should i have to do.</p>
<p>Please suggest me.  </p>
<p>Thanks<br />
Mohan K.</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 5/8 queries in 0.020 seconds using memcached
Object Caching 311/312 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-20 02:22:05 -->