Todd,
What is your intent with this comparison?
Do you want to compare two quoted character strings or do you want to
compare the numeric (hexadecimal) values?
If the latter, shouldn't you have coded either
offset1 = "0000E0"X;
offset2 = "0000E8"X;
Or
offset1 = x2d("0000E0");
offset2 = x2d("0000E8");
instead?
Regards,
Ulrich Krueger
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Todd Burch
Sent: Monday, March 10, 2008 10:12
To: [email protected]
Subject: Rexx bug?
Running z/OS 1.9.
Running this, I get a match.
/* rexx */
offset1 = "0000E0" ;
offset2 = "0000E8" ;
if (offset1 = offset2) then say "MATCH!" ;
else say "NO MATCH!"
What does it return on your system?
Thanks, Todd
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html