The SAS Output Delivery System and reporting techniques

Style, how to store and access it, centrally...?

Reply
N/A
Posts: 0

Style, how to store and access it, centrally...?

Hi,
probably a stupid question, but I've been reading on and on in the OnlineDoc, and I can't figure out how to do it...

I face several challenges: we are a few users that would like to use the same customized style, hence we have to retrieve the style from a central/common drive (we do that already with our formats-catalog) - how do we set that up? As it is now, the styles are stored in our sasuser-profiles (I think), and thus only the user who created the style can access it...

On top of that we run our programs both on pc's and in a Unix server environment, is it at all possible to cross-communicate between these two environments?

Thank you in advance :-)
Jenny
Super Contributor
Posts: 260

Re: Style, how to store and access it, centrally...?

Hi Jenny.
To share your customized styles, you only have a few changes to do ; as you pinpoint, it works in the same fashion as formats, except that styles are saved into "item stores" whereas formats or macros are saved in catalogs.
1) LIBNAME comODS "network location" ;
2) ODS PATH comODS.templates (write) sashelp.tmplmst (read) ;
3) re-run once the Template procedures to store the styles they create in your new item store (called TEMPLATES and located on the network drive).

The 2nd part is the ODS equivalent to OPTION FMTSEARCH for formats, and to OPTION SASMSTORE or SASAUTOS for macros.

For the cross-environnement part of your question, I haven't got a clue. Sorry.

Regards.
Olivier
Super Contributor
Posts: 394

Re: Style, how to store and access it, centrally...?

> On top of that we run our programs both on pc's and
> in a Unix server environment, is it at all possible
> to cross-communicate between these two environments?

It's not possible to share a template store among different systems. Template stores don't have any kind of cross-environment data access support like data sets have. You'll have to build the template store for each system.
Ask a Question
Discussion stats
  • 2 replies
  • 118 views
  • 0 likes
  • 3 in conversation