using the date(charfield) and current date and build in functions
you can find the nbr of days between 2 dates
if col1 char(8) and value would be YYYYMMDD
db2admin:/cygdrive/c/workdir: db2 select "col1,date(substr(col1,1,4)||'-'||substr(col1,5,2)||'-'||s
ubstr(col1,7,2)) - current date from tx"
COL1 2
-------- ----------
20060107 -2,