John,
>
> >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?

>As specified, the second ("upper") bound is (1,6,CH,LE,C'SMYTHE'), so
>"do the comparisons":

>First character 'S' is less or equal to 'S', so it "qualifies;
>Second character 'M' is less or equal to 'M', so it "qualifies";
>Third character 'O' is less or equal to 'Y', so it "qualifies";
>Fourth character '9' is NOT less or equal to 'T', so the entire value
>c'SMO99Y' is "disqualified".

 Oops. What about SMO#$! where you want every character 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