Hello,
I am trying to put a format on a variable. When I do it it does not show an error or a warning but this is in my log. I am not sure where I set this format, but it does not seem to mess up my data at all or my results.
Thank you
Please do not post code, logs or data in pictures. Just copy/paste the log text into a window opened with the </> button.
Since you try to assign a custom format to your variable, you have to define/create that format first.
Please do not post code, logs or data in pictures. Just copy/paste the log text into a window opened with the </> button.
Since you try to assign a custom format to your variable, you have to define/create that format first.
Or if you created the format in a location other than the WORK.Formats catalog you need to set the system option FMTSEARCH to include the location in the search path.
Try adding this code to the beginning of your program:
OPTIONS FMTSEARCH = (Tabulations.Formats WORK LIBRARY)
NOFMTERR;
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.