<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Oracle Apps</title>
    <link rel="alternate" type="text/html" href="http://chandramouly.com/" />
    <link rel="self" type="application/atom+xml" href="http://chandramouly.com/atom.xml" />
    <id>tag:chandramouly.com,2010-04-27:/5</id>
    <updated>2010-05-06T05:56:54Z</updated>
    
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 5.01</generator>

<entry>
    <title>FNDLOAD - Upload, download oracle program definitions</title>
    <link rel="alternate" type="text/html" href="http://chandramouly.com/2010/05/fndload---upload-download-oracle-program-definitions.html" />
    <id>tag:chandramouly.com,2010://5.16</id>

    <published>2010-05-06T05:47:13Z</published>
    <updated>2010-05-06T05:56:54Z</updated>

    <summary>Need to migrate concurrent program definition from one instance to another without creating it again manually. Say the program definitions have to be moved from Instance A to B.1. Download the program definitions from one instance using FNDLOAD command2. Use...</summary>
    <author>
        <name>chandramouly</name>
        
    </author>
    
    <category term="migration" label="migration" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="oraclescripts" label="oracle scripts" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://chandramouly.com/">
        <![CDATA[Need to migrate concurrent program definition from one instance to another without creating it again manually. Say the program definitions have to be moved from Instance A to B.<div><br /></div><div>1. Download the program definitions from one instance using FNDLOAD command</div><div>2. Use the .ldt file for download and upload, run the scripts in the UNIX box. Get the output</div><div>3. Upload the program definition using FNDLOAD command</div><div><br /></div><div>Execute this in Source Instance A</div><div><div>FNDLOAD usr/pwd@instance 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct PRG_XX.ldt PROGRAM APPLICATION_SHORT_NAME="XX"&nbsp;CONCURRENT_PROGRAM_NAME="XX_CP"</div><div><br /></div><div>Get the PRG_XX.ldt output file and copy into local.</div><div><br /></div><div>Then execute the below upload in Instance B where the definition needs to be migrated.</div><div><br /></div><div>FNDLOAD usr/pwd@instance 0 Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct PRG_XX.ldt&nbsp;</div><div><br /></div><div>Related Posts:</div><div>http://oracle.anilpassi.com/oracle-fndload-script-examples.html</div><div>http://www.oracleappshub.com/aol/its-all-about-fndload/</div><div><br /></div></div>]]>
        
    </content>
</entry>

<entry>
    <title>Extract tables from Oracle Apps - Code migration between instances</title>
    <link rel="alternate" type="text/html" href="http://chandramouly.com/2010/05/extract-tables-from-oracle-apps---code-migration-between-instances.html" />
    <id>tag:chandramouly.com,2010://5.15</id>

    <published>2010-05-06T05:35:13Z</published>
    <updated>2010-05-06T05:40:56Z</updated>

    <summary><![CDATA[I faced this situation: Need to move tables from one instance to another instance in Oracle applications. I just need to extract create table definitions, so that I can execute those create statements in another instance.Script:&nbsp;&nbsp; &nbsp;SELECT DBMS_METADATA.GET_DDL('TABLE',u.table_name)&nbsp;&nbsp; &nbsp; FROM...]]></summary>
    <author>
        <name>chandramouly</name>
        
    </author>
    
    <category term="migration" label="migration" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="oraclescripts" label="oracle scripts" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://chandramouly.com/">
        <![CDATA[I faced this situation: Need to move tables from one instance to another instance in Oracle applications. I just need to extract create table definitions, so that I can execute those create statements in another instance.<div><br /></div><div>Script:</div><div><br /></div><div><div>&nbsp;&nbsp; &nbsp;SELECT DBMS_METADATA.GET_DDL('TABLE',u.table_name)</div><div>&nbsp;&nbsp; &nbsp; FROM ALL_TABLES u</div><div>&nbsp;&nbsp; &nbsp; where u.table_name like 'XX_TABLE_NAME'</div><div><br /></div><div>dbms_metadata package helps us to get the create table definition. You can use all_tables or user_tables to get the table name details.</div><div><br /></div><div>Usage: Move table definitions from one instance to another instance.&nbsp;</div></div>]]>
        
    </content>
</entry>

<entry>
    <title>oracle apps scripts and commands</title>
    <link rel="alternate" type="text/html" href="http://chandramouly.com/2010/04/oracle-apps-scripts-and-commands.html" />
    <id>tag:chandramouly.com,2010://5.13</id>

    <published>2010-04-27T21:48:00Z</published>
    <updated>2010-04-27T21:48:33Z</updated>

    <summary><![CDATA[SQL Loader command : &nbsp; sqlldr control=ctrl_file.ctl SKIP=1 log=logfile.log bad=badfile.log discard=discardfile errors=150000 userid=apps/apps@instance --xx-- &nbsp; FNDLOAD command: &nbsp; FNDLOAD apps/apps@instance 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct PRG_XX.ldt PROGRAM APPLICATION_SHORT_NAME="XX" CONCURRENT_PROGRAM_NAME="XX" --xx-- &nbsp; Set Multi org in R12: &nbsp; Begin &nbsp;&nbsp; &nbsp; &nbsp;...]]></summary>
    <author>
        <name>chandramouly</name>
        
    </author>
    
    <category term="oraclescripts" label="oracle scripts" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://chandramouly.com/">
        <![CDATA[<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">SQL Loader command :<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">sqlldr
control=ctrl_file.ctl SKIP=1 log=logfile.log bad=badfile.log
discard=discardfile errors=150000 userid=apps/apps@instance<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">--xx--<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">FNDLOAD command:<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">FNDLOAD
apps/apps@instance 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct
PRG_XX.ldt PROGRAM APPLICATION_SHORT_NAME="XX"
CONCURRENT_PROGRAM_NAME="XX"<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">--xx--<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">Set Multi org in R12:<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">Begin<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp; &nbsp;
&nbsp; mo_global.set_policy_context('S', 99); --99 is the org id<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">End;<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">--xx--<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">To find Oracle forms fmb
version, run the command in unix prompt<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">adident Header &lt;filename&gt;<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">--xx--<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">To find the folder
locations of utl_file directory:<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">select value from
v$parameter where name = 'utl_file_dir'<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">--xx--<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">To be continued....</font><o:p></o:p></span></p>]]>
        
    </content>
</entry>

<entry>
    <title>Oracle XML Publisher Bursting Sample Program</title>
    <link rel="alternate" type="text/html" href="http://chandramouly.com/2010/04/oracle-x.html" />
    <id>tag:chandramouly.com,2010://5.12</id>

    <published>2010-04-27T21:47:13Z</published>
    <updated>2010-04-27T21:47:48Z</updated>

    <summary><![CDATA[&lt;xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting"&gt; &nbsp;&nbsp; &nbsp;&lt;xapi:request select="/../../LIST_G_INVOICE/G_INVOICE"&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &lt;xapi:delivery&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;xapi:filesystem output="/server/outputfolder/${TRX_NUMBER}.pdf" id="1234" /&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &lt;/xapi:delivery&gt; &nbsp;&nbsp; &nbsp; &lt;xapi:document output-type="pdf" delivery="1234"&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;xapi:template type="rtf" location="xdo://AR.INVOICE.en.US/?getSource=true"&gt; &nbsp;&nbsp; &nbsp; &nbsp;...]]></summary>
    <author>
        <name>chandramouly</name>
        
    </author>
    
    <category term="bursting" label="bursting" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="xmlpublisher" label="xml publisher" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://chandramouly.com/">
        <![CDATA[<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">&lt;xapi:requestset
xmlns:xapi="http://xmlns.oracle.com/oxp/xapi"
type="bursting"&gt;<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp;
&nbsp;&lt;xapi:request select="/../../LIST_G_INVOICE/G_INVOICE"&gt;<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp; &nbsp;
&nbsp; &nbsp; &lt;xapi:delivery&gt;<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;xapi:filesystem
output="/server/outputfolder/${TRX_NUMBER}.pdf" id="1234"
/&gt;<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp; &nbsp;
&nbsp; &nbsp; &lt;/xapi:delivery&gt;<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp; &nbsp;
&lt;xapi:document output-type="pdf" delivery="1234"&gt;<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp; &nbsp;
&nbsp; &nbsp;&lt;xapi:template type="rtf"
location="xdo://AR.INVOICE.en.US/?getSource=true"&gt;<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp; &nbsp;
&nbsp; &nbsp;&lt;/xapi:template&gt;<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp; &nbsp;
&nbsp;&lt;/xapi:document&gt;<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp;
&lt;/xapi:request&gt;<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">&lt;/xapi:requestset&gt;<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">Here we are trying to
send the PDF output to Server Output Folder.&nbsp;<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">xapi:delivery - Explains
where the output should be delivered<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">xapi:filesystem -
explains the output is destined to filesystem<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">xapi:template -
specifies the template shortcode prefixed with app short code, for eg:
AR.INVOICE - AR-app short code and INVOICE is the xml template short code.<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">location="xdo://AR.INVOICE.en.US/?getSource=true"<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">Above line is very
important, it takes care of pulling the latest template uploaded in the XML
Publisher Administrator responsibility, you don't need to put your template
hanging in any UNIX servers.<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">en - Language<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">US - Territory code
(when you create template definition, you make sure that you select United
States or other country)<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">The same above example
holds good for sending the output through email, fax, etc.,</font><o:p></o:p></span></p> ]]>
        
    </content>
</entry>

<entry>
    <title>UNIX Script for Sending Oracle Concurrent program Output or log file</title>
    <link rel="alternate" type="text/html" href="http://chandramouly.com/2010/04/unix-script-for-sending-oracle-concurrent-program-output-or-log-file.html" />
    <id>tag:chandramouly.com,2010://5.11</id>

    <published>2010-04-27T21:45:49Z</published>
    <updated>2010-04-27T21:46:59Z</updated>

    <summary><![CDATA[To email a concurrent program PDF output. We need to call a UNIX host script to read the file from Oracle output directory and using UNIX command mailx, send the output as an attachment to the email address.&nbsp; UNIX script...]]></summary>
    <author>
        <name>chandramouly</name>
        
    </author>
    
    <category term="oraclescripts" label="oracle scripts" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://chandramouly.com/">
        <![CDATA[<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">To email a concurrent
program PDF output. We need to call a UNIX host script to read the file from
Oracle output directory and using UNIX command mailx, send the output as an
attachment to the email address.&nbsp;<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">UNIX script for sending
email:<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">#======================================================
=====<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "># derive settings<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">#======================================================
=====<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">FILE_IN_BASE=o${V_CURRENT_REQ_ID}.out
# output file generated by Application<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">FILE_ERR_BASE=l${V_CURRENT_REQ_ID}.log
# log file generated by Application<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">FILE_OUT=${APPLCSF}/${APPLOUT}
# output file directory<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">FILE_LOG=${APPLCSF}/${APPLLOG}
# log file directory<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">FILE_IN=${FILE_OUT}/${V_FILE_NAME}<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">FILE_ERR=${FILE_LOG}/${FILE_ERR_BASE}<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">#======================================================
=====<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">#Email Body<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">#======================================================
=====<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">#MESSAGE="Test
Message"<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">#======================================================
=====<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">#Check for Outfile
Validity and existence<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">#======================================================
=====<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">DATAFILE_COUNT='ls -l
$FILE_IN | wc -l'<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">if [ $DATAFILE_COUNT -eq
1 ]<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">then<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">echo "file!"<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">fi<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">if [ $DATAFILE_COUNT -lt
1 ]<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">then<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">echo "No input file
exists"<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">exit 1<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">fi<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">echo =======================================================
========<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">echo "Emailing
Outfile "<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">echo
======================================================= ========<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">uuencode $FILE_IN
Output.pdf| mailx -s "Test Request Output " $V_EMAILID<o:p></o:p></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">exit 0<o:p></o:p></font></span></p>

<span style="font-size: 13.5pt; line-height: 115%; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; ">#======================================================
=====</font></span>]]>
        
    </content>
</entry>

<entry>
    <title>Oracle Customer Master Updates - HZ Party Site and Locations</title>
    <link rel="alternate" type="text/html" href="http://chandramouly.com/2010/04/oracle.html" />
    <id>tag:chandramouly.com,2010://5.10</id>

    <published>2010-04-27T21:41:11Z</published>
    <updated>2010-04-27T21:43:43Z</updated>

    <summary>In Oracle R12, there is a huge change in maintaining Customer Master records, we have a new centralized module called TCA(Trading Community Architecture) which will take care of maintaining customer related information.All tables are stored in HZ module with table...</summary>
    <author>
        <name>chandramouly</name>
        
    </author>
    
    <category term="oracleapi" label="oracle api" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="oracleinterfaces" label="oracle interfaces" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://chandramouly.com/">
        <![CDATA[<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><font class="Apple-style-span" color="#000000" face="'Times New Roman', serif" size="5"><span class="Apple-style-span" style="font-size: 18px;"></span></font></p><font class="Apple-style-span" color="#000000" face="'Times New Roman', serif" size="5"><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">In Oracle R12, there is a huge change in maintaining Customer Master records, we have a new centralized module called TCA(Trading Community Architecture) which will take care of maintaining customer related information.</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">All tables are stored in HZ module with table names starting in HZ%.</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">HZ tables are all related and architecture of the TCA module is,</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><br /></font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">HZ_PARTIES (party-person,organization) &lt;---&gt;&gt; HZ_CUST_ACCOUNTS (customer accounts)</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">A party may contain one or more customer accounts related to it.</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">HZ_PARTIES.PARTY_ID = HZ_CUST_ACCOUNTS.PARTY_ID</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">jh</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">HZ_CUST_ACCOUNTS &lt;---&gt;&gt; HZ_CUST_ACCT_SITES_ALL</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">Linking column: CUST_ACCT_SITE_ID</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><br /></font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">HZ_CUST_ACCT_SITES_ALL &lt;---&gt; HZ_PARTY_SITES_ALL</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">Linking column: PARTY_SITE_ID</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><br /></font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">HZ_CUST_SITE_USES_ALL &lt;---&gt; HZ_CUST_ACCT_SITES_ALL</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">Linking column: CUST_ACCT_SITE_ID</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><br /></font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">Below query explains the link and how we fetch info from HZ tables.</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><br /></font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; select hz.party_name customer_name, hca.account_number customer_number,&nbsp;</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hps.party_site_number site_number, hcsu.location loc_number</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from hz_cust_site_uses_all hcsu,</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hz_cust_accounts hca,</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hz_parties hp</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hz_cust_acct_sites_all hcas,</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hz_party_sites hps</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;where hcas.cust_account_id &nbsp; = hca.cust_account_id</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;and &nbsp; hcsu.cust_acct_site_id = hcas.cust_acct_site_id</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;and &nbsp; hcas.party_site_id &nbsp; &nbsp; = hps.party_site_id</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;and &nbsp; hp.party_id = hca.party_id</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;and &nbsp; hcsu.location &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= :3</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;and &nbsp; hca.account_number &nbsp; &nbsp; = :1</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;and &nbsp; hps.party_site_number &nbsp;= :2</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><br /></font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">There are many APIs to create/update/delete HZ parties, customers, site and location information.</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">Pls refer these packages,</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">HZ_CUST_ACCOUNT_SITE_V2PUB - To update customer sites</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">HZ_CUST_ACCOUNT_V2PUB - To update customers</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">hz_party_v2pub - To update Parties</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">HZ_CUSTOMER_PROFILE_V2PUB - To update customer profiles</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><br /></font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">More information can be found in Oracle TCA technical implementation user guides and also lot of samples found in Metalink when you search any of the above package names.</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" size="4"><span class="Apple-style-span" style="font-size: 14px;"><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><br /></font></font></font></span></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">TCA is also used by lot of other modules include,</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">- TeleSales</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">- CRM</font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><br /></font></font></font></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; ">In R12, all TCA front end screens are in OA framework.</font></font></font></font></p><div><br /></div></font><p></p>]]>
        
    </content>
</entry>

<entry>
    <title>Oracle Item Import Interface - SQL Loader scripts</title>
    <link rel="alternate" type="text/html" href="http://chandramouly.com/2010/04/oracle-item.html" />
    <id>tag:chandramouly.com,2010://5.9</id>

    <published>2010-04-27T21:38:31Z</published>
    <updated>2010-04-27T21:50:00Z</updated>

    <summary>Item has to be loaded into Oracle. We can import items into Oracle using item interface table mtl_system_items_interface. Steps to load item into Oracle. 1. Populate interface table mtl_system_items_interface through SQL Loader(no biz validation) or plsql programs with validation 2....</summary>
    <author>
        <name>chandramouly</name>
        
    </author>
    
    <category term="oracleinterfaces" label="oracle interfaces" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sqlloader" label="sql loader" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://chandramouly.com/">
        <![CDATA[<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><font class="Apple-style-span" color="#000000" face="'Times New Roman', serif" size="5"><span class="Apple-style-span" style="font-size: 18px;"><b></b></span></font></p><font class="Apple-style-span" color="#000000" face="'Times New Roman', serif" size="5"><b><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">Item has to be loaded
into Oracle. We can import items into Oracle using item interface table
mtl_system_items_interface.<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">Steps to load item into
Oracle.<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">1. Populate interface
table mtl_system_items_interface through SQL Loader(no biz validation) or plsql
programs with validation<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">2. Run "Import
Items" concurrent program under Inventory responsibility.<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></font></font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">Sample Control File for
a .csv data file:<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></font></font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;load data<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;infile
'datafile.csv' "str '|\r\n'"<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;insert/replace/append
into table mtl_system_items_interface &nbsp;<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;fields terminated
by "," optionally enclosed by '"'</font></font></font></span><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</font></font></font></span><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;trailing nullcols<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;( &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;Process_Flag,<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;Set_Process_Id,<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;Transaction_Type,<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;Organization_Id,<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;inventory_item_id,<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;segment1,<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;&nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;description<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">)<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></font></font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">"str '|\r\n'"
- this will help in getting the last field of every record without carriage
return or linefeed character on it.<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></font></font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">Command to run SQL
Loader:<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></font></font></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">1. Login to UNIX box and
run this, sqlldr usr/pwd@instance_sid control_file.ctl log_file.log<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">2. The SQL loader can
also be run from our local PC if Oracle client is installed and it can be
verified by checking under oracle_home/bin. Also the oracle_home/bin should be
set under environment variable, so that if we type the sqlldr command in
windows prompt, it should get executed.<o:p></o:p></font></font></font></span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal"><span style="font-size: 13.5pt; color: black; "><o:p><font class="Apple-style-span" style="font-size: 0.8em; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">&nbsp;</font></font></font></o:p></span></p>

<span style="font-size: 13.5pt; line-height: 115%; color: black; "><font class="Apple-style-span" style="font-size: 0.8em; "><span class="Apple-style-span" style="font-weight: normal;"><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 0.8em; ">More info should be found
in the Inventory Open Interfaces user guides.</font></font></span></font></span></b></font><p></p>]]>
        
    </content>
</entry>

<entry>
    <title>Hello World</title>
    <link rel="alternate" type="text/html" href="http://chandramouly.com/2010/04/hello.html" />
    <id>tag:chandramouly.com,2010://5.8</id>

    <published>2010-04-27T21:37:25Z</published>
    <updated>2010-04-27T21:37:52Z</updated>

    <summary>Hello Oracle Apps World!...</summary>
    <author>
        <name>chandramouly</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-us" xml:base="http://chandramouly.com/">
        Hello Oracle Apps World!
        
    </content>
</entry>

</feed>
