Simply install the sasjs cli and execute the command above - switching "/source/folder" for your target (local) directory, and "myprogram.sas" for the full path to the (local) SAS program you'd like to generate.
Once you have compiled the program, you can run it in anywhere in SAS to deploy it - just set the `fsTarget` macro variable to your chosen target directory. All the subfolders will be created, along with exact copies of each file.
Marking this one as "no solution needed", as it's rather a solution in and of itself!
/Allan SAS Challenges - SASensei MacroCore library for app developers SAS networking events (BeLux, Germany, UK&I) Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.