sassoftware / saspy

A Python interface module to the SAS System. It works with Linux, Windows, and Mainframe SAS as well as with SAS in Viya.
https://sassoftware.github.io/saspy
Other
373 stars 150 forks source link

saspy to unpack an EGP file #420

Closed neocsbee closed 2 years ago

neocsbee commented 2 years ago

Is there a way to extract all the sas files within an EGP project file using saspy?

tomweber-sas commented 2 years ago

SASPy doesn't have anything that knows about those files, and what's in them varies. But, this came up before and someone said they wrote a tool to help with it. Take a look at this issue, #202 and see if it helps at all. You can just extract the files, and the SAS code can be run w/ saspy. Or the tool may be helpful for running them; I hadn't really looked at it so I'm not sure what it does.

neocsbee commented 2 years ago

That is a helpful link. I am not looking to run an EGP file at all, just looking to extract them as separate sas files. Thanks for your reply. I will close this.