ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Parsing

Post new topic  Reply to topic
 Parsing « View previous topic :: View next topic » 
Author Message
6FA
PostPosted: Tue Feb 09, 2016 4:11 am    Post subject: Parsing Reply with quote

Novice

Joined: 08 Jan 2016
Posts: 21

Hi Guys,

Could someone plz let me know what are the below values?

1. X'2C2D'
2. X'2C'

Actually I have some esql code as below

BEGIN
DECLARE msgBlob BLOB ;
SET msgBlob = ASBITSTREAM(InputRoot.DFDL CCSID InputRoot.Properties.CodedCharSetId ENCODING InputRoot.Properties.Encoding);
SET msgBlob = REPLACE(msgBlob,X'2C2D',X'2C');
SET OutputRoot.BLOB.BLOB = msgBlob;
END;

Please let me know what are these values and where I can find info on this.

Thanks
Back to top
View user's profile Send private message
maurito
PostPosted: Tue Feb 09, 2016 4:33 am    Post subject: Re: Parsing Reply with quote

Partisan

Joined: 17 Apr 2014
Posts: 358

6FA wrote:

Could someone plz let me know what are the below values?

1. X'2C2D'
2. X'2C'

In what CCSID ?
6FA wrote:

Please let me know what are these values and where I can find info on this.

There is plenty of info on internet about Coded Character Set id and encodings.
Back to top
View user's profile Send private message
6FA
PostPosted: Tue Feb 09, 2016 5:24 am    Post subject: Reply with quote

Novice

Joined: 08 Jan 2016
Posts: 21

Hi

My question is what are these values
1. X'2C2D'
2. X'2C'

In the code it is converting DFDL msg to BLOB and something it replacing. "What is replacing with what"?

I searched in google but I couldn't find anything
Back to top
View user's profile Send private message
maurito
PostPosted: Tue Feb 09, 2016 5:28 am    Post subject: Reply with quote

Partisan

Joined: 17 Apr 2014
Posts: 358

6FA wrote:
Hi
My question is what are these values
(

Yes, I know what your question was. And mine was:
IN WHAT CCSID ?
If you cannot answer that, then no one will be able to answer your question with certainty.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Feb 09, 2016 6:02 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Those are hex values representing binary numbers.

In order for those binary strings to relate to anything resembling a character, there needs to exist a mapping from that binary string to a character.

Without knowing what mapping is in use, the only meaningful answer is "Those are hex values representing binary numbers".

Perhaps a CCSID is what provides that mapping. Perhaps different CCSIDs map different binary numbers to different characters.

Perhaps your flow is not doing the right thing when it's serializing something to a BLOB.

Perhaps you should allow the DFDL parser to handle all of your serialization.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
timber
PostPosted: Tue Feb 09, 2016 8:36 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Quote:
Please let me know what are these values and where I can find info on this.
So you are looking at some code and wondering 'who wrote this, and what were they trying to do?'

You probably know some or all of the following:
- the business purpose of the message flow
- the name of the message flow
- the name of the data format that DFDL is handling
- the name of somebody in your organisation who knows the answers to the above.

Those are useful pieces of information. We do not know these things. You have to tell us.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Parsing
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.