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



YPTDATE is one date field from YTRDF1 file, which is defined as 9 DECIMAL.
sorry for the confusion.

        -----Original Message----- 
        From: Muralidhar Narayana 
        Sent: Tue 8/17/2004 1:16 AM 
        To: midrange-l@xxxxxxxxxxxx 
        Cc: 
        Subject: Query doubt
        
        
         
        Hi,
         
        RUNQRY     QRY(YINDTRD) QRYFILE((ZLIB/YTRDF1)) 
        YPTDATE is one date field from YTRDF1 file, which is defined as 9 
char,the value for today will be  020040816
        ======
        if i call following I will get YDATE value...
        DCL        VAR(&YDATE) TYPE(*CHAR) LEN(8) 
        CALL       PGM(YRTVDATE) PARM('D' &YDATE '*YYMD' +  
                         'CW.HARR')   
        YDATE value for today will be 20040816
        ====

        Basically I need to implement the condition  YPTDATE < YDATE 
        in query YINDTRD. Is this possible for me to write this condition in 
query or I have to totally replace the query with openquery?pls kindly answer, 
Thanks  so much in adv...
        Murali



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.