Skip to Content
avatar image
Former Member

Binary Packed Numbers

I was just wondering how to interperet these types of numbers in XI. When making a DT do I have to use a special type, like xsd:hexBinary?

Oh, and I'm pretty generous with points.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Best Answer
    Jul 21, 2007 at 01:26 AM

    Paul,

    <i>I was just wondering how to interperet these types of numbers in XI</i>

    I couldn't understand which numbers u are referring here, is it the heading Binary number are u referring to? If yes , then there is no need to define xsd:hexBinary, while reading the file, in sender comm.channel give the file type as Binary. I think its more sufficient.

    Best regards,

    raj.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 21, 2007 at 04:17 AM

    Just use a FTP sender adapter and select mode as "binary" instead of text /ascii...

    This would help u

    /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 22, 2007 at 11:40 AM

    Most of data types like numbers, dates can be represented as String and there is no need to choose any other type.

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 23, 2007 at 01:16 PM

    The thing is, I'm using MQseries which does all the conversions, and it leaves the binary parts with odd characters when I check a test file receiver channel, I was hoping that something like this could be resolved using the hexBinary, or another Binary xml definition.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 23, 2007 at 01:19 PM

    Hi

    Try using them,but i strongly feel usage of Binary as file type in file Sender would suffice.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 23, 2007 at 01:20 PM

    Since it is MQseries, there is no way to have the sender in binary mode...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 07, 2007 at 03:33 PM

    I have resolved this using the sender as binary and using java mapping to handle the Packed Binary Numbers.

    Add comment
    10|10000 characters needed characters exceeded