John,

> John,
> >>
> >> >INCLUDE COND=(1,9,CH,GE,C'000000000',AND,1,9,CH,LE,C'999999999')
> >>
> >> That would allow '00x000001'.
> >
> >How so?  Any position in the field less than c'0' (x'F0') would cause
> >the entire field to evaluate less than c'000000000', thus failing the
GE
> >requirement; and any position in the field greater than c'9' (x'F9')
> >would cause the entire field to evaluate greater than c'999999999',
thus
> >failing the LE requirement.
>
> Once you hit a character that is greater than zero (F0) in any
position in the field, the remainder of
> the field can be anything including blanks or hex zeros for the first
test. Any character less than 9
> (F9) will satisfy the second part of the test.

>Visualize it with these parameters:

>INCLUDE COND=(1,6,CH,GE,C'SMITH ',AND,1,6,CH,LE,C'SMYTHE')
>
>Show how, e.g., c'SMILEY' in positions 1 through 6 would qualify for
>Inclusion in the output.

SMILEY would fail because every character is the same until you hit the L but 
what about SMO99Y where you wanted every position in the field to be alphabetic?

Regards,
John

NOTICE:  The information contained in this electronic mail transmission is 
intended by Convergys Corporation for the use of the named individual or entity 
to which it is directed and may contain information that is privileged or 
otherwise confidential.  If you have received this electronic mail transmission 
in error, please delete it from your system without copying or forwarding it, 
and notify the sender of the error by reply email or by telephone (collect), so 
that the sender's address records can be corrected.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to