Hi All, 
 
Could you please advise me with this query: 
 
SELECT FLD1, FLD2, FLD3, FLD4 
FROM MYFILE 
WHERE FLD6  = (SELECT SYSDATE FROM SYSPARM WHERE ENV= "PRD") 
 
The problem is FLD6 is decimal of 6 containing data like 160210 
and SYSDTAE is char of 8 containting date like 20100216. and I can not make the comparison...
 
 
 
Thanks in advance for your help
 
Dina   
 		 	   		  
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969
 
As an Amazon Associate we earn from qualifying purchases.
	
 
This mailing list archive is Copyright 1997-2025 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.