/* To edit this code, you will have to copy and paste it in a different programming window. */ /* You cannot edit until then or you will see an error. */ /* This is because I (connorman5280) own this file and you do not have editing priveldeges. */ /* Creating a new window allows you to save this in your filesystem (sasuser.v94).*/ /* You can start a new programming window by using the hotkey 'F4' */ /* You can also start a new programming window by clicking on the circle with 7 dots at the top right of your window. */ /* In the dropdown window, select the option 'new SAS program'. */ /* To save your new file, click the save icon in the upper left hand of this programming window. */ /* This code will download the screwy files to your sasuser directory from an AWS server */ /* This should fix issues related to not being able to access the data */ /* Change the username below to your username. */ %let username=connorman5280; options dlcreatedir; %Let Path="/home/&username./sasuser.v94/Screwy"; libname SCxDB &path; filename file "/home/&username./sasuser.v94/Screwy/customers.sas7bdat"; proc http method="get" out=file url="https://scx-static-assets.s3.amazonaws.com/SC4x/Screwy%20Data/customers.sas7bdat"; run; filename file "/home/&username./sasuser.v94/Screwy/orders.sas7bdat"; proc http method="get" out=file url="https://scx-static-assets.s3.amazonaws.com/SC4x/Screwy%20Data/orders.sas7bdat"; run; filename file "/home/&username./sasuser.v94/Screwy/parts.sas7bdat"; proc http method="get" out=file url="https://scx-static-assets.s3.amazonaws.com/SC4x/Screwy%20Data/parts.sas7bdat"; run; /* Proceed to part 2 now */