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.

Similar Messages

  • 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);
    }

  • 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

  • EBCDIC to ASCII data conversion

    Hi,
    We have JDE system as source to bring data into BW. Howvever the format of the data is in EBCDIC and the data looks junk with out converting the same to ASCII.
    A quick research showed me that there are 3rd party tools to convert the data from EBCDIC to ASCII.
    Just wondering whether is there a function in BW system which takes care of this conversion?
    any thoughts? did any one come across this situation ?
    Inputs appreciated.
    Regards

    Hi
    Thanks for your response.
    Now where this class has to be applied ?...
    what does exactly this class do? can you share some insights on this ?
    Thanks

  • EBCDIC- ASCII codepage conversion

    Hi folks,
    Please be patient enough to answer my queries. We are planning to upgrade either to 4.7 or ERP2005. Please let me know if I'm on track as well as answer some of my  queries:
    We are on 4.6C with 46D_EXT kernel, OS release V5R3. We have DEV & TST system on one partiton(LPAR1) of I550 server while PRD is on the second partition(LPAR2).
    LPAR1 -> 6GB Ram -> 700 GB disk space -> 2.5 memory units(out of 5)
    LPAR2 -> 9GB Ram -> 700 GB disk space -> 3.5 memory units.
    1. How much disk space should be added in figures for Codepage conversion and Upgrade?
       70% disk is used up as of now in each partition.
    2. Is the memory, OS release enough?
    3. What is the time required for Code page conversion for 100 GB database? Is time taken relative to database, OS or memory? Is the SAP CPC guide enough to get started? Which procedure should I choose - InPlace or Export/Import.
    Please post some suggestions too.
    Thanks!
    Nick Ron

    Hi Nick,
    a lot of questions ...
    1. How much disk space should be added in figures for Codepage conversion and Upgrade?
    70% disk is used up as of now in each partition.
    >>> ebcdic-ascii CPC & Upgrade typically double the database size ...
    => it might become a little bit full ...
    2. Is the memory, OS release enough?
    >>> memory for DEV & TST will be far too short ... for PRD perhaps OK - you will have to test.
    3. What is the time required for Code page conversion for 100 GB database? Is time taken relative to database, OS or memory? Is the SAP CPC guide enough to get started? Which procedure should I choose - InPlace or Export/Import.
    >>> You need to be certifiedfor the CPC => Then you should know how to handle these kind of questions ...
    Regards
    Volker Gueldenpfennig, consolut.gmbh
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • 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

  • 'a' character with ASCII = EBCDIC back and forth conversion

    Hi,
    I'm trying the following code:
                   System.out.println(" --- Using Java --- ");
                   String v1 = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
                   System.out.println("ASCII: "+v1);
                   String ebcValue = new String(v1.getBytes("Cp1047"));
                   System.out.println("EBCDIC: "+ebcValue);
                   String v2 = new String(ebcValue.getBytes(), "Cp1047");
                   System.out.println("ASCII: "+v2);
    It outputs:
    --- Using Java ---
    ASCII: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
    EBCDIC: ?���������������������������������������������������
    ASCII: bcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
    The issue is that 'a' ASCII $61 is supposed to end up $81 in EBCDIC but shows up as $3F in EBCDIC, so when I convert back to ASCII I'm getting $1A instead of the original $61.
    I looked for a solution in the forums and googled it too. I did not find a solution so far.
    Any clue, someone?
    TIA!
    Domi

    Hi,
    I'm trying the following code:Strings in java hold unicode. They do not hold ascii nor ebcdic.
    Data inserted into a java string is mapped into unicode.
    new String(v1.getBytes("Cp1047"));You have a set of bytes (not ebcdic). Those bytes are interpreted based on the default encoding on your system and mapped into unicode.
    So the above line is completely meaningless and likely to produce garbage.
    >
    The issue is that 'a' ASCII $61 is supposed to end up
    $81 in EBCDIC but shows up as $3F in EBCDIC, so when
    I convert back to ASCII I'm getting $1A instead of
    the original $61.Demonstrate this using bytes only.
    If you can create demonstration that does not have the above encoding problem then you should submit it to the bug database.

  • SetString() and Unicode to ASCII/ISO conversion

    Hi,
    I encountered next problem. My database works in ISO-Latin-1 character set. Still, if I call PreparedStatement.setString(String arg) I would expect this call would convert arg parameter to ISO-Latin-1 using standard conversion mechanism. But after some testing I found out that instead of converting Java characters Oracle's driver just skips hi-byte. So if I have character with hex code 0x2019, which is absolutely normal unicode character. Oracle's driver converts it into 0x19 code, which is not even printable character and not valid ASCII code. Java's standard CharToByteConverter gives 0x63 ('?') code, which, at least, is valid ASCII/ISO-1 character.
    And some soft reports "Invalid Character" errors encountering 0x19 and other such codes.
    Here's a fragement from Oracle's JDBC log:
    DBCV DBG2 UCS-2 bytes (10 bytes):
    20 19 20 1c
    DBCV FUNC DBConversion.stringToAsciiBytes(str)
    DBCV DBG2 DBAccess bytes (5 bytes):
    19 1c
    Has anyone encountered this problem? Has anyone found work-around?
    Checking and converting all strings before calls to setString() would be too overwhelming.
    Thanks,
    Dmitry

    You may not store a string as ASCII values.
    Any string you create is stored in Unicode.
    The first 128 elements of Unicode are the same as ASCII.
    If you want the ASCII representation of the letter "a", then:
    System.out.println( java.lang.Character().getNumericValue( 'a' ) );
    As DrClap said, there is no reason to save a string in ASCII format since it will be saved in unicode format and thus Java already knows what the ASCII values will be.
    If you want to output a string in ASCII format, do it like this:
    public Vector convert( String input ) {
    StringBuffer tmpIn = new StringBuffer( input );
    Vector tmpOut = new Vector
    for ( int index = 0; index < tmpIn.length; index++ ) {
    char tmpCharacter = tmpIn[ index ];
    int tmpValue = java.lang.Character().getNumbericValue( tmpCharacter ) );
    tmpOut.addElement( tmpValue );
    return tmpOut;
    And then display each element as you see fit.
    Fixing the bugs in this code is an exercise for the reader. If you want to do something like this, you should be thinking about why you want to do this as well as how to do this.

  • Ascii character conversion

    I need to decode a DMM serial connection. It spits out ascii looking charactors. The DMM is RadioShack DMM catalog # 22-812. Any ideas to convert ascii to something readable?

    Btw, I tried using a "format value" in the string conversion pallette with the string specifier (%s). This does not decode the characters.

  • File_To_File: UTF-8 to ASCII format conversion.

    HI Experts,
    I got one requirement File_To_File scenario source file is in UTF-8 format so we need to convet it into ASCII fromat , in this one mapping not required so please can you please help me out. we are using  Pi 7.0 with SP 21.
    Regards,
    Prabhakar.A

    in the communication channel define ASCII as enconding.
    Processing Tab Page
    Processing Parameters
       File Type
    Specify the document data type.
    ○       Binary
    ○       Text
    Under File Encoding, specify a code page.
    The default setting is to use the system code page that is specific to the configuration of the installed operating system. The file content is converted to the UTF-8 code page before it is sent.
    Permitted values for the code page are the existing Charsets of the Java runtime. According to the SUN specification for the Java runtime, at least the following standard character sets must be supported:
    ■       US-ASCII
    Seven-bit ASCII, also known as ISO646-US, or Basic Latin block of the Unicode character set
    ■       ISO-8859-1
    ISO character set for Western European languages (Latin Alphabet No. 1), also known as ISO-LATIN-1
    ■       UTF-8
    8-bit Unicode character format
    ■       UTF-16BE
    16-bit Unicode character format, big-endian byte order
    ■       UTF-16LE
    16-bit Unicode character format, little-endian byte order
    ■       UTF-16
    16-bit Unicode character format, byte order
    Note
    Check which other character sets are supported in the documentation for your Java runtime implementation.

  • Database to text/ascii/html conversion

    I need to convert an Oracle db to a text file. Preservation of the exact format of the db is not critical, although desireable, but the entire contents of the db in text format (headers aside) is. Is there a filter or migration utility that will easily do this? Conversion to html or xml would be acceptable. Thank you in advance.

    This is not the right forum, and the question really doesn't make sense. There's no simple mapping between a relational database and a flat text file.
    You can generate XML from an individual table of the database - see the XML developers kit for more details.

  • Ascii - char conversion

    What is the easiest way to convert from an ascii value to its corresponding char? I want to make a table of the unicode character set from values 32 to 126 with simple for loop. The only thing I could find online was String.fromCharCode() which didn't work since it's javascript.

    What is the easiest way to convert from an ascii value
    to its corresponding char? I want to make a table of
    the unicode character set from values 32 to 126 with
    simple for loop. The only thing I could find online
    was String.fromCharCode() which didn't work since it's
    javascript.The first 128 characters of all unicode character sets corresponds exactly to ASCII.
    For UTF-8....
    x00 => x00
    x01 => x01
    x7f => x7f
    For a 16 bit unicode charset it would be...
    x00 => x0000
    x01 => x0001
    x7f => x007f

  • ASCII-EBCDIC convertion between z/Os and Linux

    Hi experts, we are migrating our landscape to z/Os (DB+ASCS) and Linux (PAS). We have our GLOBALHOST on z/Os but we are experimenting some problems when we try to install our application servers because the conversion between platforms.
    In the planning guide we can see that there is a way to mount NFS file systems exported from z/Os, that make this convertion in an automatic way, but the commands mentioned on the guide are for UNIX and not for Linux.
    Does any of you have this kind of installtion that could help us to set this parameters ok?
    Or does any of you face this problems before?
    Regards
    gustavo

    First, yes, we have z/OS systems programmers and DBAs with specific knowledge of DB2 z/OS. One of the reasons we initially went with the Z platform when we implemented SAP was that our legacy systems ran there for many years and our company had a lot of Z knowledge and experience. zSeries was one of our "core competencies".
    I also need to give you a little more information about our Z setup. We actually had 2 z9 CECs in a sysplex, one in our primary data center and another close by in our DR site and connected by fiber. This allowed us to run SAP as HA on the Z platform. For highly used systems like production ERP we actually ran our DB2 instances active/active. This is one of the few advantages of the Z platform unavailable on other platforms (except Oracle RAC, which is also expensive but can at least be implemented on commodity hardware). Another advantage is that the SAP support personnel for DB2 z/OS are extremely knowledgeable and respond to issues very quickly.
    We also chose the Z platform because of the touted "near-continuous availability" which sounded very good. Let me assure you, however, that although SAP has been making great strides with things like the enhancement pack installer, at present you will never have zero downtime running SAP on any platform. Specifically you will still have planned downtime for SAP kernel updates and support packs or enhancement packs, period. The "near-continuous availability" in this context refers to zero unplanned downtime. In my experience this is not the case either. We had several instances of unplanned downtime, the most recent had to do with issues when the CECs got to 100% CPU utilization for a brief period of time and could not free some asinine small memory area that caused the entire sysplex to pause all LPARs until it was dealt with(yes, this could be dealt with using system automation but our Z folks would prefer to deal with these manually since each situation can be different). We worked with IBM on a PMR for several months, but our eventual "workaround" was much better. We stopped running our DB2 instances as active/active and never had the problem again. We chose this "workaround" because we knew we were abandoning the platform and any of the test fixes from IBM required a rolling update of z/OS in all LPARs (10 total at the time), which is a major hassle, especially when you do it several times applying several different fixes until the problem is finally solved.
    We also experienced some issues with DB2 z/OS itself. In one case, some data in a table in production got corrupted (yikes!!) SAP support helped us correct the data based on our QA system and IBM delivered a PTF (or maybe it was a ++APAR) to correct the problem. We also had several instances of strange poor performance in ERP or BI that were solved with a PTF or by using some special RUNSTATS output by some IBM DB2 tool our DBAs ran when we gave them the "bad" query. Every time we updated DB2 z/OS with an RSU felt like a craps shoot. Sometimes there were no issues revealed during testing, other times major issues were uncovered. This made us very hesitant when it came to patching DB2 and also made us stay well behind currently available maintenance so we could let other organizations identify problems.
    Back to the topic of downtime related to DB2 z/OS itself, we know another company which runs SAP on Z that takes several hours of downtime each week (early Sunday morning I think) to REORG some large BLOB tables(if you're not in the monthly conference call for SAP on DB2 z/OS organizations, I suggest you join in). The need for RUNSTATS and REORGs to be dealt with explicitly (typically once a day for RUNSTATs and once a week for REORGs, at least for us) is a major negative of the platform, in my opinion. It is amazing what "proper" RUNSTATS can do to a previously poor performing query(hours reduced to seconds!). Also, due to the way REORGs are handled in DB2 z/OS, you'll need a lot of extra disk space for the image copies which get created. In our experience you need enough temp disk to hold the shadow copy of the largest table being REORGd and the image copies of the largest tables that are REORGd in the same time period. I recall that the image copies can be migrated to tape or virtual tape to free the image copy space back up using a periodic job, but it was a huge amount of trial and error to properly size this temp disk space, especially when the tables requiring a REORG are not the same week-to-week. We heard that with DB2 z/OS v10 that RUNSTATS and REORGs will be dealt with automatically by DB2, but I do not know if it has even been certified for SAP yet(based on recent posts in this forum it would appear not). Even when it is, I would not recommend going to it immediately(we made this mistake when DB2 z/OS v9 was certified and suffered for months getting bugs with SAP and DB2 interoperability fixed). Also, due to the way that REORGs work on BLOB tables, there will be a period of table unavailability. The caused us some issues/headaches. There are some extra REORG parameters you can set, but these issues are still always a possibility and I think that is why the company mentioned previously just took the weekly downtime to finish the REORGs on their large BLOB tables. They are very smart folks that are very experienced with zSeries and they engaged IBM experts for assistance to try and perform the REORGs online and yet they still take the downtime to perform the BLOB REORGs offline. In contrast, these periodic database tasks do not require our Basis team to do anything with SQLServer and do not cause our end-users grief when a table is unavailable.
    Our reasons for moving platforms (which, let me assure you was a major undertaking and was considered long and hard) were based on 3 things:
    1. Complexity
    2. Performance
    3. Cost
    When I speak of complexity, let me give you some data... There was a time when ~50% of all of the OSS messages the Basis team opened with SAP were in the BC-DB-DB2 category. In contrast, I think we've opened 1 or 2 OSS messages in the BC-DB-MSS category ever. Many of the OSS messages for DB2 z/OS resulted in a fix from either SAP or from IBM. We've had seveal instances of applying a PTF, ++APAR, or RSU to z/OS and/or DB2 which fixed serious "unable to perform a job function" problems with SAP. We've yet to have to apply a single update to Windows or SQLServer to fix an issue with SAP.
    To summarize... Comparing our previous and current SAP platforms, the performance was slower, the cost higher, and the complexity much higher. I have no doubt (especially with the newer Z10 and zEnterprise 196) that we could certainly have built a zSeries SAP solution which performed on par with what we have now, but.... I could not even fathom a guess as to the cost. I suspect this is why you don't see any data  for the standard SAP SD benchmark on zSeries.
    I suspect you're already committed to the platform since deploying a Z machine, even in a lab/sandbox environment isn't as easy as going down to your local computer dealer and buying a $500 test server to install on, but... If you wanted to run SAP on DB2 I would suggest looking at DB2 LUW on either X86_64 Linux or on IBM's pSeries platform.
    Brian

  • Java on OS390 (MVS)

    Anybody here solved any of the issues of using Java on an MVS mainframe (running zOS in fact)?
    I'm specifically referring to:
    * Editing (square brackets)
    * Uploading .java and/or .class files from NT
    * Running within CICS - is there a 3270 display option?
    * Any other useful tidbits you know about
    I'd REALLY appreciate any information available. If you want Duke dollars let me know!
    Thanks,
    Tim

    Anybody here solved any of the issues of using Java on
    an MVS mainframe (running zOS in fact)?I haven't done that but some of the questions you ask are OS-independent, I think.
    * Editing (square brackets)You are trying to edit on a zOS keyboard which doesn't have []? Then do your editing on a PC, which does.
    * Uploading .java and/or .class files from NTIf you are using FTP, make sure you use the Binary or Image option for uploading .class files. You want to avoid any ASCII-EBCDIC conversion. Probably the same for .java, but I don't know the details there.
    * Running within CICS - is there a 3270 display
    option?
    * Any other useful tidbits you know aboutSorry.

  • 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.

Maybe you are looking for

  • Lost all my acheivements in gamecenter, for a particular game.

    I have an iPhone5 and been using it quite a while without any issues. Gamecenter, on the other hand, has been acting weird. On the machine screen of Gamecenter my score is displayed as 12,612, whereas in my friends' list my score is 13, 573. Now, whe

  • EP administration

    hello experts, I hv installed EP7 SP13 and configured ess/mss in the same system. The problem is when i restart the system jcontrol in the console is getting stopped. But if i ON or ENABLE the safe mode in configtool and then try to restart, the syst

  • Spry data set not displaying data in IE8

    Ok probably sounds familiar to some of you - but I cant seem to get it to display the data in IE8 after everyone's suggestions on the Spry forum.  When I load the page in FireFox it works, IE8 and Opera it doesn't.  I am running CS5 and it looks fine

  • HTMLDB workspace creation

    HI guys, i created a workspace on htmldb and it said at the end of the wizard ...workspace created ...but then it asks for a username and password details to login to the workspace whats that what should i enter as username??? it didnt ask for a user

  • [SOLVED] pekwm - can't launch certain applications outside from termin

    I'm currently using pekwm and I'm experiencing a strange issue. I can't launch certain, random applications by keyboard-shortcut, the pekwm-command-launcher, the start file (pekwm start file and .xinitrc) and the menu. But it works if I open a termin