BookmarkSubscribeRSS Feed
thefelle
Calcite | Level 5

Hi,

I am an austrian medical student. At the moment I'm working on my final thesis about myocarditis. Additional to the results of the statistical analysis, I'd like to have a list with all values for each patient. So the pages should be grouped by the patient ID. When I create a new "Listing Report", the result are three long columns (PatID, Variable, Values) over many sides. On the left and the right of the columns, I could put more columns. Just to pack all the data on one ore two sides. But therefore it had to be possible to seperate the created table and order it how I'd like to.

I have uploaded the list report of the first patient. If you have any ideas, please help me. Thanks

Philipp

2 REPLIES 2
Cynthia_sas
Diamond | Level 26

If you did something like this (in code), you could directly create a PDF file with multiple columns of output. The ODS PDF destination supports COLUMNS=2 option, but the option has to go on the ODS PDF statement. Since you are using SAS Enterprise Guide, it is unclear to me whether you are creating the PDF file by clicking options in the Tools --> Options menu or whether you are using code. If you are using code, the code would look like this:

ODS PDF file='c:\temp\twocols.pdf' columns=2;

...your code ...

ODS PDF CLOSE;

  I do not believe that columns=2 is a choice from the task menus. And, when you add columns=2, the page breaking may not be what you want...because a column could start on one page and finish on the next and then a new column would start with a new group. It would still save space, but you might want to test it out first to see whether it is what you want.

cynthia

thefelle
Calcite | Level 5

Hi,

thanks for answering. I didn't use the code, I did it with a right mouse click on the listing report file -> export -> as pdf. So I would have to change the code of the listing report. I'll try. Thanks

Philipp

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1477 views
  • 0 likes
  • 2 in conversation