1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
DATA LIST LIST /x y.
BEGIN DATA
2 5
3 3
4 4
END DATA.
LIST.

COMPUTE nobreak=1.
AGGREGATE OUTFILE='c:\\temp\\temp.sav'
	/BREAK=nobreak
	/maxy=MAX(y).
MATCH FILES FILE=*
	/TABLE='c:\\temp\\temp.sav'
	/BY=nobreak.
COMPUTE z=x/maxy.
EXECUTE.