Conversion from Binary to oracle

I am in a great problem as I have to convert binary file in to the oracle database table but could not find a solution as I have the solution for the text file . So if anyone has any idea in this regard then Please help me out as soon as possible.I will be thankfull to your co-operation.

I just tested this in 10.1.2.2 on XP and could not reproduce the problem. It is unlikely that this is a bug and if it was, it is very likely that it was already corrected.
Ensure that you are using 6.0.8.26. If you are using Oracle Applications you should be using 6.0.8.27.
Also, Error Correction Support for stand-alone Forms 6.0.x users ended long ago, which means that a patch cannot be provided for version 6.x.

Similar Messages

  • GL Data Conversion from Legacy to Oracle EBS

    Hi All,
    I am tasked with converting legacy data into GL. I have worked on other conversions like supplier, AR and AP conversions but never worked on GL conversion, so I don't know how and where to start, what are the pre-requisites for entering data into gl_interface table how to ensure that data is correct in the .csv file etc.
    Kindly request you all to guide me in right direction. Hope to hear from you all very soon!!! :)
    Regards

    Hi,
    When you talk about GL-Data it is the trial balance to be loaded from legacy to oracle applications.
    You can use Web-ADI to upload it ,the check list are
    The balance for each account comibnation in the legacy system to be mapped to GL-Oracle code combination balance
    With respect to open AR, AP Invoices if the invoices are converted using a control account for migration in GL then
    the the balance transfered from AP,AR need not be reversed in GL from the source receivables and payables.
    In case if the same account combination are for migrating the balances from AP,AR to GL ..Then the balances transferred from AP,AR should be reversed ..so that it does not affect the TB-GL-Balance
    Finally ensure that the balance for the TB-tallys with your legacy system and upload it using Web-ADI ,import and
    review and post it.
    Hope this points helps your GL-Data conversion.
    Regards,
    Ramaa

  • Manual conversion from VMware to Oracle VM

    Hi,
    Could anyone please give me a detailed procedure about converting a machine from VMware to Oracle VM format?
    Our VMware machine have the "-flat.vmdk" format and OVM manager is not converting them. I was advised that I need to do the whole procedure manually.
    Thanks in advance for your help,
    Sam.

    Guys, I am happy to advise that we got a solution for this problem.
    For all those who are unable to convert from WMare to OVM because of the extension *-flat.vmdk just contact Oracle support and ask for a patch for BUG 9569399.
    Regards.

  • Conversion from Binary to decimal - Need help

    Hi guys,
    I am new here and learnt some very basic Java before. I have a program that is in C++(to convert a binary number to decimal) that I found in the internet that interest me a lot. I am thinking whether this can be re-write in Java. I have tried to searh for solution but to no avail. I am wondering whether you guys can suggest a solution to this. Below are the source code in C++ :
    #include <iostream.h>
    #include <stdlib.h>
    int main()
    // part 1 : declaration
    int Bin, Dec, TempBin;
    int div;
    char valid, again;
    do {
    // part 2 : Repeat asking the value of the binary number
    Bin = TempBin = 0;
    do {
    cout << "Please input a binary number (1 to 10 bits) : ";
    cin >> Bin;
    TempBin = Bin;
    do {
    if ((TempBin % 10)==0 || (TempBin % 10)==1) // Note (1)
    valid='Y';
    else {
    cout << "Invalid pattern! use 0's and 1's only\n\n";
    valid='N';
    break;
    TempBin = (TempBin/10);
    } while (TempBin>0);
    } while (valid=='N');
    // part 3 : Convertion
    div = 1;
    Dec = 0;
    TempBin = Bin;
    do {
    Dec += (TempBin % 10)*div; // Note (2)
    div *= 2;
    TempBin = (TempBin/10);
    } while (TempBin>0);
    cout << "\nThe binary pattern " << Bin << " is equal to "
    << Dec << " in decimal pattern.\n" << endl;
    // part 4 : try another number ?
    cout << "\aTry another number (Y/N) : ";
    cin >> again;
    cout << "\n";
    } while (again=='Y' || again=='y');
    cout << "\n" << endl;
    system("PAUSE");
    return 0;
    Appreciate your help. Thank you.
    CK

    So for Java, in your example, it takes a Java
    String like "1001" and converts it to an int whose
    value is one thousand and one. Can suggest a code for
    this that takes user input str and convert to bin int.
    I read books and noticed they are various ways to do
    that. I am quite confused actually. It is like there
    is no fix way to do that, unlike C++ which is more
    easier to understand(in my opinion). Probably, because
    I knew C better than Java.
    The 'standard' way to take a String and convert it to an int...
    int TempBin=Integer.parseInt(your_string);
    You seem to be saying that you do not want to use the standard method, so you should not complain that there is no standard method. Here's some code that re-uses most of your modulo 10.
    import java.io.*;
    public class Test {
         public static void main(String []args) throws IOException {
              BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));
              String result=null;
              while(true) {
                   String input=bf.readLine().trim();
                   try {
                        long v=Long.parseLong(input);
                        result=toBin(v);
                        System.out.println(result);
                   } catch(NumberFormatException e) {
                             System.out.println("Only enter 1 or 0, nothing else!");
                   System.out.println();
           public static String toBin(long btemp) {
              long temp=btemp;
              do {
                   if ((temp % 10)!=0 && (temp % 10)!=1) {
                        System.out.println("Invalid pattern! use 0's and 1's only\n\n");
                        return null;
                   temp = (temp/10);
              } while (temp>0);
              // part 3 : Convertion
              int div = 1;
              int Dec = 0;
              long TempBin = btemp;
              do {
                   Dec += (TempBin % 10)*div; // Note (2)
                   div *= 2;
                   TempBin = (TempBin/10);
              } while (TempBin>0);
              return ""+Dec;

  • Application conversion from Btrieve to Oracle

    Hi,
    I would like to know whether there is any tool available to
    convert application programs on Btrieve to application on
    Oracle.Basically I would like to know a method/tool to convert
    Btrieve file operations to SQLs
    Thanks in advance,
    Binu

    You may want to repost this in the FORMS forum.
    null

  • URGENT:currency conversion from oracle financials 10.7 to 11i

    Hey all, Any one has the idea about the currency conversion from oracle financials 10.7 to 11i?? how to handle it?? do we need seperate code for currency conversion or is there any software that we can use??

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Shenba ([email protected]):
    Hey all, anyone has idea how the currency conversion is handled during upgrade of
    for oracle financials 10.7 to 11i. Is there any software available or do we need to do coding for currency conversion.
    Thanks<HR></BLOCKQUOTE>
    null

  • Characterset conversion from US7ASCII to WE8ISO5589P1

    Hi,
    I need to do a Character set conversion from US7ASCII to WE8ISO5589P1 on a 10g database. I need to make the proper analysis before doing this conversion. Kindly let me know of any links/urls/metalink note ids where i can find relevant docmentation and understand on this so that i can continue with the conversion.
    Regards,
    Amby.

    Start here:
    http://www.oracle.com/technology/tech/globalization/pdf/TWP_Character_Set_Migration_Best_Practices_10gR2.pdf
    Also, consider migrating to WE8MSWIN1252 in place of WE8ISO8859P1. If you have Windows clients, then WE8MSWIN1252 should be used anyway. Even if you do not have Windows clients, WE8MSWIN1252 is a binary superset of WE8ISO8859P1 and can hold all WE8ISO8859P1 codes + ca. 15 characters more. It is better to use it in case Windows clients are used in future.
    -- Sergiusz

  • Generate a PDF doc from binary content.

    Hi folks,
    I have this scenario: File Adapter <- XI -<ABAP Proxy.
    The scenario starts when R/3 runs a report (job scheduled) that invokes an outbound method of ABAP Proxy. Under this outbound method, few parameters are sent to XI, one of them is an xstring. The xstring (binary content) can be a PDF or TXT document, depends of the “doc_format” parameter value.
    I already read some documents and web logs about file format conversions. But my problem is that the XML element is coming in binary (xstring) and I need to generate a new PDF document from that element. All the web logs mention conversion from XML to any other format and not from binary! 
    My idea is to develop a Receiver File Adapter Module. The Module only picks the binary XML element and converts it in a PDF document giving the name and the format that comes into others neighbors elements of XML.
    Anyone knows which classes/methods are needed? Or is there another easy way to do this that am I not seeing?
    Thanks in Advance,
    Ricardo.

    Hi all,
    First, thank you all for the quick replies.
    To be clear, I have a binary stream that I want to convert into PDF format and not XML to PDF. So, like I said before, the SDN web logs only mention conversions from XML to PDF and not binary stream to PDF or even others formats. Using XSL I need my source message in XML and that is not the case…
    Venkat, your approach is develop a module to get the binary stream and other module to convert into PDF format, am I right?
    Cheers,
    Ricardo.

  • Conversion of Binary to Text

    Hi,
    I am facing a problem while converting data from Binary to Text format, I've used FM SCMS_BINARY_TO_TEXT but still there is no Output.
    Can any1 please tell a FM which does the conversion??
    Cheers
    Abhishek

    FUNCTION MODULES
    http://www.erpgenie.com/abap/functions.htm
    http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
    http://www.erpgenie.com/abap/index.htm
    http://www.geocities.com/victorav15/sapr3/abapfun.html

  • Converting to Oracle Real Application Clusters from Single-Instance Oracle

    Is there any notes at metalink for
    Converting to Oracle Real Application Clusters from Single-Instance Oracle Databases
    We should have 10g DB on ASM to make it RAC?

    With Oracle Database 10g Release 2, $ORACLE_HOME/bin/rconfig tool can be used to convert Single instance database to RAC. This tool takes in a xml input file and convert the Single Instance database whose information is provided in the xml. You can run this tool in "verify only" mode prior to performing actual conversion. This is documented in the RAC admin book and a sample xml can be found $ORACLE_HOME/assistants/rconfig/sampleXMLs/ConvertToRAC.xml. Grid Control 10g Release 2 provides a easy to use wizard to perform this function.

  • Extracting strings from binary data

    Hello,
    I am trying to extract string from a binary file.
    At the unix command line (sunos) I can just type;
    strings <filename>
    This is a nice way to get a list of the contents of a directory.
    Is there a way in pl/sql to extract strings from binary data ? An equiv to strings on unix/linux ?
    Thanks in advance.
    Ben

    Hi,
    If you do want to list the contents of a directory, there are other ways to do it. Here's a base implementation of a utility I wrote:
    create or replace and resolve java source named "Util" as
    import java.io.*;
    import java.sql.*;
    import oracle.sql.*;
    import oracle.jdbc.driver.*;
    public class Util {
        public static void listFiles(String directory, oracle.sql.ARRAY[] names)
            throws IOException, SQLException {
            File f = new File(directory);
            if(f==null)
                throw new IOException("Directory: "+directory+" does not exist.");
            String[] files = f.list(
                new FilenameFilter() {
                    public boolean accept(File dir, String name) {
                        // List all files
                        return true;
            Connection conn = new OracleDriver().defaultConnection();
            ArrayDescriptor descriptor = ArrayDescriptor.createDescriptor("VC_TAB_TYPE", conn);
            names[0] = new ARRAY(descriptor, conn, files);
            return;
    create or replace type vc_tab_type is table of varchar2(255);
    create or replace package util authid current_user as
        function list_files(p_directory in varchar2)
            return vc_tab_type;
    end;
    create or replace package body util as
        procedure list_files (
            p_directory in varchar2
            , p_filenames out nocopy vc_tab_type
        is
        language java
        name 'Util.listFiles(java.lang.String, oracle.sql.ARRAY[])';
        function list_files(p_directory in varchar2) return vc_tab_type
        is
            l_filenames vc_tab_type := vc_tab_type();
        begin
            list_files(p_directory, l_filenames);
            return l_filenames;
        end;
    end;
    /You can then query the filesystem as follows:
      1  select column_value as filename
      2  from table(util.list_files('c:\windows'))
      3  where column_value like '%.log'
      4* and rownum <= 10
    SQL> /
    FILENAME
    0.log
    AdfsOcm.log
    aspnetocm.log
    bkupinst.log
    certocm.log
    chipset.log
    cmsetacl.log
    comsetup.log
    DtcInstall.log
    FaxSetup.log
    10 rows selected.cheers,
    Anthony

  • Issue during migrating from Sybase to Oracle using Oracle SQL Developer

    I am using SQL Developer v 3.2.20.09 to migrate from Sybase to Oracle Pl/SQL 12c
    While migrating the stored procedure the following block did not convert. I got NULL instead of object_id:
    Sybase Block:
    IF OBJECT_ID(‘dbo.CheckEst’) IS NOT NULL
    BEGIN
    DROP PROCEDURE dbo.CheckEst
    IF OBJECT_ID(‘dbo.CheckEst’) IS NOT NULL
    PRINT ‘<<>>’
    ELSE
    PRINT ‘<<>>’
    END
    Oracle Block after conversion:
    BEGIN
    IF NULL/*TODO:OBJECT_ID(‘dbo.CheckEst’)*/ IS NOT NULL THEN
    BEGIN
    DROP PROCEDURE CheckEst;
    IF NULL/*TODO:OBJECT_ID(‘dbo.CheckEst’)*/ IS NOT NULL THEN
    DBMS_OUTPUT.PUT_LINE(‘<<>>’);
    ELSE
    DBMS_OUTPUT.PUT_LINE(‘<<>>’);
    END IF;
    END;
    END IF;
    END;
    Lines 1 & 4 got converted to NULL. I have many places where such code is written.
    Is there any quick way to overcome such an issue? or what needs to be done in such case?

    Hi,
      You are using an older version of SQL*Developer.  Could you download the latest 4.0.2 version available from here -
    Oracle SQL Developer
    and check if you still have the problem ?
    Regards,
    Mike

  • Experiences migrating from Sybase to Oracle

    Hi all,
    I have been asked to look into migrating a database from Sybase to Oracle.
    I know there is lots of info on Oracle's website, which I have downloaded, but I was just hoping for some info about some of your experiences regarding your processes. What are the gotchas. I suspect there will be a few.
    Anything that will help would be of interest.
    Many thanks
    VicC

    HI VicC,
    I work within the SQL Developer team and not a customer as such, but the follow maybe of use.
    SQL Developer is a migration aid, its not 100% magic bullet.
    SQL Developer does alot of the manual conversion for you quickly. But you may find Testing / Tuning and the application migration (if any) take you the most amount of time.
    SQL Developer aims to migrate you tables, indexes, and data without issue. But SQL Objects like Procedures, Triggers, Views and Functions conversion will likely require manual work on top of the automatic conversion provided by SQL Developer.
    SQL Developer does not yet automatically handle things like the tablespaces structure or the the logins. Although these things can be scripted and managed more easily within SQL Developer.
    I would recommend downloading and performing the migration from a non production instance ASAP.
    SQL Developer can perform a migration quickly and you will then be able to assess what SQL Developer can and cant do for you.
    I would recommend creating a migration repository on an Oracle database local (install Oracle XE if you dont have a local database) to the SQL Developer instance you are using.
    I would also recommend downloading SQL Developer 2.1
    Here are some key sites regarding Sybase migrations.
    http://www.oracle.com/technology/tech/migration/workbench/viewlets/sqlserver.html . This viewlet for SQL Server is the same process for Sybase.
    http://www.oracle.com/technology/obe/hol08/sqldev_migration/sybase/migrate_sybase_otn.htm . This Oracle By Example takes you step by step through a Sybase migration including some gotchas
    http://dermotoneill.blogspot.com/2008/06/sql-developer-migration-workbench-151_11.html . This is my blog outlining the steps to perform a Sybase migration.
    Regards,
    Dermot
    SQL Developer Team.

  • Sync old iMessage conversations from iPhone to new iPad & Mac?

    I have had my iPhone for a couple years now, and have accumulated a fairly large amount of iMessage conversations from various people. A few days ago, I purchased my first iPad and also updated my Mac to Mountain Lion. By doing so, I now have access to iMessage on three devices in total, whereas before I only had one.
    I have managed to setup my devices so that all new iMessages I send and receive are being synced between them. However, is it possible to sync my old iMessage conversations from my iPhone back onto my iPad and Mac?
    I would like to do so in order to keep a full record of the past conversations I have had with my contacts.
    I have done a bit of research before posting, but the only related topics I found werehttps://discussions.apple.com/message/19095937 andhttps://discussions.apple.com/message/17818920. The former was left unresolved, whereas the latter describes a solution which I am unable to reproduce.
    Could anyone shed some light on this for me?

    Hi,
    For me this was very early on in my Mountain Lion days.
    I would now say that you cannot sync iMessages from an iOS device that were sent before your linked any Apple ID with the iPhone Number or added the Mac to the use of the Apple ID.
    At the point at which and Apple ID is used on both an iPad and the Mac version of Messages becomes it's "Start date"
    The same can be said for adding an Apple ID to an iPhone and the Mac.
    On the Mac all messages can be saved if you wish.
    This are in the .ichat format which you can send to Mac  Buddies and then can open them and read them as if they were the chat (i.e they display as "chats').
    There appears to be no way in iTunes to access the iMessages (or SMS ones) on the iPhone.
    Someone who knows more about the iOS may be able to tell you if they are accessible another way.
    8:52 PM      Friday; May 24, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • IMessage won't start conversation from Mac

    Hey everyone,
    Iv'e been looking for a solution online for this problem iv'e been having, but i couldn't find answers anywhere.
    The problem is that for some reason, i can't start a conversation from my mac when trying to send new messages. when i send those messages from my iphone it works, and then i can continue the conversation from my mac.
    also, iv'e noticed that it takes a lot of time for messages to "sync" itself with my conversations that i started on my iphone. is there any way to "refresh" imessage (like on mail for example...)???
    i verified that my accounts on both devices are the same, that i have the same settings, but still, nothing works.
    anyone is having the same problems?? anyone has a solution...?
    Thanks,
    Tal.

    Hi,
    So,  in Messages main window you have New Message at the top left.
    You are entering  your Contacts Name in the "To" field or using the Blue + icon > Contacts and selecting the contact.
    The name is turning Blue ?
    The Text entry field at the bottom also reads iMessage ?
    If the name is not Blue then carefully click the downward arrow head at the end of the name.
    Select the active iMessage option (highlighted with blue Speech bubble)
    Does the name go Blue now ?
    I tried testing with my iMessage Account logged out and the setting in the General Section set to Allow IMs and iMessages to "Wake" the app but this did not start the iMessage account when iMessaging from the iPhone
    It was only a one off test with the app open but the account logged out which seemed closest to what you describe.
    9:26 PM      Thursday; February 14, 2013
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

Maybe you are looking for

  • ABAP Objects Design/Organization Issues

    Hi, I'm trying to design and implement reusable components using ABAP Objects. I'm familliar with OO concepts and have developed a few applications using C++ and Java. I'm trying to organize my classes into separate source files (include program in A

  • Strange Occurance With My iPod Classic

    Today I was using my iPod Classic (80GB) and I was at the Main Menu, I highlighted the Music section and as usual my cover artworks were shown at the right side of the screen. But then I realised that one of the pictures it showed I had never seen be

  • Ipod not identified in vista and not syncd with xp

    Hi, I´ve an ipod nano 3rd Gen and since 10 days I can´t get it to be identified by itunes in my vista - based notebook ( i get a message with a yellow warning saying ´an ipod was recognized but couldn´t be properly identified - disconnect, reconnect

  • Syntax for own unix command ..

    hi All, how can i make my own commamnds for unix shell scripts. lets xmple.. 1-i want to use "down arrow key" for previous runned unix commands. then how to acheive it. 2-Generally TAB --- complete filename or command up to the point of uniqueness ..

  • How come I can't lengthen the duration of PDF's in my storyline?

    I need to show a PDF at the bottom of my storline for approximately 1 minute. Final Cut X does not seem to allow me to change the duration of the PDF when imported as a connected clip or in it's own storyline. It only allows me to show for approximat