Is your value actually a numeric 20180827? Then it is not a date to SAS. Currently the largest valid number of days to treat as a date is around 6588970, about 14,000,000 less than your value.
If numeric then
input(put(today(),yymmddn8.),8.)
if character
put(today(),yymmddn8.)
... View more