CoDe SAS German

LesezeichenAbonnierenRSS-Feed abonnieren
krl
Calcite | Level 5 krl
Calcite | Level 5

Hallo,

 

ich möchte zwei transponierte Tabellen im pdf-Dokument aus SAS nebeneinander darstellen. Hat jemand eine Idee?

 

Vielen Dank!

1 ANTWORT 1
BrunoMueller
SAS Super FREQ

Mit ODS LAYOUT lässt sich das gut machen.

 

Hier ein Programmbeispiel:

 

ods pdf file="c:\temp\sample.pdf";

title "Overall Title";
footnote "Overall Footnote";

ods layout gridded columns=2;

ods region;
title "Region Title 1";
footnote "Region Footnote 1";
proc print data=sashelp.class;
  where sex = "F";
run;

ods region;
title "Region Title 2";
footnote "Region Footnote 2";
proc print data=sashelp.class;
  where sex = "M";
run;

ods layout end;
ods pdf close;

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

Diskussionsstatistiken
  • 1 Antwort
  • 1136 Aufrufe
  • 1 Kudo
  • 2 in Unterhaltung