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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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