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"
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Register now!
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.