| Author |
Message |
MGIndaco
Moderator
Joined: 10 Mar 2005 Posts: 479 Location: Milan, Italy
|
|
|
|
Hi members... I've got a problem with a Rexx.
I'm trying to crypt a string and in a step of this function I do a conversion from hex to char.
Well, when i read the record in another step, and I put it in the stem, the record is converted to upper case.
The problem is that "s" (A2) is not equal to "S" (E2).
So my ask is: there's a way to avoid this problem?
Many thanks in advance. |
|
| Back to top |
|
 |
References
|
Posted: Thu Sep 15, 2005 1:50 am Post subject: Re: Avoid C2X convesion to upper |
 |
|
|
 |
MGIndaco
Moderator
Joined: 10 Mar 2005 Posts: 479 Location: Milan, Italy
|
|
|
|
Well I solved my problem only studing.
I realized that the problem occur when the data are placed in the Data Stack through PULL command but not when I use a Stem(I've not tested the QUEUE but now I know that work as a Stem).
Reading the manual I found that the difference, if I well understood, is that when we use PULL, data is moved in the Data Stack and, as default, all the value are changed to Upper Case but when you use a Stem data, instead to inserted in the Data Stack, data is moved in a list of variable without do anything to the line.
After a miticulous read of the PULL chapter in Rexx Manual I found that to avoid this traslation with this command(that somtime is fundamental) is sufficient use the PARSE PULL instruction.
I hope that this kind of solution will be useful also for you.
I hope too that my english will clear to the reader. |
|
| Back to top |
|
 |
|
|
|