SAS: Enhanced Editor. Color Scheme Sharing

£可爱£侵袭症+ 提交于 2019-12-23 02:04:35

问题


I have a color scheme for enhanced editor in SAS 9.2.

How can i share this scheme with others?

Where does file of scheme be found?

Thanks!


回答1:


The editor coloring scheme is stored in SAS registries. You can export and import registry entries to share the scheme definitions.

There is a SASHELP and SASUSER (user defined) part of registry. I didn't try it, so I'm just guessing - based on whether you modified original color scheme or defined your own, it's stored in either SASHELP or SASUSER part. For that, you may need to use or not use USESASHELP option of PROC REGISTRY to export the definition. Here's how you do it.

proc registry export="C:\eeditor_scheme.sasxreg"
               startat="CORE\EDITOR\SCHEMES" usesashelp;
run;

proc registry import="C:\eeditor_scheme.sasxreg";
run;

Anyway, modifing the registry is a low-level intervention to the system, so I recommend you make a full backup of your registry before importing a registry file:

proc registry usesashelp export="C:\reg_backup_sashelp.sasxreg";
run;
proc registry export="C:\reg_backup_sasuser.sasxreg";
run;


来源:https://stackoverflow.com/questions/11629731/sas-enhanced-editor-color-scheme-sharing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!