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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 603 views
  • 1 like
  • 2 in conversation