【SAS BASE】设置System Options的方法

设置系统options的方法

  • You can see a list of system options and their current values by opening the SAS system options window;
  • Using the OPTIONS Procedure:
1 PROC OPTIONS; 
2 RUN;
  • Opions statment:影响所有在其后后面的steps:
1 OPTIONS LINESIZE=80 NODATE;

     备注:一般格式为:Options    options_1(=value_1)  options_2(=value_2)....;

                                关键词              a list of options

常用options

  • Center/NOCenter、DATE/NODATE(日期)、Number/NoNumber(页码);
  • Linesize=n(控制每一行的最大长度,n从64到256不等);Pagesize=n(控制每一页的最大行数,n从15到32767不等);
  • Pageno=n(开始页的页码,默认为1
  • Rightmargin=n Leftmargin=n Topmargin=n Bottommargin=n
  • Yearcutoff=yyyy:指定在一百年内的最早年份,这样年份可以写两位数,如果年份是四位数的话,无影响;默认1920
  • Orientation=Portrait/landscape
原文地址:https://www.cnblogs.com/chenyn68/p/3864876.html