|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Embedded nulls (low values) in CWF string fields |
« View previous topic :: View next topic » |
Author |
Message
|
mikek |
Posted: Mon Jul 15, 2002 6:42 am Post subject: Embedded nulls (low values) in CWF string fields |
|
|
Newbie
Joined: 25 Jun 2002 Posts: 5
|
Hi.
I'm getting data from mainframe applications that sometimes (erroneously) includes low values in the middle of string fields. These messages are transformed into XML, causing the parser to complain (and rightly so) because low values are non-printing and are thus illegal in XML.
I'm contemplating a few options:
- Scanning the incoming bitstream for these low values and taking appropriate action (e.g. throw an exception). This option would equate to my writing my own parser, which I obviously don't want.
- Tell the MRM to raise a flag whenever it encounters invalid values. This option sounds much more appealing. But, I cannot find any information hinting at how to do this.
Can anyone help, please? Are there other ways around my predicament?
WMQI v2.1, WinNT 4, MQ 5.2
Cheers, Mike |
|
Back to top |
|
 |
JLRowe |
Posted: Mon Jul 15, 2002 11:26 am Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
Mike,
I'm afraid that there is now way MRM can deal with the NULLs, so you will have to use ESQL to deal with them. Perhaps by receiving the message as a blob, removing the nulls and using an RCD to parse it in. |
|
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
|
|
|
|