I need to concatenate a SAS date and number to match a concatenated field in excel.
Example;
In excel, my date is 01/31/2017 and the number I want to concatentate with it is 100. When I concatenate these 2 fields, I get 42766100.
How would I concatenate the same 2 values in SAS to return 42766100? The date is datetime in sas but I don't need the time part.
I have tried all the cat, catx, catq, cats functions to no success. I also tried adding 21916 to my date field but that didn't work either. I'm stuck. 😞
... View more