Hi
Does anyone know the sourcecode for the function compged?
I will be utilizing this function in another system that doesn't support that sas function.
SAS does not usually share source code for its functions. What system do you want to use it in? There is probably a function available that will return the same result?
Yeah there are some clues, but I wish someone had a script doing the compged .
It is to be used in a decision engine.
Yes if anyone could point me in the right direction... I have spent days searching and I can't find anything.
So the lessons is don't use SAS functions when developing stuff??? or better, use python for every step.... 😞
No the lesson is that SAS put a lot of expertise in its 1000-odd functions and make a living by selling that expertise.
As you discover, this expertise is real and not always widely spread or available.
While FOSS is incredibly useful, not all good things in life come free.
> If there no one except sas fanboys here that can point to where the similar code is in python or r,
One tends to find people knowledgeable about SAS on SAS forums, and people knowledgeable about python on python forums.
>I will have to rewrite the setup to get rid of the sas stuff.
If your overriding priority is to have absolutely everything free, then yes.
You have a massive site if you pay that much. And if you do, you have access to all the compged goodness, and much more.
Just like if you lease a car, you can use all the features, but you don't buy the manufacturer's IP.
I am not even sure what the discussion is about actually.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.