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



I wonder how it would work if you did this:

%SUBST(hours:1:1) = '1'

or this:

%SUBST(hours:1) = '11111111'

?


Kim Spears wrote:
Hi All,
I am trying to check some numbers in a data structure and am getting some strange results.
D hours DS D zHour1 1 0 INZ(1) D zHour2 1 0 INZ(1) D zHour3 1 0 INZ(1) D zHour4 1 0 INZ(1) D zHour5 1 0 INZ(1) D zHour6 1 0 INZ(1) D zHour7 1 0 INZ(1) D zHour8 1 0 INZ(1) C SELECT C WHEN %SUBST(hours:1) = '1'
C 'oneFound' dsply C WHEN %SUBST(hours:8) = '1'
C 'eightFound' dsply C ENDSL C EVAL *INLR = *ON The program finds the eighth element, but misses the first element. Any ideas?
------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG. Version: 8.0.100 / Virus Database: 270.3.0/1499 - Release Date: 6/12/2008 7:13 AM


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.