BookmarkSubscribeRSS Feed
den
Calcite | Level 5 den
Calcite | Level 5
Hi everyone,

I'm having some trouble with pagesize and linesize. I have being using proc template to create a table from a proc tabulate output. I have also used ods pdf file to write the table into a pdf document. The table is composed of 10 columns and 40 lines. If I specify pagesize=80 and linesize=82 everything fits nicely on two pages as I would expect. Specifying the page and line size within sas options over rides the default.

The issue I have is when I try running the code on a different machine. The page and line size which I have specified does not over ride the default and the output no longer fits on two pages but is spread out over 16 pages instead.

Any thoughts on how to fix this would be much appreciated.
2 REPLIES 2
Cynthia_sas
SAS Super FREQ

Hi:

  I am surprised that PAGESIZE and LINESIZE work with ODS PDF, since generally, those system options are LISTING only options. In the documentation, for PAGESIZE, for example:

http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000218916.htm

the description of destinations that will use PAGESIZE does not include ODS PDF unless you are using FILE PRINT - -which would not be the case with PROC TABULATE.

  So without seeing your code, or getting more details on the 2 machines/operating systems involved, it is hard to speculate on what the issue might be. You might want to work with Tech Support on this matter, as they can query you about the specifics of your 2 operating environments and they can look at your data and ALL your code and help you come to a resolution.

  To open a track with Tech Support, fill out the form at this link:

http://support.sas.com/ctx/supportform/createForm

cynthia

Ksharp
Super User

And system option leftmargin= topmargin= rightmargin= rightmargin=

would help you a little bit.

Ksharp

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 3966 views
  • 0 likes
  • 3 in conversation