Data Florida;
set work.projectdat;
if State_Province_Of_Loss= 'FL';
/*if Recordable='Yes';*/
run;
Hello, is anone else having issues with the new SAS stuff. I reuploaded my codebook and related files but for some reason my code isn't working like it did before. The if statement in particular. I can see the variable in the uploaded data but when I try to perform this action it doesn't work.
The first NOTE tells you that the variable is not present in the dataset. If you work with VALIDVARNAME=ANY, the import will keep the original name, which means you have to use a name literal:
'State/Province of Loss'n
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.