The SAS Output Delivery System and reporting techniques

Sharing a custom style across users on a Linux server

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 9
Accepted Solution

Sharing a custom style across users on a Linux server

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.


Accepted Solutions
Solution
‎07-07-2016 10:46 AM
SAS Super FREQ
Posts: 8,820

Re: Sharing a custom style across users on a Linux server

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


All Replies
SAS Super FREQ
Posts: 706

Re: Sharing a custom style across users on a Linux server

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

Solution
‎07-07-2016 10:46 AM
SAS Super FREQ
Posts: 8,820

Re: Sharing a custom style across users on a Linux server

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
Occasional Contributor
Posts: 9

Re: Sharing a custom style across users on a Linux server

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!

☑ This topic is solved.

Need further help from the community? Please ask a new question.

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