when i apply this statement 'category = PUT(recipient,$desc.);' i get an error 484 format $desc was not found or could not be loaded
Inserting the 'option' statement below sorted out my problem. thank
'options fmtsearch=(varkvlei.formats, library.formats);'
Please post the SAS code you are using which should include your format for desc. also post the SAS log rather that a snippet statement of the error. Many times the issue is listed in the log prior to the error. are the formats declared?
This link to a question much like yours may assist you in solving the problem.
another solution
So your program is looking for the $DESC format and can't find it. A number of things to explore ...
Was the $DESC format ever created? In this program, or in another program?
Was the $DESC format ever saved? If so, where?
Does the program supply a value for the FMTSEARCH= option?
Any answers you can supply would be helpful.
Inserting the 'option' statement below sorted out my problem. thank
'options fmtsearch=(varkvlei.formats, library.formats);'
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.