<?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-TO: Transfer an Oracle Form Personalization to a Different Environment</title>
	<atom:link href="http://www.danilovizzarro.it/2009/05/how-to-transfer-an-oracle-form-personalization-to-a-different-environment/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.danilovizzarro.it/2009/05/how-to-transfer-an-oracle-form-personalization-to-a-different-environment/</link>
	<description>the Blog of</description>
	<lastBuildDate>Sat, 06 Aug 2011 16:59:15 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: iain</title>
		<link>http://www.danilovizzarro.it/2009/05/how-to-transfer-an-oracle-form-personalization-to-a-different-environment/comment-page-1/#comment-4348</link>
		<dc:creator>iain</dc:creator>
		<pubDate>Wed, 05 Aug 2009 23:45:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=390#comment-4348</guid>
		<description>Nice site, lots of very useful tit-bits, thanks for putting them online.

You may want to consider something like this for loading the ldt files:
################################
# APPLY_LDT file
# Parameters: $1 LDT file name
#             
################################

APPLY_LDT(){
  lctfile=`grep &quot;# dbdrv:&quot; $1 &#124; sed &#039;s/.*@\([A-Z]\{1,\}\):\([A-Za-z0-9:/.]\{1,\}\).*/\2/&#039;`
  lcttop=`grep &quot;# dbdrv:&quot; $1 &#124; sed &#039;s/.*@\([A-Z]\{1,\}\):\([A-Za-z0-9:/.]\{1,\}\).*/\1_TOP/&#039;`
  lctpath=`set &#124; grep $lcttop= &#124;cut -d&#039;=&#039; -f2`/$lctfile

  # Copy and backup the file
  COPYFILE $1 $XBOL_TOP/patch/115/import 
  # Run FNDLOAD and apply change
  if FNDLOAD $APPSID 0 Y UPLOAD ${lctpath} $1 
  then
    echo &quot;\n$1 Changes sucessfully applied, using ${lctfile}&quot;
  else 
    echo &quot;$1 failed&quot;
    echo &quot;The Login id: $APPSID or LCT file ${lctpath} may be invalid.&quot;
    echo &quot;Please check the FNDLOAD log file above and rerun&quot;
    echo &quot;Aborting......&quot; 
    ERROR_AND_EXIT
  fi; 
}</description>
		<content:encoded><![CDATA[<p>Nice site, lots of very useful tit-bits, thanks for putting them online.</p>
<p>You may want to consider something like this for loading the ldt files:<br />
################################<br />
# APPLY_LDT file<br />
# Parameters: $1 LDT file name<br />
#<br />
################################</p>
<p>APPLY_LDT(){<br />
  lctfile=`grep &#8220;# dbdrv:&#8221; $1 | sed &#8217;s/.*@\([A-Z]\{1,\}\):\([A-Za-z0-9:/.]\{1,\}\).*/\2/&#8217;`<br />
  lcttop=`grep &#8220;# dbdrv:&#8221; $1 | sed &#8217;s/.*@\([A-Z]\{1,\}\):\([A-Za-z0-9:/.]\{1,\}\).*/\1_TOP/&#8217;`<br />
  lctpath=`set | grep $lcttop= |cut -d&#8217;=&#8217; -f2`/$lctfile</p>
<p>  # Copy and backup the file<br />
  COPYFILE $1 $XBOL_TOP/patch/115/import<br />
  # Run FNDLOAD and apply change<br />
  if FNDLOAD $APPSID 0 Y UPLOAD ${lctpath} $1<br />
  then<br />
    echo &#8220;\n$1 Changes sucessfully applied, using ${lctfile}&#8221;<br />
  else<br />
    echo &#8220;$1 failed&#8221;<br />
    echo &#8220;The Login id: $APPSID or LCT file ${lctpath} may be invalid.&#8221;<br />
    echo &#8220;Please check the FNDLOAD log file above and rerun&#8221;<br />
    echo &#8220;Aborting&#8230;&#8230;&#8221;<br />
    ERROR_AND_EXIT<br />
  fi;<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

