按报告创建详细报告

时间:2015-11-29 11:20:36

标签: sas

我正在尝试按Proc报告创建详细报告。我写了这段代码:

ods pdf file = "D:\New folder (2)\Assignment\Case_Study_1\Detail_Report.pdf";                                                        

   proc report data =  Cs1.Detailed_Report headline;                                                                                    

   Title 'Olympic Pipeline (LONDON) - by Probability As of 17th November 2012';                                                         

   column Probability Account_Name Opportunity_Owner Last_Modified_Date Total_Media_Value Digital_Total_Media_Value Deal_Comments;      

   where Probability > 0;                                                                                                               

   define Probability/group Descending 'Probability';                                                                                   

   define Account_Name/across 'Client';                                                                                                 

   define Opportunity_Owner/across 'Champ';                                                                                             

   define Last_Modified_Date/across format = MMDDYY. 'Modified';                                                                        

   define Total_Media_Value/across format = dollar25. 'Tot_Budget';                                                                     

   define Digital_Total_Media_Value/across format = dollar25. 'Digital_Bugt';                                                           

   define Deal_Comments/across 'Deal_Comments' width = 150;                                                                             

   rbreak after / summarize ol ul;                                                                                                      

   run;                                                                                                                                 

   ods listing close;                                                                                                                   

   ods pdf close;        

运行此代码后,日志显示错误

  

Deal_Comments的宽度不在1到121之间。调整列   宽度。列标题对于列标题来说太小了。

请您建议解决此问题。提前谢谢。

1 个答案:

答案 0 :(得分:0)

您很可能打开了ODS LISTING目的地,并且错误与该目的地有关。您可以修改目标的ls选项,也可以将其关闭。

[...]
<div class="item item-text-wrap" ng-bind-html-unsafe="post.contenido"></div>
[...]