Author |
Message
|
pereira.allan1992 |
Posted: Fri Nov 13, 2015 7:46 am Post subject: Send a String to MQ Output |
|
|
Novice
Joined: 21 Oct 2015 Posts: 12
|
Hello guys,
Please, I'm Trying to send a XMLNSC to a field in a Table Queue,but when it write in queue table, the XMLNSC is in Hexadecimal...how can I convert to string/character ?
Thank you |
|
Back to top |
|
 |
Vitor |
Posted: Fri Nov 13, 2015 7:53 am Post subject: Re: Send a String to MQ Output |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
pereira.allan1992 wrote: |
a Table Queue |
What exactly is one of those? In specific MQ terms?
pereira.allan1992 wrote: |
but when it write in queue table |
What exactly is one of those? In specific MQ terms?
MQ is not a database, and doesn't contain either of those things that I'm aware of.
pereira.allan1992 wrote: |
how can I convert to string/character ? |
You can't. The MQOutput node (the normal way of putting something into an MQ object) does this for you.
If this is not happening:
- you're doing something fairly unusual to present the XMLNSC domain to the MQOutput node
- you're not using the MQOutput node which is an illegal operation and can cause your broker to crash.
I repeat my comments made on your earlier epic post here about getting some training. In both MQ and IIB by the sound of it. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
pereira.allan1992 |
Posted: Fri Nov 13, 2015 8:31 am Post subject: |
|
|
Novice
Joined: 21 Oct 2015 Posts: 12
|
Yes, I believe that's the same problem that I found...
I have one database, that the IBM Integration Bus process and take data, so it can mount a XML file...no problems
but now, i'm trying to send this XML to MQ output...I can do this, but the integration bus convet my XML to hexadecimal when I record in my queue table.
I ll try to find a way to put in MQ object..
Its not easy find a cia that sell trainning in Brazil...
Thank you |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Nov 13, 2015 8:33 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
What is a queue table?
Is it some thing inside a database?
What are you passing to this "queue table", why do you think that it is IIB that is converting it to hexadecimal?
What are you doing to convert the logical message tree into something you can insert into this "queue table"? _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Vitor |
Posted: Fri Nov 13, 2015 8:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
pereira.allan1992 wrote: |
when I record in my queue table. |
Again I ask what is this thing? MQ does not have tables
pereira.allan1992 wrote: |
I ll try to find a way to put in MQ object.. |
You don't need to try - there is exactly one supported way for IIB to output a message to MQ.
I still suspect you're doing something else. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
timber |
Posted: Fri Nov 13, 2015 8:52 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
I think it is best if you start by explaining this statement:
Quote: |
the integration bus convert my XML to hexadecimal when I record in my queue table |
Please take some time before answering - remember that we cannot see your screen, and we do not know what problem you are trying to solve. |
|
Back to top |
|
 |
pereira.allan1992 |
Posted: Fri Nov 13, 2015 9:08 am Post subject: |
|
|
Novice
Joined: 21 Oct 2015 Posts: 12
|
Im using Integration Bus To send messages to Oracle Retail Integration Bus (ORIB) The ORIB have queue tables...
when I put a test message, in MQ, It send to my queue Table in ORIB....But its sending my message (XML) in hexadecimal...i d like to send like character/string.
Don't worry guys, I Need trainning...
Sorry |
|
Back to top |
|
 |
Vitor |
Posted: Fri Nov 13, 2015 9:20 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
pereira.allan1992 wrote: |
Im using Integration Bus To send messages to Oracle Retail Integration Bus (ORIB) The ORIB have queue tables... |
And we were supposed to know this how? Exactly? As regular contributors will confirm, I'm psychotic not psychic.
pereira.allan1992 wrote: |
when I put a test message, in MQ, It send to my queue Table in ORIB |
And for those of us without knowledge of ORIB, how is this miracle achieved? Is ORIB reading the MQ queue and consuming it? Do an army of trained squirrels cut and paste the data in real time? What?
pereira.allan1992 wrote: |
But its sending my message (XML) in hexadecimal...i d like to send like character/string. |
How do you know it's in hexadecimal? All character / string values are nothing but a series of hex values that some tools automatically convert into their ASCII representations. If you look directly at the MQ message stored in a queue (or any other data file) you'll see nothing but a series of hex values.
So is it hex because it looks like hex in whatever ORIB tooling you're using to view it? Is it hex because ORIB chokes trying to read it so you've jumped to the conclusion it's hex? Is it hex because some guy in the local coffee shop said it was hex? Is it hex because the ORIB forum you posted this question on said it was hex?
pereira.allan1992 wrote: |
Don't worry guys, I Need trainning... |
No contact admin. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Nov 13, 2015 9:32 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Also please understand that there are are two different kinds of training that you might want to look at.
One is, as you have mentioned, training on IIB and MQ. Hopefully you can work with local resources to get assistance on this. Otherwise, even without paid training, there's a lot of material available, including the product samples.
The other kind of training is general purpose troubleshooting. This is a skill applicable to all parts of working with software and computers. It's what allows you to look at each piece of a problem and determine where the first issue occurs.
There should absolutely be local people you can work with to learn and apply this skill. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
|