> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of John H Kington
> 
> 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.

    -jc-

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