From the Data Editor, select Data|Insert Case Numbers.
This will insert a column in the data file with values corresponding to the data line.
This is often a useful variable to filter data.