BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ChrisNZ
Tourmaline | Level 20

One can define a new deployment folder like so

ChrisNZ_0-1646893202388.png

One can then see the newly created destination in the resource management list, but the path is not displayed anywhere.

ChrisNZ_1-1646893630008.png

How can see the paths for these custom deployment folders in the resource management list?

Bonus question: How to see where these path definitions are used?

Thanks for your help!

1 ACCEPTED SOLUTION

Accepted Solutions
gwootton
SAS Super FREQ
The default deployment directory for the DATA Step Batch Server is called "Batch Jobs" and points to <SASConfig>/Levn/<context>/SASEnvironment/SASJobs/Code.

You can view these and create new ones by right-clicking on the Schedule Manager plugin and selecting "Deployment Directories".

I have some code here that:
shows what directories are defined: https://github.com/greg-wootton/sas-programs/blob/main/Scheduling/get_deployment_directories.sas
creates new deployment directories in bulk: https://github.com/greg-wootton/sas-programs/blob/main/Scheduling/create_deploy_dirs.sas
gets a bunch of information about jobs and flows, including where a job is deployed: https://github.com/greg-wootton/sas-programs/blob/main/Scheduling/get_job_and_flow.sas
--
Greg Wootton | Principal Systems Technical Support Engineer

View solution in original post

4 REPLIES 4
AllanBowe
Barite | Level 11

does this macro give you what you need?  https://core.sasjs.io/mm__getdirectories_8sas.html 

/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
ChrisNZ
Tourmaline | Level 20

I'm always impressed by how well structured your files are Allan!

I'd prefer not to have to run a program each time I want a piece of information, but I'll keep this in mind.

 

 

gwootton
SAS Super FREQ
The default deployment directory for the DATA Step Batch Server is called "Batch Jobs" and points to <SASConfig>/Levn/<context>/SASEnvironment/SASJobs/Code.

You can view these and create new ones by right-clicking on the Schedule Manager plugin and selecting "Deployment Directories".

I have some code here that:
shows what directories are defined: https://github.com/greg-wootton/sas-programs/blob/main/Scheduling/get_deployment_directories.sas
creates new deployment directories in bulk: https://github.com/greg-wootton/sas-programs/blob/main/Scheduling/create_deploy_dirs.sas
gets a bunch of information about jobs and flows, including where a job is deployed: https://github.com/greg-wootton/sas-programs/blob/main/Scheduling/get_job_and_flow.sas
--
Greg Wootton | Principal Systems Technical Support Engineer
ChrisNZ
Tourmaline | Level 20

You can view these and create new ones by right-clicking on the Schedule Manager plugin and selecting "Deployment Directories".

Thank you @gwootton 

 

I should have seen this !

 

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 3217 views
  • 4 likes
  • 3 in conversation