Is performance the only issue you are trying to address here or are there other objectives?
Have you explored optimising your SAS installation settings as well? This can really give you great bang for buck. As an example, turning on SAS dataset compression by default may improve IO a lot, reduce disk usage, and hence reduce program run times without any coding changes at all.
I'd also be prepared to bet that only a small percentage of your programs are the really badly performing ones. If you haven't done so already, you need to do SAS log analysis to identify these. You may find that your code optimisation only needs to focus on say 10% of the worst performing programs - those that run for hours and chew up CPU, IO and memory. Only comprehensive SAS log analysis will identify these. AI code analysis wont identify these.
You might even find that by focussing on the worst of the worst, that a combination of manual and AI-generated improvements does the trick.
... View more