Calling the column values when column names are date macro variables

In SAS, I have a dataset which has 5 columns and 4 rows. The column names are date macro variables. I want to subtract the values in one column from another. (Date of column 4- date of column 3) doesn't work. This subtracts the date itself and not the values in those columns. How do I call the values of the columns. Please help.

Topic sas

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.