January 05, 2010, 02:45 PM
Mark1[CLOSED] formatting a BY field
Anybody know how to format on a BY field?
I tried this:
BY FIELD1/P12.2MB
It didn't like that. Thanks!
This message has been edited. Last edited by: Mark1, January 05, 2010, 03:03 PM
Dan SatchellCan't format a BY field. PRINT or SUM the field with the required format, then sort it with a NOPRINT.
TABLE FILE <fn>
PRINT FIELD1/P12.2MB
FIELD2
FIELD3
etc.
BY FIELD1 NOPRINT
END
January 05, 2010, 03:05 PM
Mark1Can you do it in a stylesheet?
January 05, 2010, 03:07 PM
GinnyJakesNo. Or COMPUTE it and do a BY TOTAL on the computed field.