ASCII to EBCDIC conversion

Hi there!
I am working on an Oracle data extract project. My output file will send to a DB2 database and a mainframe application. In my file, some fields' type is COMP-3. I use Oracle build-in function convert () to convert to EBCDIC. This works fine in SQL*PLUS. But when I use it in my PL/SQL program, I got "ORA-06502: PL/SQL: numeric or value error: character to number conversion error". Here is my program.
FUNCTION get_vd_pro_norm_mth_amt(p_account_rec IN ACCOUNT_ROW) return varchar2
as
v_scaled_amount               varchar2(15);
BEGIN
     select convert(a.scaled_amount, 'WE8EBCDIC500','US7ASCII')
     into v_scaled_amount
     from pin61_02.rate_bal_impacts_t a, pin61_02.rate_plan_t b
     where b.poid_id0 = a.obj_id0 and
          b.account_obj_db = p_account_rec.poid_db and
          b.account_obj_id0 = p_account_rec.poid_id0 and
          b.account_obj_type = p_account_rec.poid_type and
          b.account_obj_rev = p_account_rec.poid_type;
     return v_scaled_amount;
EXCEPTION
WHEN OTHERS THEN
RETURN NULL;
END get_vd_pro_norm_mth_amt;
I guess the wrong data type of my variable v_scaled_amount generated the problem. I do not know which data type should I use to store EBCDIC data.
Thanks a lot!
Max

try with nvarchar2.
NVARCHAR2
You use the NVARCHAR2 datatype to store variable-length Unicode character data. How the data is represented internally depends on the national character set specified when the database was created, which might use a variable-width encoding (UTF8) or a fixed-width encoding (AL16UTF16). Because this type can always accommodate multibyte characters, you can use it to hold any Unicode character data.
The NVARCHAR2 datatype takes a required parameter that specifies a maximum size in characters. The syntax follows:
NVARCHAR2(maximum_size)
Because the physical limit is 32767 bytes, the maximum value you can specify for the length is 32767/2 in the AL16UTF16 encoding, and 32767/3 in the UTF8 encoding.
You cannot use a symbolic constant or variable to specify the maximum size; you must use an integer literal.
The maximum size always represents the number of characters, unlike VARCHAR2 which can be specified in either characters or bytes.
my_string NVARCHAR2(200); -- maximum size is 200 characters
The maximum width of a NVARCHAR2 database column is 4000 bytes. Therefore, you cannot insert NVARCHAR2 values longer than 4000 bytes into a NVARCHAR2 column.
You can interchange VARCHAR2 and NVARCHAR2 values in statements and expressions. It is always safe to turn a VARCHAR2 value into an NVARCHAR2 value, but turning an NVARCHAR2 value into a VARCHAR2 value might cause data loss if the character set for the VARCHAR2 value cannot represent all the characters in the NVARCHAR2 value. Such data loss can result in characters that usually look like question marks (?).
[email protected]
Joel P�rez

