[Solved] Select data with WHERE comparing date to today
I have a transaction file where the date is stored as YYMD, but the format is P9.
I need to select records with the WHERE statement and comparing it the the system variable that is the current date.This message has been edited. Last edited by: Daren,
Web Focus 7.6.5 JDE World
September 29, 2008, 11:40 AM
GinnyJakes
What kind of file is it?
If the ACTUAL is P9, can you make the FORMAT YYMD? If yes, that would solve your problem.
Also, system variable &YYMD is a numeric value that you can use in compares. Try it and see if it works.