1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
* to define variables in an empty data file.
* Source SPSSNet no100001600.


NEW FILE. 
INPUT PROGRAM. 
NUMERIC v1 (f2) v2 (f2) v3 (f2). 
STRING str1 (a8). 
NUMERIC v4 (f3) v5 (f5). 
END FILE. 
END INPUT PROGRAM. 
EXECUTE. 



* Other method.

DATA LIST FREE /VAR1 to VAR100.
FORMATS VAR1 TO VAR100 (F1.0).
BEGIN DATA.
END DATA.
EXECUTE.