The SAS Output Delivery System and reporting techniques

Listing safety table from dataset to report using PROC REPORT

Reply
Frequent Contributor
Posts: 148

Listing safety table from dataset to report using PROC REPORT

Hi all,

 

I have following Listing table that is based on safety data. Corresponding Listing should be issued. Could you please help write Proc Report for the listing.

 

Here below is the Listing required.

 

Table_2_2.jpg

Here below is the structure of my dataset and how it should be transformed in a Proc Report (my suggestions Robot Sad ).

 

Table_2.jpg

 

Thank you in advance!

Super User
Posts: 10,205

Re: Listing safety table from dataset to report using PROC REPORT

Posted in reply to DmytroYermak
use escape char.



proc report data=sashelp.class nowd;
column ('yyyyy(*ESC*)n xxxxx' name age) ('yyyyy(*ESC*)n xxxxx' weight height);
run;

Ask a Question
Discussion stats
  • 1 reply
  • 90 views
  • 0 likes
  • 2 in conversation