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



Hi Bryce,

Bryce Martin wrote:
Dow Running_Date < %date(End_Date:*ISO);
Running_Date is a date, and End_Date is a YYYYMMDD 8,0 zoned.
When Running_Date = 2009-10-17 and End_Date = 20091016 it entered the loop. How is this possible?

In an attempt to reproduce your problem, I wrote the following code. However, I could not reproduce the problem. It did not enter the loop for me.

D Running_Date s D
D End_Date s 8p 0
/free

Running_Date = d'2009-10-17';
End_Date = 20091016;

dow Running_Date < %date(End_Date:*ISO);
dsply 'inside loop';
leave;
enddo;

*inlr = *on;

/end-free

Can you tell me how to reproduce the problem? Or, is it possible that the dates aren't what you think they are? did you actually set a breakpoint right before the DOW and check the values?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.