| Date: | Tue, 4 Jan 2000 12:09:24 -0500 |
| Reply-To: | Steve Laba <steve.laba@BMS.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Steve Laba <steve.laba@BMS.COM> |
| Organization: | Bristol-Myers Squibb Company |
| Subject: | Stacking Datasets |
| Content-Type: | text/plain; charset=us-ascii |
Hello all, maybe someone can help me with this.
I have four different datasets that will create a report that I
will
then Proc Print.
Here's the problem. I want to stack the datasets with a line of
dashes
so the totals are enclosed with the dashes.
DATA DASHES;
AMT1 = '------ ';
AMT2 = '------ ';
DATA REPORT1;
SET RPT1 TOT1 DASHES RPT2 TOT2 DASHES;
Since the AMT1 and AMT2 in the RPT1 and RPT2 are numberics
SAS will not let me mix char and numeric with the same field
names.
I know there is a waht to let SAS create the lines during print
via SUM but I
can't do it that way now. I'm in too deep.
I want it to look like this.
AMT1 AMT2
19.00 20.00
10.00 30.00
------ ------
29.00 50.00
------ ------
Thanks
Steve
|