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


  • Subject: Re: DoW (Was DoU...)
  • From: Jim Langston <jimlangston@xxxxxxxxxxxxxxxx>
  • Date: Mon, 11 Dec 2000 12:02:37 -0800
  • Organization: Pacer International

Works perfectly now.  Changed from %Found to %Eof, and added the
CCOHD_Key to the Reade lines (it worked without it for the first
one, but not for the second.  Took me a while to figure that one
out, a little Caveat).

Thanks again for all the aid.  Now I have a boilerplate for these
types of look ups.

Regards,

Jim Langston

 C                   Eval                    ContAlpha = Bd_RXEqID              
       
 C                   Eval                    ContNumber = Bd_RXEqNo +           
       
 C                                                        Bd_RXCChk             
       
                                                                                
       
 C                   Eval      FoundMatch = *Off                                
       
 C     CCOHD_Key     SetLL     OHdRc                                            
       
 C     CCOHD_Key     Reade     OHdRc                                            
       
 C                   DoW       Not %Eof(CCOHD04) And                            
       
 C                             Not FoundMatch                                   
       
                                                                                
       
  *                  *** Container matches, does the Biller's Referance Number? 
***    
 C                   If        %Trim(OHRefB) = %Trim(Bd_RXInv#)                 
       
 C                   Eval      FoundMatch = *On                                 
       
 C                   Else                                                       
       
 C     CCOHD_Key     Reade     OHdRc                                            
       
 C                   EndIf                                                      
       
                                                                                
       
 C                   EndDo
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.