× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Cool.

Thanks Richard :)

Terry

> -----Original Message-----
> From: Richard Casey [mailto:casey_r@xxxxxxxxxxxxxxxx] 
> Sent: Tuesday, March 25, 2003 12:59 PM
> To: COBOL Programming on the iSeries/AS400
> Subject: RE: Evaluate Statement
> 
> 
> Diane,
> 
> Try the following.
> 
> EVALUATE RS-SUMG ALSO RS-SUGW ALSO RS-FALLG ALSO RS-FALLW
>   WHEN ' ' ALSO ' ' ALSO ' ' ALSO 'X'  ADD 1 TO WS-PATTERN1
>   WHEN ' ' ALSO ' ' ALSO 'X' ALSO ' '  ADD 1 TO WS-PATTERN2
>   WHEN ' ' ALSO ' ' ALSO 'X' ALSO 'X'  ADD 1 TO WS-PATTERN3
>   WHEN ' ' ALSO 'X' ALSO ' ' ALSO ' '  ADD 1 TO WS-PATTERN4
> <repeat for rest of test cases>
> END-EVALUATE
> 
> Hope this helps!
> Richard Casey
> 
> 
                                <snip for bandwidth>

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.