I'm doing something wrong trying to get my formats included: proc tabulate data=combined;
class imb_dlvry_zip_5 rule_nm;
var total percent;
tables rule_nm, sum=' ' * imb_dlvry_zip_5 * (total percent);
format total=comma12.0 percent=percent8.2;
run; MPRINT(LOOPY): proc tabulate data=combined;
NOTE: Line generated by the invoked macro "LOOPY".
5 class imb_dlvry_zip_5 rule_nm; var total percent; tables rule_nm, sum=' ' * imb_dlvry_zip_5 * (total percent); format
5 ! total=comma12.0 percent=percent8.2; run;
-
22
200
MPRINT(LOOPY): class imb_dlvry_zip_5 rule_nm;
MPRINT(LOOPY): var total percent;
MPRINT(LOOPY): tables rule_nm, sum=' ' * imb_dlvry_zip_5 * (total percent);
MPRINT(LOOPY): format total=comma12.0 percent=percent8.2 run;
ERROR 22-322: Syntax error, expecting one of the following: a name, a format name, ;, -, :, _ALL_, _CHARACTER_, _CHAR_,
_NUMERIC_.
ERROR 200-322: The symbol is not recognized and will be ignored.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE TABULATE used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.01 seconds
memory 608.70k
OS Memory 14728.00k
Timestamp 02/07/2017 01:10:43 PM
... View more