1
 2
 3
 4
 5
 6
 7
 8
 9
10
GET
  FILE='C:\\Program Files\\SPSS\\World95.sav'.
MEANS
  TABLES=calories  BY region  BY religion
  /CELLS MEAN COUNT STDDEV  .
EXECUTE.
SCRIPT "c:\\temp\\ChangeFormatMeansReport.SBS" ("0").

*to have one decimal number you would use the line.
*SCRIPT "c:\\temp\\ChangeFormatMeansReport.SBS" ("1").