Nov-01-2021, 06:29 AM
Hi Forum,
I have a very long Code script containing SAS Proc SQL. There's a lot of excess code that I don't need and I know that the individual scripts will begin with 'proc sql' and end with 'quit;'.
I've read up and tried a few things but can't get any useful results.
Can anyone give me an idea of a Python3 script that would output a list the individual scripts using a .txt file?
Thanks Peter
I have a very long Code script containing SAS Proc SQL. There's a lot of excess code that I don't need and I know that the individual scripts will begin with 'proc sql' and end with 'quit;'.
I've read up and tried a few things but can't get any useful results.
Can anyone give me an idea of a Python3 script that would output a list the individual scripts using a .txt file?
Thanks Peter