Hi
thank you jimster but
-* start
-RUN
-SET &TYYMD = '20030803';
-RUN
-SET &NDATE = AYMD(&TYYMD,150,'I8');
-SET &NDATE2= AYMD(&TYYMD,149,'I8');
-SET &NDATE3= AYMD(&TYYMD,151,'I8');
-TYPE NDATE='&NDATE'
-TYPE NDATE2='&NDATE2'
-TYPE NDATE3='&NDATE3'
-* end
result----------------
NDATE='0'
NDATE2='20031230'
NDATE3='20040101'
----------------------
AYMD(indate,days,'I8')
any 'indate' and 'days' can not return '20031231'.
AYMD cannot return '20031231' in WF 4.3.5?
thanx again.