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

Hi folks,

 

Is there a way to share a custom style across users who rsubmit their jobs to a Linux server?--that is, without them having to individually run PROC TEMPLATE in order to define the new style. I tried creating the new style while being signed in as a power user, but the regular users can't access it. Some of them are only infrequent SAS programmers, so we are trying to minimize the amount of set-up tinckering they have to do.

 

Thank you. I appreciate your input.

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ
Hi:
Assuming you have written the template to a location on the server, the challenge is that EVERYBODY will need to modify their ODS PATH statement to point to the new template store. So, for example you might have this when you create your template:
libname permtemp '/unx/subdir/subdir/Lev1/SASApp/templates/special';
ods path permtemp.special(update) sasuser.templat(update) sashelp.tmplmst(read);
when YOU create the template on the server. But then each person who wants to use that template will need to have this ODS PATH (or some form of this path) statement:
libname permtemp '/unx/subdir/subdir/Lev1/SASApp/templates/special';
ods path permtemp.special(read) sasuser.templat(read) sashelp.tmplmst(read);

or

libname permtemp '/unx/subdir/subdir/Lev1/SASApp/templates/special';
ods path (prepend) permtemp.special(read);

And, if your users have Enterprise Guide or you're using the BI Platform and Web Report Studio, then there are other things you need to do to have a custom style accessible in all the client applications. So this might be a simple question or it might be more complicated depending on your configuration. You might want to lay it all out for Tech Support (configuration/software/etc) and ask them for the best way to do what you want.

cynthia

View solution in original post

3 REPLIES 3
BrunoMueller
SAS Super FREQ

Hi

 

A style is stored in a SAS Library. You can tell ODS where to search for styles. see the ODS PATH statement.

Setting the path could be part of your autoexec file.

 

For Example:

* show current ODS search path;
ods path show;

*
* add a new location before the current path
* location can be written to
*;
ods path
  (prepend) lib.itemstore (update)
;

Bruno

Cynthia_sas
SAS Super FREQ
Hi:
Assuming you have written the template to a location on the server, the challenge is that EVERYBODY will need to modify their ODS PATH statement to point to the new template store. So, for example you might have this when you create your template:
libname permtemp '/unx/subdir/subdir/Lev1/SASApp/templates/special';
ods path permtemp.special(update) sasuser.templat(update) sashelp.tmplmst(read);
when YOU create the template on the server. But then each person who wants to use that template will need to have this ODS PATH (or some form of this path) statement:
libname permtemp '/unx/subdir/subdir/Lev1/SASApp/templates/special';
ods path permtemp.special(read) sasuser.templat(read) sashelp.tmplmst(read);

or

libname permtemp '/unx/subdir/subdir/Lev1/SASApp/templates/special';
ods path (prepend) permtemp.special(read);

And, if your users have Enterprise Guide or you're using the BI Platform and Web Report Studio, then there are other things you need to do to have a custom style accessible in all the client applications. So this might be a simple question or it might be more complicated depending on your configuration. You might want to lay it all out for Tech Support (configuration/software/etc) and ask them for the best way to do what you want.

cynthia
DeaT
Obsidian | Level 7

Thank you, Cyntia and Bruno,

 

Yes, some of them are using Enterprise Guide, others BI, etc. I will get in touch with the tech support and try to find an acceptable solution for everyone.

 

Thank you!

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1364 views
  • 2 likes
  • 3 in conversation