Focal Point
[Solved] Select data with WHERE comparing date to today

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7991019003

September 29, 2008, 11:32 AM
Daren
[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.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
September 29, 2008, 03:47 PM
Daren
The&YYMD worked perfectly with my P9 format date.

Thanks Ginny!


Web Focus 7.6.5
JDE World