thanks Tom and Reeza, apologies... I did use the "&promptvar"dt the datetime variable is a sas datetime. so I was hoping the " " and dt would do the trick.. Is this case sensitive? Ok I tried all the suggestions. I think that using DT instead of D was the game changer. "&start_date_90"DT <+ t1.datvar thanks a lot! it is running !
... View more