tags:

views:

472

answers:

4

Hi All,

Could anybody tell me why does the compiler gives me an error - "ERROR: Insufficient page size to print frequency table." while running proc freq in sas.

I am trying to run a very simple peice of code.

proc freq data = seaepi; 
   tables trt* sex/ out = temp; 
run;

I really appreciate your effort involved.

Thanks in advance.

> crossposted from SAS-L

A: 

If you have not tried, have a look at the options statement in SAS SAS Options Statement. There is a PageSize option which can be set.

Aussie Craig
+3  A: 

I have had this problem before. This literally means that you have too many columns or you columns are too wide to fit on the page and so it will not print. Try to reduce the font size or reduce the number columns to see if you still have the problem.

Sometimes the way you handle a problem like this depends on your output destination. It would be helpful to know if you are using ODS PDF, or HTML or are just writing to the output window.

JK
A: 

Run it with

option pagesize=max;

and see what that looks like. As mentioned already, the result will depend on what kind of output you are using. At least you can look at this output and see what it needs for a page.

MidasAU
A: 

Where would I go if I wonted to make my own frequency tables.. I have a project I am doing for 7th grade math. Anything would help! ..thanks for all the help & support.

katie
For SAS-specific help, go to www.runsubmit.com
Jay Stevens