Common problems with the use of symput and symget is the timing of when things occur -- data step processing vs. macro processing.
I have found in my own experience with trying to use symget is that I mis-understood what a macro is and how it is meant to be used. Especially within the confines of a single data/run; block.
Perhaps if you could share a little more detail of what you are trying to do, we may be able to offer more/better help. A code sample would be good.
Perhaps what you are trying to do may be better served through a data conversion effected via a format? As an example, we have a "holiday." format that converts a date value into a 1 or 0, depending on whether the date is a holiday or not. This is accomplished by holiday = put(date,holiday.); if not holiday then do; ... that is, if not zero then do .... the holiday format has the explicit dates of our business's holidays for a few years in advance.
... View more