06-27-2011 02:08 PM
This does not resolve to the intended name but remains as &custname. Can anyone help?
06-27-2011 03:24 PM
It would be nice to see the log to know more about your program.
You only have one double quote.
to force it to resolve.
06-27-2011 04:17 PM
Sorry, typing error on my part. I did have
The log show no errors.
393 %macro fmt;
395 value $mkt
398 %mend fmt;
NOTE: Format $MKT has been output.
Other placements of the quotes did not help either.
394 proc format;
06-27-2011 03:31 PM
We'd need to see what the &mkt macro variable does resolve to to help out.
If you're trying to create a format and have the data somewhere else consider using CNTLIN option instead of a macro variable. CNTLIN option allows you to create a format from a dataset.
06-27-2011 04:29 PM
Thanks for the cntlin idea. I hadn't thought of using it in this context. I want with the following:
proc format cntlin=Customer;