Hi:
I must be missing something. I don't see a comma (,) in your TABLE statement and the only * I see is in what you say is the Column dimension. Do you have something nested in your Row dimension? Did you leave a comma out of your typing?
[pre]
** Your table statement;
TABLE /* Row Dimension */
Supplier_name ALL
AGIENG ALL <---- NO COMMA between ROW and COLUMN dimension
/* Column Dimension */
Sales* Max
Sales* ALL* Sum ;
[/pre]
compare your TABLE statement to my TABLE statement. I have a comma in my TABLE statement -- but I don't see one in your TABLE statement.
Even if you had nested variables in the row dimension: [pre]
table region*subsidiary,
sales*max sales*all*sum / RTS=50; [/pre]
The RTS specification would apply to the WHOLE area allocated to REGION*SUBSIDIARY. Or, alternately if you did have this TABLE statement
[pre]
TABLE /* Row Dimension */
Supplier_name ALL
AGIENG ALL ,
/* Column Dimension */
Sales* Max
Sales* ALL* Sum /RTS=50 ;
[/pre]
Then the RTS would apply to the ROW title area for BOTH SUPPLIER_NAME and AGIENG.
You cannot variably change the space allocated to SUPPLIER_NAME and make it different from the space allocated to AGIENG.
Take this table for an example. I have both REGION and PRODUCT in the row dimension.
[pre]
-----------------------------------------------
| | | Total Sales |
| | |---------------|
| | Total Sales | All |
| |---------------+---------------|
| | Max | Sum |
|-------------+---------------+---------------|
|Region | | |
|-------------| | |
|Asia | $149,013.00| $214,740.00|
|-------------+---------------+---------------|
|Canada | $700,513.00| $1,338,364.00|
|-------------+---------------+---------------|
|Pacific | $171,735.00| $514,315.00|
|-------------+---------------+---------------|
|All | $700,513.00| $2,067,419.00|
|-------------+---------------+---------------|
|Product | | |
|-------------| | |
|Boot | $286,497.00| $571,896.00|
|-------------+---------------+---------------|
|Slipper | $700,513.00| $1,495,523.00|
|-------------+---------------+---------------|
|All | $700,513.00| $2,067,419.00|
-----------------------------------------------
XXXXXXXXXXXXXXX@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[/pre]
The area indicated with XXXXX is the row title space area. The area with @@@@ is the "column area". This table was created by this program:
[pre]
ods listing;
options nocenter;
proc tabulate data=sashelp.shoes f=dollar15.2
formchar='|----|+|--- ';
where region in ('Asia', 'Canada', 'Pacific') and
product in ('Slipper', 'Boot');
class region product;
var sales;
table
/* Row */
region all
product all,
/* Col */
sales*max sales*all*sum / rts=15;
run;
[/pre]
If there is too much space between the row title space area and the column area, then either make the RTS value smaller or make the format for the column area smaller, or both.
If you are using ODS, then you could use CELLWIDTH to change the size of the cells, but again, you could not, in this example, make the area for Region a different "width" than the area for Product.
cynthia