BookmarkSubscribeRSS Feed
mdoddala
Obsidian | Level 7
options nodate pagesize=20;
filename blo '/home/mdoddala0/blood.txt';
data blood;
infile blo;
input id gender $ bloodgrp $ age $ amount level rate;
proc print;
run;
2 REPLIES 2
Reeza
Super User

PageSize should not apply to PDF files only to the log and listing destinations. If you're using the newer versions of SAS you don't need to worry about these options as much. They're from the era where text files were very common even as final output files.

 

https://documentation.sas.com/?docsetId=lesysoptsref&docsetTarget=n02ek00ir5ihs8n1rewzb5obh1p7.htm&d...

 

The PAGESIZE= system option affects the following output:
  • the Output window for the ODS LISTING destination
  • the SAS log in batch and non-interactive modes
  • the ODS markup destinations when the PRINT option is used in the FILE statement in a DATA step (the FILE PRINT ODS statement is not affected by the PAGESIZE= system option)
  • procedures that produce characters that cannot be scaled, such as the PLOT procedure, the CALENDAR procedure, the TIMEPLOT procedure, the FORMS procedure, and the CHART procedure
     
mdoddala
Obsidian | Level 7

I felt that I was not doing something right when those options are not working properly but thanks for the suggestions:) @Reeza 

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
  • 468 views
  • 1 like
  • 2 in conversation