Reverse engineering in UNIX file server.

Good day everyone,
I am required to reverse engineer .csv files stored in a UNIX file server. I am really new in using ODI so I'm having problems doing this menial task.
So far, these are the steps I have done:
1. Inserted a File Data Server and a Physical schema to setup the connection and the define the path/directory
2. Created a File logical Schema
3. Context defined
4. Made a new model
As for creating the datastore, when I clicked the browse button to look for the file it gave me this error "The directory <path file> specified in your schema does not exist.
I appreciate any response to thread and thank you in advance!

Sutirtha,
I am also looking to reverse engineer from the unix server and looking for a solution. As suggested by you ,
If your files are on a remote File System, you will need to copy one of your files to the machine ODI Designer is running on to allow ODI to retrieve the metadata information of the file.
i have copied the same in one of the networked drives.
Then define the File Datastore in ODI Designer. Once that is done , right click on the File Datastore select View Data, if you can view data, that means the File Datastore has been defined correctly.
I have created the datastore which points to this networked drive.. and i can see this from networked drive from the designer..when i click the resource name button
Once View Data is successful, you now change the directories (Data and Work Schema in Topology) to point at the remote File System. These directories must be accessible to the ODI Agent that will be used to run the transformations. The directory can be an absolute path (m:/public/data/files) or relative to the ODI Agent start up directory (../demo/files).
here, do you want me to the change the directory to the remote unix server(??). when i do that and click on the resource name it fails..
however, when eventhough the user id and password refers to the remote server and when i test for connection using my local agent and my development agent , the test is successful..
please suggest..

