SAS中文论坛

标题: 转载:SAS程序员的十大技巧 [打印本页]

作者: shiyiming    时间: 2010-10-22 13:20
标题: 转载:SAS程序员的十大技巧
From crackman's blog


               
                <p style="text-indent: 2em">SUGI27(2002)有一篇被广泛引用的文章,就两页纸,Doug Zirbel的10 Things Experienced SAS&reg; Programmers Don&rsquo;t Know &ndash; But Should(&ldquo;SAS程序员不知道但必须知道的10件事&rdquo;),题目挺拉风,讲的是对有经验的SAS程序员的一次非正式调查,要他们列出SAS程序员需要的一些技巧。其实一共列出了22条,当然前10条是最重要的:</p>
<p style="text-indent: 2em">1. Macros&mdash;basic knowledge of macro language&mdash;&mdash;对SAS宏语言的基本了解。这里作者推荐的主打文档当然是SAS Manuals中的SAS Macro language,以及SAS Guide to Macro Processing,然后还有Little SAS Book和Carpenter's Complete Guide to the SAS Macro Language</p>
<p style="text-indent: 2em">2. Data Step&mdash;basic knowledge of data step&mdash;&mdash;对SAS数据步的基本了解,参见一篇SUGI21的文章,Thomas Miron的The Secret Lift of the Data Step</p>
<p style="text-indent: 2em">3. Data file manipulation&mdash;INFILE, UPDATE, SET intricacies etc &mdash;&mdash;数据文件操作语句,如infile、update、set等</p>
<p style="text-indent: 2em">4. ODS&mdash;&mdash;SAS输出传送系统(Output Delivery System)</p>
<p style="text-indent: 2em">5. Efficiency&mdash;&mdash;编程效率</p>
<p style="text-indent: 2em">6. Data Step Vector&mdash;How it works&mdash;&mdash;理解数据步的运行原理,参见2</p>
<p style="text-indent: 2em">7. Macros&mdash;Knowing how to write macros that write SAS programs&mdash;&mdash;如何写宏语句</p>
<p style="text-indent: 2em">8. System Development Life Cycle process&mdash;&mdash;这里讲软件开发流程了,作者甚至列出了Steve McConnell的代码大全(Code Complete),在程序员中流传甚广。</p>
<p style="text-indent: 2em">9. SAS Help&mdash;How to get it&mdash;&mdash;利用SAS的联机帮助文档</p>
<p style="text-indent: 2em">10. Proc Report&mdash;&mdash;程序步,设计报表</p>
<p style="text-indent: 2em">/*后附加*/</p>
<p style="text-indent: 2em">11. SQL Dictionary tables&mdash;basic of retrieving SAS metadata&mdash; 用SQL语句管理数据词典(原数据,metadata),可以参见Frank C. DiIorio 和Nancy J. Michal的Data about Data: An Introduction to Dictionary Tables</p>
<p style="text-indent: 2em">12. Proc Summary/Means&mdash;&mdash;程序步,汇总和均值</p>
<p style="text-indent: 2em">13. Debugging Techniques-DEBUG facility and other techniques&mdash;&mdash;程序调试</p>
<p style="text-indent: 2em">14. Proc SQL&mdash;&mdash;SQL语句</p>
<p style="text-indent: 2em">15. Structured programming concepts&mdash;&mdash;结构化编程</p>
<p style="text-indent: 2em">16. Proc Format&mdash;&mdash;格式输入语句</p>
<p style="text-indent: 2em">17. Relational Database Design&mdash;&mdash;数据库设计</p>
<p style="text-indent: 2em">18. Web technology&mdash;HTML, JavaScript, SAS IntrNet, ect&mdash;&mdash;网络技术,一些脚本语言</p>
<p style="text-indent: 2em">19. Your Operating System native (and other) languages&mdash;REXX, Unix scripts, VBScript, syncsort&mdash;&mdash;跟操作系统相关的一些脚本语句</p>
<p style="text-indent: 2em">20. Proc Transpose&mdash;&mdash;数据转置</p>
<p style="text-indent: 2em">21. Data step reports&mdash;&quot;Data _null_&quot; report writing</p>
<p style="text-indent: 2em">22. SCL&mdash;SCL Functions usable in e.g.,Base SAS data steps&mdash;&mdash;屏幕控制语句</p>
<br> <a href="http://hi.baidu.com/crack%5Fman/blog/item/a52dfbd7aca777d0a8ec9af0.html">阅读全文</a>
               
                <br/><b>类别:</b><a href="http://hi.baidu.com/crack%5Fman/blog/category/%D7%AA%D4%D8%CE%C4%D5%C2sas">转载文章sas</a>&nbsp;<a href="http://hi.baidu.com/crack%5Fman/blog/item/a52dfbd7aca777d0a8ec9af0.html#comment">查看评论</a>
作者: shiyiming    时间: 2010-10-31 00:23
标题: Re: 转载:SAS程序员的十大技巧
有点深奥,学习了 回帖感谢哈




欢迎光临 SAS中文论坛 (https://mysas.net/forum/) Powered by Discuz! X3.2