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
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.