Thompson, Steve wrote:
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Lizette Koehler
Sent: Tuesday, June 12, 2007 1:06 PM
To: [email protected]
Subject: ISPF Panel Issue with HEX Data

Hi All,

We are z/OS V1.7.

I am trying to validate HEX data in an ISPF Panel.  I am working with
UCB strings.  So they are 4 digits long containing 0000 - FFFF.

I have a test in my panel
  IF (&SR01 > &ER01) then produce a message indicating beginning range
is greater than ending range. So if SR01 = 100F adn ER01 = 1000 I want the message produced. Else
if SR01 = 1000 and ER01 = 100F it is okay.
<SNIP>

I'm going to take a guess: your numbers may be getting extended so that
they are negative (a la LH into a register rather than ICM...) and so
your compares are tainted by that side effect (unwanted though it may
be).

Later,
Steve Thompson

I don't think so, since neither of the values have an '8' or
higher for their leftmost hex digit.


Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-393-8716
http://www.trainersfriend.com

  z/OS Application development made easier
    * Our classes include
       + How things work
       + Programming examples with realistic applications
       + Starter / skeleton code
       + Complete working programs
       + Useful utilities and subroutines
       + Tips and techniques

----------------------------------------------------------------------
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

Reply via email to