Topic
  • 2 replies
  • Latest Post - ‏2019-08-27T02:15:51Z by raghumq
raghumq
raghumq
28 Posts

Pinned topic MQ to EMS bridging in DataPower for EBCDIC msg

‏2019-08-23T14:23:38Z | ebcdic hex

We are reading an message from MQ Queue & posting to TIBCO EMS queue using MPGW as non-xml type. We see the message having CCSID 500/ Enconding 785 even though we have DataPower having Convert 'ON' with CCSID 819 (default) from MQ qmgr object we see that message not getting coverted from EBCIDIC to ASCII on the destination & showing as a Hex with EBCDIC encoded

Since MQ is not doing it automatically we decided to write an xslt for it. Could you please help what would be the conversion functions (radixconvert/ de-decode values) that I need to use here? Please help

Sample msg at Destination:

0001000200000028d4e6c84000000000000001f4000003e8e2d9c4e2f2d6c5e240404040404040404c6fa7949340a58599a28996957e7ff14bf07f4085958396848995877e7fc9c2d460f1f1f4f07f6f6e4cd6d9c4c5d9c5e5c5d5e340a7949395a27e7fc8e3e3d77a6161e6e6e64bd4e2e34bd4c1c3e8e24bc3d6d461e7e261d6d9c4c5d961c2c9c7e3c9c3d2c5e361d6d9c4c5d9c5e5c5d5e34be5f14bf07f6e4cc6d3c4f16ee2c1d4d7d3c54c61c6d3c4f16e4cc6d3c4f26e4cc6d3c4f2c16ed9c4e260e3c5e2e3c1f14c61c6d3c4f2c16e4cc6d3c4f2c26ed9c4e260e3c5e2e3c2f14c61c6d3c4f2c26e4c61c6d3c4f26e4cc6d3c4f26e4cc6d3c4f2c16ed9c4e260e3c5e2e3c1f24c61c6d3c4f2c16e4cc6d3c4f2c26ed9c4e260e3c5e2e3c2f24c61c6d3c4f2c26e4c61c6d3c4f26e4cc6d3c4f26e4cc6d3c4f2c16ed9c4e260e3c5e2e3c1f34c61c6d3c4f2c16e4cc6d3c4f2c26ed9c4e260e3c5e2e3c2f34c61c6d3c4f2c26e4c61c6d3c4f26e4cc6d3c4f36ec5d5c44c61c6d3c4f36e4c61d6d9c4c5d9c5e5c5d5e36e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 

 

Actual message at Mainframe MQ (pulled using rfhutil):

00000000 ........MWH .......4...YSRDS2OES
00000032         <?xml version="1.0" enco
00000064 ding="IBM-1140"?><ORDEREVENT xml
00000096 ns="HTTP://WWW.wefwfsdfsf.COM/XS/
00000128 ORDER/SAMPLEOK/ORDEREVENT.V1.0"
00000160 ><FLD1>SAMPLE</FLD1><FLD2><FLD2A
00000192 >RDS-TESTA1</FLD2A><FLD2B>RDS-TE
00000224 STB1</FLD2B></FLD2><FLD2><FLD2A>
00000256 RDS-TESTA2</FLD2A><FLD2B>RDS-TES
00000288 TB2</FLD2B></FLD2><FLD2><FLD2A>R
00000320 DS-TESTA3</FLD2A><FLD2B>RDS-TEST
00000352 B3</FLD2B></FLD2><FLD3>END</FLD3
00000384 ></ORDEREVENT>..................
00000416 ................................
00000448 ................................
00000480 ................................
00000512 ................................
00000544 ................................
00000576 ................................
00000608 ................................
00000640 ................................
00000672 ................................
00000704 ................................
00000736 ................................
00000768 ................................
00000800 ................................
00000832 ................................
00000864 ................................
00000896 ................................
00000928 ................................
00000960 ................................
00000992 ................................
00001024 ................

  • raghumq
    raghumq
    28 Posts
    ACCEPTED ANSWER

    Re: MQ to EMS bridging in DataPower for EBCDIC msg

    ‏2019-08-27T02:15:51Z  
    • HermannSW
    • ‏2019-08-24T09:26:07Z

    CCSID should work, no need to do something special.

    Please create a support ticket in order to find out what is wrong in your config and/or DataPower.

    Hermann.

    Thanks Hermann. It was the byte/text dropdown in TIBCO EMS Server object in DataPower where I had bytes(instead of text) which was causing the problem. It is resolved now.

  • HermannSW
    HermannSW
    8694 Posts

    Re: MQ to EMS bridging in DataPower for EBCDIC msg

    ‏2019-08-24T09:26:07Z  

    CCSID should work, no need to do something special.

    Please create a support ticket in order to find out what is wrong in your config and/or DataPower.

    Hermann.

  • raghumq
    raghumq
    28 Posts

    Re: MQ to EMS bridging in DataPower for EBCDIC msg

    ‏2019-08-27T02:15:51Z  
    • HermannSW
    • ‏2019-08-24T09:26:07Z

    CCSID should work, no need to do something special.

    Please create a support ticket in order to find out what is wrong in your config and/or DataPower.

    Hermann.

    Thanks Hermann. It was the byte/text dropdown in TIBCO EMS Server object in DataPower where I had bytes(instead of text) which was causing the problem. It is resolved now.