This syntax is to demonstrate how the following autoscript works: Bold Total in SUMMARIZE table or insert Page Break.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
* this syntax is to test the autoscript.
* modify your autoscript.sbs file as described in
* "Bold Total in SUMMARIZE table or insert Page Break.SPS"
* save the script then run this syntax.
* Raynald Levesque 2004/02/03. 

GET FILE='c:\Program Files\SPSS\Employee data.sav'.
SUMMARIZE
  /TABLES=salary  BY jobcat
  /FORMAT=NOLIST TOTAL
  /TITLE='/bold/Using bold'
  /MISSING=VARIABLE
  /CELLS=COUNT SUM .

SUMMARIZE
  /TABLES=salary  BY jobcat
  /FORMAT=NOLIST TOTAL
  /TITLE='/break/Using break'
  /MISSING=VARIABLE
  /CELLS=COUNT SUM .

SUMMARIZE
  /TABLES=salary  BY jobcat
  /FORMAT=NOLIST TOTAL
  /TITLE='/break//bold/Using both'
  /MISSING=VARIABLE
  /CELLS=COUNT SUM .