ID Subcommand (VARSTOCASES command)

The ID subcommand creates a new variable that identifies the permanent case sequence number ($casenum) of the original row that was used to create the new rows. Use the ID subcommand when the original data file does not contain a variable that identifies cases.

  • One new variable is named on the ID subcommand. It must have a unique name.
  • The label for the new variable is optional and, if specified, must be enclosed in quotes.
  • The format of the new variable is F8.0.