Similar Messages

  • Using File Adapter to transfer files from directories on unix file server.

    I have this scenario. I have a PI server on hpus45 and I want to use it to transfer files from a source directory to a destination directory on a unix file server. The unix file server is on a different box eg hpus30.
    What do I configure in SLD and Integration Directory? All the examples I have seen is transfering files from directories on the PI server but none on a different box.'
    Is it possible? I need help asap. I need to determine what the best approach is by today.

    Hi Agasthuri Doss,
    I'm using PI 7.1. I'm not seeing your instructions in ID.
    The objects in PI 71. are in this order
    Unassigned Objects
    Party
    communication component
    communication channel
    receiver determination
    interface determination
    sender agreement
    receiver agreement
    direct connection
    integrated configurations
    configuration scenario
    value mapping group.

  • Unable to apply reverse engineering to dbf file

    Hello everyone,
    We are new to ODI and struggling to understand whether we are making an error or we are actually facing an issue with a .dbf file.
    Some details for everyone:
    - ODI version: 10.1.3.4.0
    - Platform: Win Server 2003 sp2
    - File we wish to load: xyz.dbf, where xyz.dbf is one of the 3 output files (xyz.shp, xyz.shx, xyz.dbf) of an ESRI geographic information systems software
    - We are not interested in the other .shp and .shx files but just in the .dbf one: hence we are treating this one as a stand-alone .dbf file.
    Given the above elements, we have executed the following:
    a. Created an ODBC entry using the "Microsoft dbase Driver for dbf files" vs. the relevant directory storing the .dbf file (as well as the .shp, .shx);
    b. Used Topology Manager --> "Dbase" technology to build the relevant Data Server, Physical Schema and Logical Schema.
    --- Up to this point when we test the connectivity to the .dbf file we have absolutely NO problems. ---
    We have then proceeded in Designer:
    c. Creating an appropriate Model vs. the Logical Schema introduced at point b.
    d. Attempting the reverse-engineering process.
    At this point however the "reverse engineering" has not performed what expected, as
    1. it has correctly introduced in Designer a datastore corresponding to the desired .dbf file, but
    2. it has not created any columns at all for the datastore, without producing any error message.
    Additionally, clicking on the datastore just created and selecting from it the "reverse" option in the "columns" tab, an error window is retrieved: "java.sql.SQLException: [Microsoft][ODBC dBase Driver]Invalid string or buffer length".
    At this point we are struggling to understand how to proceed further: shall we use a different ODBC driver/is this an error un-related to the ODBC driver we used/shall we use a different technology in consideration of the fact this .dbf file is not a stand-alone one but comes with .shp and .shx as well/anything else?
    Any help would be greatly appreciated.
    Thanks in advance!
    scagliaf

    Hi CTS,
    First, thanks for your help - much appreciated.
    However, we just tried to reverse the .dbf as you suggested using the custom reverse engineering via RKM SQL (Jython) module.
    First two steps (1 - Reset Metadata, 2 - Create Jython Classes) worked OK, but third failed with the same error mentioned in the first thread:
    Operator log details:
    org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last):
    File "<string>", line 33, in ?
    File "<string>", line 111, in startReverse
    File "<string>", line 156, in SnpsReverse_gettables
    File "<string>", line 173, in SnpsReverse_getcolumns java.sql.SQLException: [Microsoft][ODBC dBase Driver]Invalid string or buffer length
         at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbc.SQLColumns(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbcDatabaseMetaData.getColumns(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
         at org.python.core.PyMethod.__call__(PyMethod.java)
         at org.python.core.PyObject.__call__(PyObject.java)
         at org.python.core.PyObject.invoke(PyObject.java)
         at org.python.pycode._pyx54._SnpsReverse__getcolumns$9(<string>:173)
         at org.python.pycode._pyx54.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyFunction.__call__(PyFunction.java)
         at org.python.core.PyInstance.invoke(PyInstance.java)
         at org.python.pycode._pyx54._SnpsReverse__gettables$8(<string>:156)
         at org.python.pycode._pyx54.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyFunction.__call__(PyFunction.java)
         at org.python.core.PyMethod.__call__(PyMethod.java)
         at org.python.pycode._pyx54.startReverse$6(<string>:111)
         at org.python.pycode._pyx54.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyFunction.__call__(PyFunction.java)
         at org.python.core.PyMethod.__call__(PyMethod.java)
         at org.python.pycode._pyx55.f$0(<string>:33)
         at org.python.pycode._pyx55.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyCode.call(PyCode.java)
         at org.python.core.Py.runCode(Py.java)
         at org.python.core.Py.exec(Py.java)
         at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
         at org.apache.bsf.engines.jython.JythonEngine.exec(Unknown Source)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    java.sql.SQLException: java.sql.SQLException: [Microsoft][ODBC dBase Driver]Invalid string or buffer length      
    at org.apache.bsf.engines.jython.JythonEngine.exec(Unknown Source)      
    at com.sunopsis.dwg.codeinterpretor.k.a(k.java)      
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)      
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)      
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)      
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)      
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)      
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)      
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)      
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)      
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)      
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)      
    at com.sunopsis.dwg.cmd.e.i(e.java)      
    at com.sunopsis.dwg.cmd.h.y(h.java)      
    at com.sunopsis.dwg.cmd.e.run(e.java)      
    at java.lang.Thread.run(Unknown Source)
    Any further idea?
    Thanks,
    scagliaf

  • Error in Reverse Engineering an XML file

    I am tring to set up ODI to read and XML file and post it to a DB.
    I am using Oracle Data Integrator 10.1.3.5
    I have set up the Connection in the Topology Manager and when I ran the Test it returned OK.
    I went to the Model tab in the Designer and tried to Reverse engineer the file. I followed the instruction int he User's Guide but I get an error:
    The Technology or the Driver used doesn not support Reverse Engineering. The User's guide says you can do it, but Designer tells me I can't.
    Has anyone received this error before and how can i get around it.
    I am using:
    com.sunopsis.jdbc.driver.xml.SnpsXmlDriver
    as the JDBC Driver. THat is the one used in the guide and example.
    JDBC URL:
    jdbc:snps:xml?f=c:\OraHome_1\Oracledi\MercuryGate\MGTransImpTemplatev1.0.1.xml&re=MercuryGate&ro=true&case_sens=true&s=MercGate
    Any help will be appreciated.

    Try the Oracle Data Integrator Forum
    Data Integrator
    Edited by: Johnreardon on 13-Jan-2011 05:34

  • Error While doing reverse engineering on XML file

    I am getting the error when I try to do reverse-engineering on a xml file.
    I have set up topology like this:
    JDBC Driver: com.sunnopsis.jdbc.driver.xml.SnpsXmlDriver
    JDBC URL: jdbc:snps:xml?file=c:\Temp\hoy\CRM_CR_CURRENCY.xml&dtd=C:\Temp\hoy\ServiciosSerivaConsultasTypes0.xsd
    The XSD file:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <xs:schema xmlns:s3="http://www.openuri.org/2006/12/wsdl/upgradedJWS" xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://co/com/bancodecredito/eai/serviciosLinea/seriva" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="" targetNamespace="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl" attributeFormDefault="unqualified" elementFormDefault="qualified">
    <xs:element name="indicadoresResponse">
    <xs:complexType>
    <xs:sequence>
         <xs:element name="WS_ResultadoConsultaIndicadores">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="Error" type="xs:string"/>
                        <xs:element name="Descripcion" type="xs:string"/>
                        <xs:element name="indicadores" maxOccurs="unbounded" minOccurs="0">
                        <xs:complexType>
                             <xs:sequence>
                                  <xs:element name="fecha" type="xs:string"/>
    <xs:element name="descripcion" type="xs:string"/>
    <xs:element name="tipoIndicador" type="xs:int"/>
    <xs:element name="codigoIndicador" type="xs:int"/>
    <xs:element name="codigoVertice" type="xs:int"/>
    <xs:element name="plazo" type="xs:int"/>
    <xs:element name="valor" type="xs:double"/>
    <xs:element name="comportamiento" type="xs:int"/>
    <xs:element name="formato" type="xs:int"/>
                             </xs:sequence>
                             </xs:complexType>
                        </xs:element>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:sequence>      
    </xs:complexType>
    </xs:element>
    </xs:schema>
    and the xml file:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <m:indicadoresResponse xmlns:m="http://co/com/bancodecredito/eai/serviciosLinea/seriva">
    <ns0:WS_ResultadoConsultaIndicadores xmlns:ns0="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl">
    <ns0:Error>0</ns0:Error>
    <ns0:Descripcion>Transacción exitosa</ns0:Descripcion>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>VALORACION (TRM VIGENTE) UVR/UVR</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>312</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>196.9975</ns0:valor>
    <ns0:comportamiento>1</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>COMPRA (BID) UVR/UVR</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>313</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>196.9975</ns0:valor>
    <ns0:comportamiento>1</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>VENTA (ASK) UVR/UVR</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>314</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>196.9975</ns0:valor>
    <ns0:comportamiento>1</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>BID BANCO REPUBLICA EUR/EUR</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>396</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>1.4367</ns0:valor>
    <ns0:comportamiento>1</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>ASK BANCO REPUBLICA EUR/EUR</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>397</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>1.4367</ns0:valor>
    <ns0:comportamiento>1</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>TRM BANCO REPUBLICA EUR/EUR</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>398</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>1.4367</ns0:valor>
    <ns0:comportamiento>1</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>BID BANCO REPUBLICA UVR/UVR</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>432</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>196.9975</ns0:valor>
    <ns0:comportamiento>1</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>ASK BANCO REPUBLICA UVR/UVR</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>433</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>196.9975</ns0:valor>
    <ns0:comportamiento>1</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>TRM BANCO REPUBLICA UVR/UVR</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>434</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>196.9975</ns0:valor>
    <ns0:comportamiento>1</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>BID BANCO REPUBLICA USD/USD</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>390</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>1800.7300</ns0:valor>
    <ns0:comportamiento>2</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>ASK BANCO REPUBLICA USD/USD</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>391</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>1801.2100</ns0:valor>
    <ns0:comportamiento>2</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>TRM BANCO REPUBLICA USD/USD</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>395</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>1800.9700</ns0:valor>
    <ns0:comportamiento>2</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>VALORACION (TRM VIGENTE) EUR/EUR</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>241</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>1.4267</ns0:valor>
    <ns0:comportamiento>1</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>VALORACION (TRM VIGENTE) USD/USD</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>246</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>6.4573</ns0:valor>
    <ns0:comportamiento>2</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>VALORACION (TRM VIGENTE) USD/USD</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>251</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>4.3000</ns0:valor>
    <ns0:comportamiento>0</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>VALORACION (TRM VIGENTE) USD/USD</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>256</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>0.9913</ns0:valor>
    <ns0:comportamiento>1</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>VALORACION (TRM VIGENTE) USD/USD</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>261</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>12.4332</ns0:valor>
    <ns0:comportamiento>1</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>VALORACION (TRM VIGENTE) USD/USD</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>272</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>77.2692</ns0:valor>
    <ns0:comportamiento>2</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>VALORACION (TRM VIGENTE) GBP/GBP</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>277</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>1.6341</ns0:valor>
    <ns0:comportamiento>2</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>VALORACION (TRM VIGENTE) USD/USD</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>282</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>5.2216</ns0:valor>
    <ns0:comportamiento>2</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    <ns0:indicadores>
    <ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
    <ns0:descripcion>VALORACION (TRM VIGENTE) AUD/AUD</ns0:descripcion>
    <ns0:tipoIndicador>3</ns0:tipoIndicador>
    <ns0:codigoIndicador>340</ns0:codigoIndicador>
    <ns0:codigoVertice>0</ns0:codigoVertice>
    <ns0:plazo>0</ns0:plazo>
    <ns0:valor>1.0198</ns0:valor>
    <ns0:comportamiento>2</ns0:comportamiento>
    <ns0:formato>3</ns0:formato>
    </ns0:indicadores>
    </ns0:WS_ResultadoConsultaIndicadores>
    </m:indicadoresResponse>
    When I try do reverse engineering I get:
    java.sql.SQLException: class java.sql.SQLException
    com.sunopsis.tools.core.exception.SnpsRuntimeException: ODI-40798 Tipo Desconocido: {0}element
    What is the issue ?
    When I change the xml file , and I remove the namespaces, so that xml file is changed like this:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <indicadoresResponse >
    <WS_ResultadoConsultaIndicadores >
    <Error>0</Error>
    <Descripcion>Transacción exitosa</Descripcion>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>VALORACION (TRM VIGENTE) UVR/UVR</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>312</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>196.9975</valor>
    <comportamiento>1</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>COMPRA (BID) UVR/UVR</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>313</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>196.9975</valor>
    <comportamiento>1</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>VENTA (ASK) UVR/UVR</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>314</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>196.9975</valor>
    <comportamiento>1</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>BID BANCO REPUBLICA EUR/EUR</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>396</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>1.4367</valor>
    <comportamiento>1</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>ASK BANCO REPUBLICA EUR/EUR</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>397</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>1.4367</valor>
    <comportamiento>1</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>TRM BANCO REPUBLICA EUR/EUR</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>398</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>1.4367</valor>
    <comportamiento>1</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>BID BANCO REPUBLICA UVR/UVR</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>432</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>196.9975</valor>
    <comportamiento>1</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>ASK BANCO REPUBLICA UVR/UVR</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>433</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>196.9975</valor>
    <comportamiento>1</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>TRM BANCO REPUBLICA UVR/UVR</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>434</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>196.9975</valor>
    <comportamiento>1</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>BID BANCO REPUBLICA USD/USD</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>390</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>1800.7300</valor>
    <comportamiento>2</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>ASK BANCO REPUBLICA USD/USD</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>391</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>1801.2100</valor>
    <comportamiento>2</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>TRM BANCO REPUBLICA USD/USD</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>395</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>1800.9700</valor>
    <comportamiento>2</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>VALORACION (TRM VIGENTE) EUR/EUR</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>241</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>1.4267</valor>
    <comportamiento>1</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>VALORACION (TRM VIGENTE) USD/USD</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>246</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>6.4573</valor>
    <comportamiento>2</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>VALORACION (TRM VIGENTE) USD/USD</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>251</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>4.3000</valor>
    <comportamiento>0</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>VALORACION (TRM VIGENTE) USD/USD</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>256</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>0.9913</valor>
    <comportamiento>1</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>VALORACION (TRM VIGENTE) USD/USD</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>261</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>12.4332</valor>
    <comportamiento>1</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>VALORACION (TRM VIGENTE) USD/USD</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>272</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>77.2692</valor>
    <comportamiento>2</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>VALORACION (TRM VIGENTE) GBP/GBP</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>277</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>1.6341</valor>
    <comportamiento>2</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>VALORACION (TRM VIGENTE) USD/USD</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>282</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>5.2216</valor>
    <comportamiento>2</comportamiento>
    <formato>3</formato>
    </indicadores>
    <indicadores>
    <fecha>2011-08-10 00:00:00.0</fecha>
    <descripcion>VALORACION (TRM VIGENTE) AUD/AUD</descripcion>
    <tipoIndicador>3</tipoIndicador>
    <codigoIndicador>340</codigoIndicador>
    <codigoVertice>0</codigoVertice>
    <plazo>0</plazo>
    <valor>1.0198</valor>
    <comportamiento>2</comportamiento>
    <formato>3</formato>
    </indicadores>
    </WS_ResultadoConsultaIndicadores>
    </indicadoresResponse>
    It works!!!! I can do reverse engineering....What is the issue? I am running everthing with agent as Local
    I really appreciate any hints.
    Thanks in advance,
    Deibys

    Hi,
    Try specifying the "re" (Root Element) parameter in the URL. For example re=indicadoresResponse
    If it still fails could you post the full java error stack?
    Good luck!
    Jose

  • Error while reverse engineering a Flat File

    Hi
    I am getting following error while trying to reverse engineer a Flat file. Could you help in identifying what's the problem
    com.sunopsis.core.SecurityAccessException: oracle.odi.core.exception.OdiRuntimeException: OdiInstance is closed
         at com.sunopsis.dwg.DwgObject.getterSecurityControl(DwgObject.java:2923)
         at com.sunopsis.dwg.dbobj.generated.GeneratedSnpTechno.getMaxTabNameLen(GeneratedSnpTechno.java:1011)
         at com.sunopsis.dwg.dbobj.SnpLschema.getObjectName(SnpLschema.java:626)
         at com.sunopsis.dwg.dbobj.SnpLschema.getLocalObjectName(SnpLschema.java:247)
         at com.sunopsis.dwg.dbobj.SnpTable.getFullTableName(SnpTable.java:1013)
         at com.sunopsis.dwg.dbobj.SnpTable.fileDataStoreReversePhase1(SnpTable.java:632)
         at com.sunopsis.graphical.frame.edit.EditFrameSnpTable.doReverseFromTable(EditFrameSnpTable.java:806)
         at com.sunopsis.graphical.frame.edit.EditFrameSnpTable.jButtonReverseDelimiter_ActionPerformed(EditFrameSnpTable.java:3447)
         at com.sunopsis.graphical.frame.edit.EditFrameSnpTable$IvjEventHandler.actionPerformed(EditFrameSnpTable.java:356)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
         at java.awt.Component.processMouseEvent(Component.java:6288)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6053)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4651)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4481)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4481)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
         at java.awt.EventQueue.access$000(EventQueue.java:84)
         at java.awt.EventQueue$1.run(EventQueue.java:602)
         at java.awt.EventQueue$1.run(EventQueue.java:600)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:616)
         at java.awt.EventQueue$2.run(EventQueue.java:614)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: oracle.odi.core.exception.OdiRuntimeException: OdiInstance is closed
         at oracle.odi.core.OdiInstance.verifyOpen(OdiInstance.java:921)
         at oracle.odi.core.OdiInstance.getMasterRepository(OdiInstance.java:748)
         at com.sunopsis.security.DefaultDwgSecurityManager.createConnections(DefaultDwgSecurityManager.java:292)
         at com.sunopsis.security.DefaultDwgSecurityManager.getMethodByObject(DefaultDwgSecurityManager.java:265)
         at com.sunopsis.dwg.DwgObject.consultControl(DwgObject.java:878)
         at com.sunopsis.dwg.DwgObject.consult(DwgObject.java:844)
         at com.sunopsis.dwg.DwgObject.getterSecurityControl(DwgObject.java:2911)
         ... 45 more
    regards
    Sunil

    Very strange that the ODI Instance is closed. Since it's the entry point to the master/work repository, ODI is not able to write your new datastore in the work repository.
    You can try to close ODI Studio and open it again.
    Are you working with an out-of-the-box RKM or did you customize it?
    Regards,
    JeromeFr

  • Reverse engineering using Flat file

    Hello,
    Can someone help me please.
    My environment,
    I am new to ODI and trying to work with it.
    My source DB = FLAT FILE
    Target DB = MySQL5.1
    I created a new project and models. I have the physical and logical architecture and all the connections are working. In the physical architecture, I specified the path of the csv file as c:\textfile.csv
    I created a new model and a data store and pointed the the file to above directory and file.
    When I click on reverse in column tab, it says
    ERROR: The directory c:\textfile.csv specified in your schema, does not exist.
    I am unable to figure out the problem. Can someone help me please.
    Thank you.
    Edited by: user9946607 on Mar 17, 2010 5:52 PM

    Hi,
    Thank you.
    I was able to solve the error for the file loading, now i have used the lkm as file to sql and LKM sql control append, it says execution session started, but when i go to operator, it fails at Load and gives an error:
    7000 : null : java.sql.SQLException: Could not read heading rows from file
    java.sql.SQLException: Could not read heading rows from file
    at com.sunopsis.jdbc.driver.file.x.<init>(x.java)
    at com.sunopsis.jdbc.driver.file.a.d.d.a(d.java)
    at com.sunopsis.jdbc.driver.file.g.a(g.java)
    at com.sunopsis.jdbc.driver.file.w.executeQuery(w.java)
    at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i(e.java)
    at com.sunopsis.dwg.cmd.g.y(g.java)
    at com.sunopsis.dwg.cmd.e.run(e.java)
    at java.lang.Thread.run(Unknown Source)

  • Reverse engineering a flat file

    what is the procedure to reverse engineer a file which is in the following format:
    /* 1 */
    "emp_id" : "101",
    "last_name" : "abc",
    "salary" : "20000"
    /* 2 */
    "emp_id" : "102",
    "last_name" : "xyz",
    "salary" : "50000"
    }

    Hi vaibhav
    If I will be in your situation, I will go for Jython/java to read these records. You have to customize it.
    Using ODI Studio you cannot reverse this.
    Thanks.

  • Reverse Engineering from .fmx file?

    Is it possible to recover a corrupt .fmb file from the .fmx file? Somehow, my .fmb file got corrupted and I can no longer access it; however, the .fmx file seems to be OK. Is there any way I can get that .fmb file back?
    Thanks for your help.

    Try running CHKCONS & PURGEPUS utilities on the fmb. I had a similar problem with a file in Forms 4.5 and was able to successfully recover it.
    First, add the CHKCONS option to the Forms generator icon property as follows: module=<filename> userid=<username/passwd> chkcons=yes. Then, double click on the icon to generate. A dialog box appears indicating no file has been generated.
    Now, add the PURGEPUS=yes option to the designer icon and try opening the fmb.

  • Reverse-engineering excel files in ODI

    Hi,
    I am currently creating an ODBC Data Source to connect to MS Excel and then reverse-engineering the excel file.Do I need to create separate ODBC Data Source for each excel file or is there any other way to achieve this?
    Please suggest.
    Thanks in advance.

    hi Dev
    1. Have you defined the correct link between DSN and your Excel File the answer is yes
    2. Have you test the Connection in Topology ?yes and it's OK
    3. Also is your Excel file has an Extension of XLS ? yes
    4. When reversing have you check the required Technology - Microsoft Excel with required Logical Schema and context Yes i have Microsoft Excel with required Logical Schema and context
    and also try checking the Tables and System Tables for reversing .I' can't

  • About download file into unix file

    Hi expert,
    i use the openset to write file into unix file server.
    but why there are some space at the end of every line.
    by the way, i works very well in windows server
       DATA: DATA_TRANSFER(70).
        Data: DATA_TRANSFER type string.
        data: fine_riga1(1) TYPE X VALUE '0D0A'.
        DATA: gt_data TYPE STANDARD TABLE OF ty_data.
        Constants: ascii_tab type x value ','.
        field-symbols: <f> type any, <delim> type any.
        "Assign delimiter field such as tab or comma.
        assign ASCII_tab to <delim>.
        CLEAR VN_CNT.
        concatenate DSNU 'employee' PN-BEGDA SY-UZEIT into P_UNIX.
        OPEN DATASET P_UNIX in legacy text MODE FOR OUTPUT. " IN TEXT MODE encoding UTF-8.
        IF SY-SUBRC <> 0.
          WRITE: / 'Error on file open:', P_UNIX.
        ELSE.
          LOOP AT TI_DATA .
            CLEAR DATA_TRANSFER.
            concatenate TI_DATA-TYPE
                              TI_DATA-PERNR
                              TI_DATA-ZAUSW
                              TI_DATA-ENAME
                              TI_DATA-TERID
                              INTO DATA_TRANSFER separated by cl_abap_char_utilities=>HORIZONTAL_TAB.
            CONDENSE DATA_TRANSFER NO-GAPS.
            TRANSFER DATA_TRANSFER TO P_UNIX.
            ADD 1 TO VN_CNT.
            CLEAR DATA_TRANSFER.
          ENDLOOP.
          CLOSE DATASET P_UNIX.
        ENDIF.
        WRITE: / P_UNIX,
               / 'Transfered', VN_CNT, 'records'.
    Best Regards,
    Kevin

    Hi,
    Try this way...
    TRANSFER dobj TO dset [LENGTH len]
                                          [NO END OF LINE].
    Addition 1
    ... LENGTH len
    Effect
    This addition determines how many characters or how many bytes of data object dobj are written to the file. len is expected to be a data object of type i that contains the number of characters or bytes. In text files, the content of len specifies the number of characters that are written from the storage. For binary files, legacy text file, and legacy binary files, len specifies the number of bytes that are written to the file. The first len characters or bytes are transferred and alignment gaps are included in the structures. If the addition LENGTH is not specified, all characters or bytes are transferred.
    If the value of len is less than or equal to 0, no characters or bytes are transferred. If the file is opened as a (legacy) text file, however, a line end marker is inserted into the file by default. If the value of len is greater than the number of characters or bytes in dobj, hexadecimal 0 or blank characters are transferred to the file instead of the missing bytes or characters, depending on whether the file was opened as a (legacy) text file or a (legacy) binary file.

  • How to delete string or line from unix file(dataset) of application server

    Hi  All,
    After transfer workarea information or all records into dataset(unix file). When I see the file in application server automatically the last line is shown a blank line. I am not passing any blank line.
    I have tried for single record than also the file generates the last line(2nd line) also a blank line.
    When I m reading the dataset, it is not reading the last blank line but why it is showing the last blank line?
    How to delete string or line from unix file(dataset) of application server?
    Please give your comments to resolve this.
    Thanks
    Tirumula Rao Chinni

    Hi Rio,
    I faced similar kind of issue working with files on UNIX platform.
    The line is a line feed to remove it use
    DATA : lv_carr_linefd TYPE abap_cr_lf VALUE cl_abap_char_utilities=>cr_lf. 
      DATA : lv_carr_return TYPE char1,                                   
             lv_line_feed   TYPE char1.                                          
      lv_line_feed   = lv_carr_linefd(1).
      lv_carr_return = lv_carr_linefd+1(1).
    Note: IMP: The character in ' ' is not space but is a special
    character set by pressing ALT and +255 simultaneosly
      REPLACE ALL OCCURRENCES OF lv_line_feed IN l_string WITH ' '.
      REPLACE ALL OCCURRENCES OF lv_carr_return IN l_string WITH ' '.

  • Copy file from client machine to unix db server

    Dear all,
    I have oracle form 10g, and data base server using 10 r 2,
    I have an oracle for to browse client XML file and return the name of the file including the path to TEXT item what I want to do after that is to copy the seelcted file from the client to DB server (hint this server over Unix operating system)
    I tried
    V_Cpy_Result := Webutil_File.Copy_File ('C:\File_Name.Xml', '/u01/oradata/odsuat/ssr_xml_dir/Outbound/File_Name.Xml');
    but this does't work, please provide me with the way or the command that I can copy the selected file from client to Unix DB server...

    Hello,
    If you want to transfer files between client machine and A.S. or database machine, use the Webutil file_transfer package's functions.
    Francois

  • Portal on Unix cannot mount Windows File server

    Hi Experts,
    We had installed a NW 7.0 portal onto HP-UNIX server and integrated it with MS AD server. Now, we are facing an issue that we cannot mount windows files server when we tried to configured it with TREX. Had anyone tried this function or it is the limitation? Is the following statement still correct or do we have workaround solutions?
    "If you are using the Microsoft Active Directory Service, you can only integrate documents into a Windows portal. The combination of Microsoft Active Directory Service and a UNIX portal is not supported."
    Best Regards

    Hi Tom,
    have a look at this link:
    [http://help.sap.com/saphelp_nw04s/helpdata/en/ed/b334ea02a2704388d1d2fc3e4298ad/frameset.htm]
    Your issue should work, but the prerequisite is for using the windows permissions:
    "If you are using Microsoft Active Directory Service, you have to operate the Windows domain in mixed mode". If it is running in Native mode you cannot use the windows permissions. Nevertheless integrating documents into KM should work. The KM uses its own permissions instead.
    Best regards,
    Denis

  • Designer 6i : Server Model Generation Error while reverse engineering

    Hi there,
    I am Creating a DB Model from exising database (Reverse
    Engineering ). When I am trying to generate capture design of
    Server Model. I am getting below errors and operation fails.
    --------------------------------------------- Error Message start
    Internal API error - ORA-20291: integrity constraint
    (FK_OTB_TO_OSP) violated - parent key not found
    ORA-06512: at "REP_USER.SDD_OTB_VAL", line 22
    ORA-04088: error during execution of
    trigger 'REP_USER.SDD_OTB_VAL'
    RME-00020: Internal API error - ORA-20291: integrity constraint
    (FK_OTB_TO_OSP) violated - parent key not found
    ORA-06512: at "REP_USER.SDD_OTB_VAL", line 22
    ORA-04088: error during execution of
    trigger 'REP_USER.SDD_OTB_VAL'
    CDR-01052: Tablespace HHNEWBUILD/HHNEWBUILD.USERS is referencing
    invalid Storage Definition (ref =
    2105528996887633452799620949781640613).
    RME-00011: Operation 'ins' on TABLESPACE has failed
    RME-00222: Failed to dispatch operation to Repository
    RME-00222: Failed to dispatch operation to Repository
    --------------------------------------------- Error Message End
    My init.ora is created according to Installation guide.
    Could anyone please help me with this ???
    Your earliest action would highly appreciated.
    Thanks & regards,
    Bhavesh Doshi

    1. Bounce the Repository's DB Instance. Usually an indication
    of RME errors.
    2. Goto RAU and perform all of your maintenance
    a. Compute Statistics
    b. View Objects and Recompile all 'INVALID' objects
    c. Clear temporary tables.
    3. If you are reverse engineering with DBA privileges then you
    are going to retrieve alot of uneccessary objects. Be explicit
    in your retrieval.
    Any questions? Arnold Angel, [email protected]

Maybe you are looking for

  • User changes in tab strip ui element are not recorded in context change log

    Hi All, We are using a tab strip ui element in webdynpro component. But user changes inside tab strip ui element are not getting recorded to the context change log. I have an input field on the same view besides  tab strip ui element. User changes to

  • Screen refresh problem with Windows 7

    Hello all, I've recently begun testing Oracle with Windows 7 on a new HP 2540p notebook computer. I've encountered a very strange issue so far. After logging into Oracle, and Windows switches to Windows Basic theme, I should be taken to the main Navi

  • DBMS_RLS

    Is there any way I can use this package in the standard version. (legitimately) It is the only 'extra' from the enterprise edition that i require and cannot justify the upgrade purely based on this. Can the package be installed on the standard editio

  • Pixel Bender will not load

    After downloading the install file Extension Manager tells me  "The extension cannot be installed It requires 64bit Photoshop Version in range of inclusively between 12.1 and 12.1" My version of Photoshop CS5.1 is the 64bit but I have load 12.0.4 - a

  • How to make track lists appear as they do on alb

    I've been having trouble with this lately. I have some albums saved on my computer and I would like them to appear in the same order as the actual album. Now, when I goto import the tracks into the mp3 player everything looks good and seems like it's