View previous topic :: View next topic |
Author |
Message |
sriramkarumuri Beginner
Joined: 07 Feb 2006 Posts: 28 Topics: 7
|
Posted: Mon Sep 18, 2006 3:38 am Post subject: How to get ascii values for a given input string |
|
|
How to get ascii values for a given input string.
for example: RAM_TEST_FILE_FEED |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
kolusu Site Admin
![Site Admin Site Admin](images/ranks/adminpic.jpg)
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
sriramkarumuri Beginner
Joined: 07 Feb 2006 Posts: 28 Topics: 7
|
Posted: Mon Sep 18, 2006 10:49 am Post subject: |
|
|
Kolusu,
Thanx for the information but i am looking some thing like this as follows
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
sriramkarumuri Beginner
Joined: 07 Feb 2006 Posts: 28 Topics: 7
|
Posted: Tue Sep 19, 2006 12:36 pm Post subject: |
|
|
Can anyone help me in getting this sort of values.
Main requirement is to send the identity of message through MQ from mainframes to some distributed platform. It was understood that distributed environment needs to convert the values. as it will be EBCIDIC format when it was sent from mainframe. instead if i send in ascii format this avoids the conversions on the other end. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Bill Dennis Advanced
![](images/avatars/gallery/cartoons/WB60.gif)
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Tue Sep 19, 2006 1:05 pm Post subject: |
|
|
MQ does the EBCDIC -> ASCII conversion automatically based on the receiving host, it's no big deal. _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
sriramkarumuri Beginner
Joined: 07 Feb 2006 Posts: 28 Topics: 7
|
Posted: Sat Sep 23, 2006 7:13 am Post subject: |
|
|
Ok denni,
But still i want to send the data from MF end in ASCII so that other end can also use the same ASCII identification.
Just let me know how to get character like |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Mervyn Moderator
![](images/avatars/gallery/members/merv.jpg)
Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
|
Posted: Mon Sep 25, 2006 4:00 pm Post subject: |
|
|
Sriram, Bill has advised you correctly. You don't need to perform the conversion; MQ will do it for you, with no errors.
Regards,
Mervyn _________________ The day you stop learning the dinosaur becomes extinct |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
sriramkarumuri Beginner
Joined: 07 Feb 2006 Posts: 28 Topics: 7
|
Posted: Wed Sep 27, 2006 12:10 pm Post subject: |
|
|
Mervyn,
I agree if it is message data. But what if a message identifier is given as RAM_TEST_FILE_FEED? Can the other end which is distributed platform identify and retrieve the messages on the same name "RAM_TEST_FILE_FEED"
Thanks
Sriram |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|
|