×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




 
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


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.