System Variables

The system variables described below may be used only in expressions.

  • $CASENUM
    Case number of the case being processed. This changes as cases are added, deleted, and reordered.

  • $DATE
    Date the PSPP process was started, in format A9, following the pattern DD-MMM-YY.

  • $DATE11
    Date the PSPP process was started, in format A11, following the pattern DD-MMM-YYYY.

  • $JDATE
    Number of days between 15 Oct 1582 and the time the PSPP process was started.

  • $LENGTH
    Page length, in lines, in format F11.

  • $SYSMIS
    System missing value, in format F1.

  • $TIME
    Number of seconds between midnight 14 Oct 1582 and the time the active dataset was read, in format F20.

  • $WIDTH
    Page width, in characters, in format F3.