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;
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.
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
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 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.