AFAIK There is no OOTB tool for this. As @VDD suggests PROC COMPARE of the deployed code can one way forward. Be aware that there are always several differences in the code between environments that will create some noise in you results, such as metadata id, timestamps, metadata server connection details and work table names that hasn't been modified.
Data never sleeps
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.