Hello,
I am trying to remove the variable labels and force them into specific positions ie "put intv @1" volume @12.etc..
proc print data=recpsum noobs;var sdate intv class object volume over mean max;format intv time8.0;format volume 8.0;format over 8.0;format mean 8.4;
format max 8.4;
Thanks,
Ian
@IanW wrote: I am trying to remove the variable labels and force them into specific positions ie "put intv @1" volume @12.etc..
Why don't you just use a DATA step instead of PROC PRINT? In a data step, you can use command like this placing specific text into specific columns.
View solution in original post
Thank You,
I just changed to code.
data stufft (keep=sdate intvvolume);file test1 noprint notitle;set recpsum;put @1 sdate yymmdd10.@14 intv time8.0@26 volume $3.;
This worked perfectly.
I am fairly new to SAS did not know we could print outputs though a data step.
Thanks again!
For additional fun check the documentation for "Report Writing Interface"
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Submit your idea!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.