× 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'd like to know if this is as designed or not.

The file contains 5 records and the key is with 4 fields
and only the last one (tha date one) is null capable.

Start date: 01.12.2003, final 31.12.2003
Start date: 01.01.2004, final 31.05.2004
Start date: 01.06.2004, final 31.12.2004
Start date: 01.01.2005, final 31.05.2005
Start date: 01.01.2006, final Open (null)     

This piece of code is giving back 2 records (as expected):

fmulisti03lif   e           k disk
d k               ds                  likerec(listi:*key)
 /free
  k.licdtiplis = 'L';
  k.licdlistin = '01';
  k.licdserviz = 'BASE';
  k.lidtfinval = d'2005-01-01';
  setll %kds(k:4) mulisti03l;
  dow 1=1;                                               
   reade %kds(k:3) listi;                                
   if %eof;
   ........

This one goes to eof without reading a record:

fmulisti03lif   e           k disk   
 /free  
  setll ('L':'01':'BASE':d'2005-01-01') mulisti03l;
  dow 1=1; 
   reade ('L':'01':'BASE') listi;                  
   if %eof;
   .......

Compiled with: ALWNUL(*USRCTL)
V5R3 with latest PTF

Thanks
Marco


                
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com

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.