I think you are looking for the %include function.
You will need to save "Settings" as a standalone program on your server, for example, "/myserver/somefolder/settings.sas".
Then you can verify that it is running through:
...some code %include ('/myserver/somefolder/settings.sas'); ... more code
The program will work just as if you had copied the contents of "settings.sas" into the current program.
source share