SPSS System Variables

System variables track the current state of the interpretter.

The dollar sign ($) is a disallowed leading character for user-defined variables because this is reserved for system variables.


CaseNum

$CASENUM holds the current case's row number.

compute UniqueID = 10000000 + $casenum.


Time

$TIME holds the current date and time as the number of seconds from October 14, 1582, to the execution time of a command accessing it.


CategoryRicottone