Similar Messages

  • Re: Code convert ascii to EBCDIC

    At 09:06 PM 8/13/97 +0900, Isao Yamada wrote:
    I am trying conversion ascii-to-EBCDIC conversion.You didn't mention the platform, but if it is Unix, I would just pipe the
    input through the dd command. Even if this is a Win32 platform, I would
    consider buying the Win95 toolkit from Ready-to-Run and using the dd
    command in it.
    =========================================================================
    Thomas Mercer Hursh, Ph.D email: [email protected]
    Computing Integrity, Inc. sales: 510-233-9329
    550 Casey Drive - Cypress Point support: 510-233-9327
    Point Richmond, CA 94801-3751 fax: 510-233-6950

    Isao,
    You can convert arbitrary binary data
    using MemoryStream, ReadBinary(), pointers
    and casting to convert simple binary types to the
    type you require. Here is a partial code fragment
    from some binary communications code we wrote
    to give you the idea. Although it looks like
    'C' in places it really is valid TOOL code.
    buf : MemoryStream = new;
    theHeader : MemoryStream = new;
    theData : MemoryStream = new ;
    tempData : BinaryData = new ;
    countBytes : integer = 0 ;
    tempcountBytes : integer = 0 ;
    ConnId : ui2 = 0 ;
    magicNumber : ui4 = 0x5aa50ff0 ;
    p : pointer = nil;
    buf.Open(accessMode = SP_AM_READ_WRITE);
    theHeader.Open(accessMode = SP_AM_READ_WRITE);
    // Read the header
    theHeader.Flush() ;
    theHeader.Seek( position = SP_RP_START ) ;
    countBytes = 0 ;
    // Parse theHeader here
    theHeader.Seek( position = SP_RP_START ) ;
    theHeader.ReadBinary( target = tempData, length = 4 ) ;
    p = (pointer)(tempData.Value) ;
    PacketLength = *(pointer to ui4)(p) ;
    theHeader.ReadBinary( target = tempData, length = 1 ) ;
    p = (pointer)(tempData.Value) ;
    PacketType = *(pointer to ui1)(p) ;
    theHeader.ReadBinary( target = tempData, length = 2 ) ;
    p = (pointer)(tempData.Value) ;
    PacketSeqNo = *(pointer to ui2)(p) ;
    theHeader.ReadBinary( target = tempData, length = 2 ) ;
    p = (pointer)(tempData.Value) ;
    ConnId = *(pointer to ui2)(p) ;
    theHeader.ReadBinary( target = tempData, length = 4 ) ;
    p = (pointer)(tempData.Value) ;
    magicNumber = *(pointer to ui4)(p) ;
    if( magicNumber != 0x5aa50ff0 ) then
    buf.Close() ;
    theHeader.Close() ;
    return FALSE ;
    end if ;
    [email protected]
    MIME-Version: 1.0
    Content-type: text/plain; charset=iso-2022-jp
    Hi! Everyday I read some useful tips from this mailing-list.
    I am trying conversion ascii-to-EBCDIC conversion.
    I want to read binary-file, because EBCDIC code data come by floppy-disk.
    But I can't read this file into TextData object.
    (TextData Class have method to access by byte.)
    I know that I can read binary-data into BinaryData object.
    if I can access BinaryData class by byte or read binarydata into textdata.
    Does anyone have good idea for this question?
    thanks.
    T.C.F.Co.Ltd.
    Isao Yamada([email protected])
    Any views expressed in this message are those of the individual sender,
    except where the sender specifically states them to be the views of
    Reuters Ltd.

  • ASCII-EBCDIC conversion

    Hello,
    I am looking for a tool which can convert from ASCII to EBCDIC (firstly) and
    from EBCDIC to ASCII.
    (I should store some columns in EBCDIC because some COBOL program should read it.)
    Regards,
    Laszlo

    Thank you !
    But how can i use the other character sets instead of the common ?
    May I load into the database ?
    For example:
    create table OIT015
    ENTSTAMP TIMESTAMP(6) not null,
    ORDNR NUMBER(11) not null,
    ORDERDATEN VARCHAR2(3800) not null
    tablespace PLINK_HBCI
    pctfree 10
    pctused 40
    initrans 1
    maxtrans 255
    storage
    initial 64K
    minextents 1
    maxextents unlimited
    insert into OIT015 (ENTSTAMP, ORDNR, ORDERDATEN)
    values (to_timestamp('11-11-0011 11:11:11.000011', 'dd-mm-yyyy hh24:mi:ss.ff'), 2, 'X');
    update oit015 set orderdaten=convert('00000396375160','WE8EBCDIC500') where ordnr=2
    commit;
    My collegues wrote the same data with COBOL program into test table in EBCIDIC.
    There is the result:
    select dump(t.orderdaten,16), t.* from oit015 t
    0,0,3,96,37,51,60,c     11.11.11 11:11:11.000011     1111111111     
    f0,f0,f0,f0,f0,f3,f9,f6,f3,f7,f5,f1,f6,f0     11.11.11 11:11:11.000011     2     ?????óuöó÷onö?
    My collegues said that 'WE8EBCDIC500' is special display format on mainframe.

  • Reg Unicode-Ebcdic Conversion

    can anyone Suggest the Way of Converting
    unicode char set to Ebcdic & vice versa.. too..
    conversion shld happen within java

    I am working on this myself, here is what I have come up with but it is still in testing. I am mainly unsure what dangers there are in the cast convesrionsfrom (ints to chars / chars to ints)
    public class EBCDICtoASCIIConverter {
         /** ASCII <=> EBCDIC conversion functions */
         static int[] a2e = {
    0, 1, 2, 3, 55, 45, 46, 47, 22, 5, 37, 11, 12, 13, 14, 15,
    16, 17, 18, 19, 60, 61, 50, 38, 24, 25, 63, 39, 28, 29, 30, 31,
    64, 79,127,123, 91,108, 80,125, 77, 93, 92, 78,107, 96, 75, 97,
    240,241,242,243,244,245,246,247,248,249,122, 94, 76,126,110,111,
    124,193,194,195,196,197,198,199,200,201,209,210,211,212,213,214,
    215,216,217,226,227,228,229,230,231,232,233, 74,224, 90, 95,109,
    121,129,130,131,132,133,134,135,136,137,145,146,147,148,149,150,
    151,152,153,162,163,164,165,166,167,168,169,192,106,208,161, 7,
    32, 33, 34, 35, 36, 21, 6, 23, 40, 41, 42, 43, 44, 9, 10, 27,
    48, 49, 26, 51, 52, 53, 54, 8, 56, 57, 58, 59, 4, 20, 62,225,
    65, 66, 67, 68, 69, 70, 71, 72, 73, 81, 82, 83, 84, 85, 86, 87,
    88, 89, 98, 99,100,101,102,103,104,105,112,113,114,115,116,117,
    118,119,120,128,138,139,140,141,142,143,144,154,155,156,157,158,
    159,160,170,171,172,173,174,175,176,177,178,179,180,181,182,183,
    184,185,186,187,188,189,190,191,202,203,204,205,206,207,218,219,
    220,221,222,223,234,235,236,237,238,239,250,251,252,253,254,255
         static int[] e2a = {
    0, 1, 2, 3,156, 9,134,127,151,141,142, 11, 12, 13, 14, 15,
    16, 17, 18, 19,157,133, 8,135, 24, 25,146,143, 28, 29, 30, 31,
    128,129,130,131,132, 10, 23, 27,136,137,138,139,140, 5, 6, 7,
    144,145, 22,147,148,149,150, 4,152,153,154,155, 20, 21,158, 26,
    32,160,161,162,163,164,165,166,167,168, 91, 46, 60, 40, 43, 33,
    38,169,170,171,172,173,174,175,176,177, 93, 36, 42, 41, 59, 94,
    45, 47,178,179,180,181,182,183,184,185,124, 44, 37, 95, 62, 63,
    186,187,188,189,190,191,192,193,194, 96, 58, 35, 64, 39, 61, 34,
    195, 97, 98, 99,100,101,102,103,104,105,196,197,198,199,200,201,
    202,106,107,108,109,110,111,112,113,114,203,204,205,206,207,208,
    209,126,115,116,117,118,119,120,121,122,210,211,212,213,214,215,
    216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,
    123, 65, 66, 67, 68, 69, 70, 71, 72, 73,232,233,234,235,236,237,
    125, 74, 75, 76, 77, 78, 79, 80, 81, 82,238,239,240,241,242,243,
    92,159, 83, 84, 85, 86, 87, 88, 89, 90,244,245,246,247,248,249,
    48, 49, 50, 51, 52, 53, 54, 55, 56, 57,250,251,252,253,254,255
         static char ASCIItoEBCDIC(char c)
         int n = (int)c;
                   System.out.println("ASCII Character " + c + " is in position " + n);
                   System.out.println("EBCDIC Character is in position " + a2e[n]);
         return (char)a2e[n];
         static char EBCDICtoASCII(char c)
         int n = (int)c;
                   System.out.println("EBCDIC Character " + c + " is in position " + n);
                   System.out.println("ASCII Character is in position " + e2a[n]);
         return (char)e2a[n];
         static String ASCIItoEBCDIC(String s)
              StringBuffer sb = new StringBuffer();
              for (int i=0;i<s.length();i++) {
                   char c = s.charAt(i);
         int n = (int)c;
                   System.out.println("ASCII Character " + c + " is in position " + n);
                   System.out.println("EBCDIC Character is in position " + a2e[n]);
         //return (char)a2e[n];
         sb.append((char)a2e[n]);
    return sb.toString();
         static String EBCDICtoASCII(String s)
              StringBuffer sb = new StringBuffer();
              for (int i=0;i<s.length();i++) {
                   char c = s.charAt(i);
         int n = (int)c;
                   System.out.println("EBCDIC Character " + c + " is in position " + n);
                   System.out.println("ASCII Character is in position " + e2a[n]);
         sb.append((char)e2a[n]);
    return sb.toString();
         public static void main(String[] args) {
              //char e = ASCIItoEBCDIC((char)0x6b);
              String etext = ASCIItoEBCDIC("Test String");
              System.out.println("" + "Test String" + "=" + etext);
              //char a = EBCDICtoASCII((char)0x92);
              String atext = EBCDICtoASCII(etext);
              System.out.println("" + "Test String" + "=" + atext);
    }

  • ASCII to EBCDIC

    Hello All,
    How can I convert ASCII to EBCDIC using PI? Any modules to be used in channel?
    Thanks,
    Regards,
    Naresh

    Hi,
    Please check below thread.. it mentions about the beans you can use.
    Convert EBCDIC to ASCII and ASCII to EBCDIC in PI7.0 SP14
    Regards,
    Deepak

  • Converting ASCII to EBCDIC and Packed Decimals as well

    Hi All,
    We have a requirement where data from a SAP system comes in ASCII format as  a flat file.PI needs to encode 4 fields in the packed decimals and rest of the fields in EBCDIC format before sending to mainframe system.
    When I use code page cp500 at the reciever file adapter level it encodes the entire file in EBCDIC format.
    However we want those 4 fields to be in packed decimals while sending to mainframe system.
    Could you please help me in figuring out a solution?
    Thanks,
    Sowmya

    Hi Sowmya
    Check this thread
    ASCII to EBCDIC packed decimal

  • ASCII to binary conversion

    Does anyone knows how to convert the ASCII value to binary? For example
    ASCII 'U' to 01010101?

    Hi,
    If I understood you correctly, you want to convert a character eg:'U' to
    its ASCII value which is 85 (in binary representation 01010101).
    With the following method you can convert the first character of a string to
    a one byte long unsigned integer.
    method BaseClass.CharToInt(input pStr: Framework.string): Framework.ui1
    begin
    return *(pointer to ui1)(*(pointer to pointer)(&pStr));
    end method;
    See also the attached .pex file for some more, usefull little methods...
    Regards,
    Tamas Deak
    -----Message d'origine-----
    De: Sing Nyguk Ling [mailto:Thomas.Lingbass.com.my]
    Date: dimanche 12 mars 2000 09:49
    &Agrave;: kamranaminyahoo.com
    Objet: (forte-users) ASCII to binary conversion
    Does anyone knows how to convert the ASCII value to binary? For example
    ASCII 'U' to 01010101?
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • ASCII to EBCDIC converter

    Hello everybody!
    I'm looking for a function module which converts ASCII text to EBCDIC. Unfortunately I couldn't find anything about this so far. It would be great if somebody could give me some information about.
    Thankyou!
    Best regards,
    Markus

    Hi Marcus,
    You don't need a Function Module; there is a ready ABAP command 'EBCDIC(x)' available.
    You will find more information here: [Converting ASCII to EBCDIC and vice-versa|http://www.sapdb.org/7.4/htmhelp/5e/0a41edba9d11d2a97100a0c9449261/frameset.htm]
    Also, check this link : [Standard include for converting ASCII / EBCDIC|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/converting-data-from-ascii-to-ebcdic-in-unicode-environment-420663]
    Hope this helps! Please let me know if you need anything else!!
    Cheers,
    Shailesh.

  • EBCDIC conversion

    hi
    my requirement is to create a function module for EBCDIC conversion for -ve quantities. this is for Accounts Payable Invoices Record
    for example a Quantity Received, S9(8),  of -1150 ... will be passed as 0000115}                                             
    For example an A/P Invoice Amount, S9(10)v9(2),  of -592.52 ... will be passed as 00000005925K                                             
    Negative                                        
         0 = }                                        
         1 = J                                        
         2 = K                                        
         3 = L                                        
         4 = M                                        
         5 = N                                        
         6 = O                                        
         7 = P                                        
         8 = Q                                        
         9 = R
    with regards,
    srinath.

    Hi,
    Have you considered using the ABAP command TRANSLATE?
    You can disassemble the value (WRITE into a character structure with 8 + 1 character fields) and then TRANSLATE the second field using the dictionary you wrote in your post.
    TRANSLATE ls_value-last_digit USING '0}1J2K3L4M5N6O7P8Q9R'.
    <<text removed>>
    Regards,
    Ogeday
    Edited by: Matt on Feb 17, 2009 5:56 AM - Please do not ask for points

  • Sorting in ASCII vs EBCDIC

    Hello,
    We are doing a codepage conversion from EBCDIC to ASCII and we have discovered that the sorting is not the same. In our EBCDIC environment letters are first and then numbers. In the ASCII-environment numbers are first and the letters.
    Is this correct? Is it possible to change the sorting so it is the same as in EBCDIC?
       Regards
       Ann-Sofie

    Hi JoeSchmoe115,
    In Reporting Services, we can add ORDER BY clause to presort data that is retrieved for a report in the dataset queries. Or we can sorting groups or sorting by aggregate values in the report. When we add ORDER BY clause to sort the data in the order we want
    it sorted in the report. Presorted data improves report processing time because of the way it is stored in memory. And there are many report processing tasks do not require sorting data before processing it. For example, SUM is not order-dependent and Data
    within group instances is not automatically sorted.
    So sorting groups or sorting by aggregate values is much simpler in the report than in the query and is frequently more efficient also. If we do not need sorted data in the report, do not set sort expressions on the dataset. For more details, please see:
    Troubleshooting Reports: Report Performance
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Convert EBCDIC to ASCII and ASCII to EBCDIC in PI7.0 SP14

    Wea re going to be implementing PI7.0 SP14.
    I am writing the technical specification for an inbound/outbound interface into/out of ECC 6.0!
    I need to convert the File that is created out of SAP into EBCDIC in PI and for the inbound convert the file from EBCDIC into ASCII for import into ECC.
    I have more than one way to this...
    The ways I have found so far are:
    Use MessageTransformBean, use TextCodepageConversionBean, XmlAnonymizerBean, using the File Encoding field on the File/FTP Adapter, XSLT mapping or Java mapping!
    I have checked the OSS Note 821267, but this doesn't help.
    I am sure all these methods have pros and cons...
    What would be the most efficient method of changing this?  It will be running hourly and have upto 6000 entries an hour - each way!

    Hi Barry,
    I think the most efficient way in my thinking is XSLT and Java mapping.
    For java mapping u just need to get thye jar file.I believe that the encoding cp285 / cp500 is EBCIDIC. Try printing
    byte [] msg = .. // whatever
    System.out.println(new String(msg, "cp285"));
    if you get an exception saying Cp285 is unknown you may need an international version of the JRE, depends on the version you're using.
    Also u can use this in reverse.
    Please see this post:
    Re: Handling Packed decimals in XI
    regards
    Aashish Sinha
    Edited by: Aashish Sinha on Mar 25, 2008 6:07 PM

  • ASCII to XML conversion

    LS,
    I've been asked to check whether OWB can be used as a conversion tool for ASCII into XML.
    I've found some references of OWB being capable of reading XML sources, but haven't found concrete answers about XML output.
    Is it possible to use OWB to access an ASCII flat file (as an external table for instance) and then map the read data to an XML output file?
    Thanks, Patrick

    Patrick,
    There are no specific features for converting ASCII files into XML, but OWB could be used for this purpose since it does write to file targets. The mapping would read from the ascii file as a source (you could use external tables for this, for example), perform the logic inside the map (wrap data in XML tags, etc.) and then target the output file. You could even use DB tables as XML containers / staging areas.
    Regards:
    Igor

  • ASCII to EBCDIC Packed Decimal

    Hi all,
    I want to convert a 9-digit number which is in ASCII to a 5-digit EBCDIC packed decimal using OSB.
    Can anyone please help me with this?
    Thanks in advance!
    Regards,
    Karthik

    This can be done using MFL

  • Re: Code convert ascii to EBCDIC-thanks

    thanks alfred.
    Your hints is enable to make convert-program.
    method CodeConvertB.SJISToEBCDIC(copy input InData: Framework.BinaryData,
    copy output OutData: Framework.BinaryData,
    copy input Length: integer = 0)
    begin
    memIn : MemoryStream = new;
    memOut : MemoryStream = new;
    tmpIn : BinaryData = new;
    tmpOut : BinaryData = new;
    OutData = new;
    j : ui1;
    ic : char;
    oc : char;
    if Length = 0 then
    Length = InData.ActualSize;
    elseif Length > InData.ActualSize then
    Length = InData.ActualSize;
    end if;
    memIn.Open( SP_AM_READ, TRUE );
    memIn.UseData( (pointer to char)(InData.Value), Length );
    memIn.Seek( SP_RP_START );
    memOut.Open( SP_AM_READ_WRITE, TRUE );
    memOut.Seek( SP_RP_START );
    for i in 0 to Length - 1 do
    memIn.ReadBinary( tmpIn, 1 );
    ic = *( pointer to char )( tmpIn.Value );
    j = ic;
    oc = ToEBCDIC[j];-- Value is EBCDIC.Array is S-JIS(ASCII) order
    tmpOut.SetValue( &oc, 1 );
    memOut.WriteBinary( tmpOut, 1 );
    end for;
    memIn.Close();
    memOut.Flush();
    memOut.Seek( SP_RP_START );
    memOut.ReadBinary( OutData, Length );
    memOut.Close();
    return;
    end method;
    if someone want to use this complete-code, mail to me.
    thanks.
    T.C.F.Co.Ltd.
    Isao Yamada([email protected])

    thanks alfred.
    Your hints is enable to make convert-program.
    method CodeConvertB.SJISToEBCDIC(copy input InData: Framework.BinaryData,
    copy output OutData: Framework.BinaryData,
    copy input Length: integer = 0)
    begin
    memIn : MemoryStream = new;
    memOut : MemoryStream = new;
    tmpIn : BinaryData = new;
    tmpOut : BinaryData = new;
    OutData = new;
    j : ui1;
    ic : char;
    oc : char;
    if Length = 0 then
    Length = InData.ActualSize;
    elseif Length > InData.ActualSize then
    Length = InData.ActualSize;
    end if;
    memIn.Open( SP_AM_READ, TRUE );
    memIn.UseData( (pointer to char)(InData.Value), Length );
    memIn.Seek( SP_RP_START );
    memOut.Open( SP_AM_READ_WRITE, TRUE );
    memOut.Seek( SP_RP_START );
    for i in 0 to Length - 1 do
    memIn.ReadBinary( tmpIn, 1 );
    ic = *( pointer to char )( tmpIn.Value );
    j = ic;
    oc = ToEBCDIC[j];-- Value is EBCDIC.Array is S-JIS(ASCII) order
    tmpOut.SetValue( &oc, 1 );
    memOut.WriteBinary( tmpOut, 1 );
    end for;
    memIn.Close();
    memOut.Flush();
    memOut.Seek( SP_RP_START );
    memOut.ReadBinary( OutData, Length );
    memOut.Close();
    return;
    end method;
    if someone want to use this complete-code, mail to me.
    thanks.
    T.C.F.Co.Ltd.
    Isao Yamada([email protected])

  • ASCII (SYMBOLS & CHARACTERS) Conversion to Telephone numbers

    I am using oracle Release 9.2.0.7.0 and I am trying to access a database containing telephone numbers and codes, the table contains two columns with the names no and code both are VARCHAR2 column datatype. As you can see below the values in these two columns are ASCII characters and symbols. I tried to save the SQLPLUS query (select no, code from subdata) into a a file using spool command but the Ascii symbols and characters have being changed into some other format I am not familiar with I will show it below. Therefore is there a function that can help me to convert the ascii codes into the telephone numbers without doing any import or export, an embedded SQLPlus function will help me very much.
    This is a sample of the current table containing the ASCII codes:
    no code
    %)öFƒ   cs☺ ☻YO
    %)ûe_   cs☺ ☻Y_
    %)ö►_   cs☺ ☻Y
    %)ö♥▼   cs☺ ☻YÅ
    %)ö"_   cs☺ ☻Yƒ
    %)ö☻o   cs☺ ☻`
    %)ô☺▼   cs☺ ☻`▼
    %)öt_   cs☺ ☻`/
    %)öto   cs☺ ☻`?
    %)æ_   cs☺ ☻a
    %)òS▼   cs☺ ☻h_
    no code
    %)öv   cs☺ ☻pÅ
    %)öp?   cs☺ ☻pƒ
    %)Æ♠_   cs☺ ☻q
    %)öp/   cs☺ ☻q▼
    %)öuo   cs☺ ☻q/
    %)Æ _   cs☺ ☻q?
    %)ö↨O   cs☺ ☻qƒ
    %)öu   cs☺ ☻r
    %)ÿ☺O   cs☺ ☻r▼
    %)öQ_   cs☺ ☻r/
    %)öB?   cs☺ ☻r?
    24 rows selected.
    SQL>
    This is the format I got after I saved the query results of the sub_data table into a text file using SPOOL command:
    no Code
    %)^G\2223?\377\377 cs 5_
    %)^G\225^X_\377\377 cs 5\217
    %)^G\2238\217\377\377 cs 3/
    %)^G\225^Q\217\377\377 cs 6O
    %)^G\223^Q^O\377\377 cs 3?
    %)^G\223SO\377\377 cs 3o
    %)^G\2231^O\377\377 cs 3^?
    %)^G\223\225/\377\377 cs 3\217
    %)^G\223^W^_\377\377 cs 3\237
    Abdel Moalim
    Bosaso, Somalia

    The two column names are MSISDN and IMSI
    MSISDN IMSI
    %)VXO   cs☻ ☺sA/
    %)sq   cs☻ ☺åo
    %)ÖÇ   cs☺ ♥y_
    %)ÖÇ_   cs☺ ♥y?
    %)ÖÇo   cs☺ ♥yO
    %)ÖÇÅ   cs ► y?
    %)Öü▼   cs☺ ☻io
    %)Öü?   cs☺ ☻iO
    %)ÿâO   cs☺ ☻iÅ
    %)Öü   cs☺ ♥yo
    %)û↕_   cs☺ ☻i
    MSISDN IMSI
    %)ûƃ   cs☺ ☻i
    %)ûT▼   cs☺ ☻p▼
    %)ûw?   cs☺ ☻po
    %)Æ▼   cs☺ ☻p
    %)ÿêO   cs☺ ☻hƒ
    %)ûR_   cs☺ ♥y/
    %)ùFÅ   cs☺ ♥s
    %)ÿ1_   cs ► i?
    %)ÿü▼   cs☺ ☻p/
    %)ùöƒ   cs☺ ☻p
    %)ÿ1o   cs☺ ☻hÅ
    MSISDN IMSI
    %)òE_   cs☺ ☻É
    %)ÿ   cs☺ ♥sÅ
    %)û0Å   cs ► dƒ
    %)Ö♥Å   cs☺ ♥sƒ
    %)Öbo   cs☺ ♥t/
    %)ÿ    cs☺ ♥t?
    %)Ö♠Å   cs☺ ♥tO
    %)û%O   cs☺ ♥t_
    %)æ?   cs !_
    %)Öö   cs☺ ♥to
    %)ûV   cs☺ ♥tÅ
    MSISDN IMSI
    %)òô/   cs☺ ☻cƒ
    %)òSÅ   cs☺ ☻d?
    %)òSƒ   cs☺ ☻hO
    %)òV▼   cs☺ ☻do
    %)ò3   cs☺ ☻"ƒ
    %)òT▼   cs☺ ☻h
    %)ò3o   cs☺ ☻ho
    %)ÖG   cs☺ ♥tƒ
    %)Ö1?   cs☺ ♥u
    %)Ö`_   cs☺ ♥u▼
    %)Ö2?   cs☺ ♥u/
    MSISDN IMSI
    %)ùù/   cs☺ ♥u?
    %)Ö►o   cs☺ ♥w?
    %)D☺▼   cs☻ ☺Eÿ?
    %)ÿY   cs☺ ♥w_
    %)ÖDo   cs☺ ♥wO
    2469 rows selected.
    SQL>

Maybe you are looking for

  • Can't get LR3 to import photos from one external hard drive to another?

    I'm wanting to move thousands of raw photos from a folder in one external hard drive to another folder in a different external hard drive so all my photos are in one photo folder instead of two.  I've gone through the importing routine inside of ligh

  • Any .ps file freezes Preview

    On my PowerBook, it works fine. But on my desktop, trying to open essentially identical .ps files (even simple ones) causes Preview to freeze. This has been true consistently across 10.3.8, 10.3.9, and 10.4.6, so I'm sure it's a corruption problem on

  • ITunes Library errors

    I have two macs. My iTunes library is on an external hard drive so I can move it between macs. I hooked it up to my second mac and imported my songs to the iTunes on that computer. Then when I went back toi the first some of my compilation songs had

  • Formula node for array

    hi   i want to convert the values of an array using a different formula for each value in the array.     Can i use formula node for this?    if yes how if no then is there any other method except for extracting each one individually and converting?

  • Main screen is sideways

    For some reason the main screen on an All-In-One pc has switched to sideways with the icons at the top which makes it difficult to view the screen or any programs. Any advice on how to correct the settings will be appreciated. This question was solve