Author |
Message
|
nu1 |
Posted: Tue Dec 16, 2003 2:36 pm Post subject: Extract first 5 bytes |
|
|
Apprentice
Joined: 28 Nov 2003 Posts: 26
|
How can I extract 5 bytes from 15 bytes sent through XML tag and get the number sent in the first 5 bytes of the 15 bytes
thanks _________________ -nu1 |
|
Back to top |
|
 |
surenat |
Posted: Tue Dec 16, 2003 3:07 pm Post subject: |
|
|
Apprentice
Joined: 01 Jan 2002 Posts: 32
|
I am not clear about your question, can u give little more information, like the XML message you are using. _________________ IBM Certified Specialist MQSeries
IBM Certified Specialist - Websphere MQ Integrator |
|
Back to top |
|
 |
nu1 |
Posted: Tue Dec 16, 2003 3:48 pm Post subject: |
|
|
Apprentice
Joined: 28 Nov 2003 Posts: 26
|
I get XML msg say
<abc>
<aaa value-type="TEXT" node-type="Constant">123456789012345 </aaa>
</abc
I have to extract first five bytes 12345 and 6789012345 as two different nos
-nu1 _________________ -nu1 |
|
Back to top |
|
 |
EddieA |
Posted: Tue Dec 16, 2003 4:08 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
SUBSTRING
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
nu1 |
Posted: Tue Dec 16, 2003 6:06 pm Post subject: |
|
|
Apprentice
Joined: 28 Nov 2003 Posts: 26
|
Thank you
-nu1 _________________ -nu1 |
|
Back to top |
|
 |
|