DATA Step, Macro, Functions and more

SAS macros to report

Reply
Super Contributor
Posts: 371

SAS macros to report

Please, some one give some sas macro to analyse data:

 

> I want to have a report with data and graphs ( with the needs)

   Data 1 graph1 data2 graph2  ......datan  graphn

or  graph1  graph2  ......graphn

 

> an other means a sas macro to analyse data with many views.

 

 

 

 

Super Contributor
Posts: 265

Betreff: SAS macros to report

Can't see any question ... you should add the code you have, provide example data and desired output including format.

 

Why do you think, that sas-macro-code is required to solve the problem?

Super Contributor
Posts: 371

Betreff: SAS macros to report

For the moment, I need a reporting likes this :

 

table | graph

table| graph

table|graph

 

But it depends,

 

I can need

a reporting likes this

| T1  T2|

|G1  G2|

............

 

or

| T1 T2            Tn

| G1 G2           Gn|

 

 

or | sub-group of Ti .... ...........graph of sub-group of Ti|

 

 

  | sub-group of Tj .... ...........graph of sub-group of Tj| 

 

extra ...

 

Super User
Super User
Posts: 7,429

Re: SAS macros to report

Hi,

 

I agree with andreas_ids, you have not clarified your problem, nor provide any test data win the form of a datastep or what the output should look like.  At a guess you want to do something for several datasets with the same prefix, here is an example:

 

ods rtf file =....;

data _null_;

  do i=1 to 10;

    call execute(cats('proc print data=data',put(i,best.),'; run;'));  /* Report datax */

    call execute(cats('proc sgplot data=graph',put(i,best.),';....;run;'));  /* Produce graph */

  end;

run;

ods rtf close;

    

Super Contributor
Posts: 371

Re: SAS macros to report

[ Edited ]

Thank you for answer..

yes, your answer can reply to in party of my question..

you can see my answer to andreas_ids

Ask a Question
Discussion stats
  • 4 replies
  • 201 views
  • 0 likes
  • 3 in conversation