BookmarkSubscribeRSS Feed
sum_sand
Calcite | Level 5

SAS generates PDF report, but also showing this error:

"ERROR: Line size too small to place one of the non-ID columns to the right of the ID column(s)."

 

Any suggestions on what might cause such an error or how to solve. 

3 REPLIES 3
Ksharp
Super User

You could try ID + PAGE options:

 

ods pdf file='c:\temp\temp.pdf';
proc report data=sashelp.class nowd;
column name age sex weight height;
define name/id;
define weight/page;
run;
ods pdf close;
ballardw
Super User

Current SAS system settings for Linesize and Papersize are what?

The total of the defined lengths for the ID variables?

 

For best results any time you ask a question about an Error message you should include the log showing the submitted code along with all the messages from the step that throws the error. IF the code might in a macro then set option MPRINT before executing the macro to generate more details and so the error message is more likely to appear near the problem code.  Copy the log then on the forum open a text box using the </> icon above the message window and paste all the copied text. The text box helps preserves formatting of the log text and will visually separate the log from other commentary or response text typed.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 2251 views
  • 0 likes
  • 4 in conversation