Very strange. I don't know why, but it looks like you get this message for any function name that begins CONVERT. For example, CONVERT and CONVERTABC will give the same error.
The only workaround I know is to use a different name, such as TrueFalseConvert. Or add an underscore, as you suggest.
Very strange. I don't know why, but it looks like you get this message for any function name that begins CONVERT. For example, CONVERT and CONVERTABC will give the same error.
The only workaround I know is to use a different name, such as TrueFalseConvert. Or add an underscore, as you suggest.
Sounds like you hit upon a function name which is used in some other product - I cannot seem to find anything about that function name, though, so it may be some prototype stuff that has not yet come into production, and quite possibly never will.
In case anyone is concerned about the scope of this problem, it does not occur on the two most recent releases, namely SAS Viya and SAS 9.4M8. I was able to see the error in SAS 9.4M6, so it must have been fixed in M7 or M8.
@Rick_SAS wrote:
In case anyone is concerned about the scope of this problem, it does not occur on the two most recent releases, namely SAS Viya and SAS 9.4M8. I was able to see the error in SAS 9.4M6, so it must have been fixed in M7 or M8.
To add a lower limit for the release number: I did not get the error with SAS 9.4M5.
Maybe not relevant for your use case (a fortiori because your problem is already solved).
Just adding this for people searching the SAS Communities with "PROC FCMP" keywords.
Five Reasons to Swipe Right on PROC FCMP
https://communities.sas.com/t5/Upcoming-Events/Five-Reasons-to-Swipe-Right-on-PROC-FCMP/ev-p/878500
Cheers,
Koen
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.