|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MRM-TDS Carriage Return / Line Feed in Tag value |
« View previous topic :: View next topic » |
Author |
Message
|
MVO |
Posted: Wed Sep 15, 2004 12:17 pm Post subject: MRM-TDS Carriage Return / Line Feed in Tag value |
|
|
 Centurion
Joined: 09 Sep 2001 Posts: 131
|
Hi,
How do I specify a Tag value that has <CR> and/or <LF> in it ?
MQSI 2.1
Thanks |
|
Back to top |
|
 |
chanduy9 |
Posted: Thu Sep 16, 2004 5:30 pm Post subject: |
|
|
Disciple
Joined: 28 Nov 2001 Posts: 177 Location: USA
|
Hi,
Create a element with binary type and assing X'0A0D' to that.
Thanks,
Chandra. |
|
Back to top |
|
 |
MVO |
Posted: Fri Sep 17, 2004 5:12 am Post subject: |
|
|
 Centurion
Joined: 09 Sep 2001 Posts: 131
|
Thanks, but it means I have to CAST my ASCII (char type) data to binary when I assign it to the element., e.g.
1) define E1 as binary
2) If element E1 tag is TAG1<cr><lf>; then the value "TAG1" has to be converted to binary when I define E1 ???
3) Use the MRM-TDS format as output: say I want to assign HELLO to E1 then my ESQL has to be something like this:
set OutputRoot.MRM.E1=cast('HELLO' as BLOB)
???
Is there any better way to do it ?
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 17, 2004 5:15 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Have you tried enclosing a return inside quotes? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
MVO |
Posted: Fri Sep 17, 2004 5:38 am Post subject: |
|
|
 Centurion
Joined: 09 Sep 2001 Posts: 131
|
I don't understand what you mean. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|