i'm very new to SPSS so apologies if my question is stupid.
We have a database with over 8000 cases so far and i need to generate ID numbers for each case, so that we can anonymize our data.
I've been looking online on how to do this but all i could find was either:
- creating IDs for a blank dataset using "syntax and loop program" or
- if you already have an existing dataset you can create ID numbers for the already existing cases using "transform - compute - $casenum"
What i need though is to be able to create ID numbers for already existing cases AND for SPSS to create an ID number every time i create a new case keeping the already existing ones even if i insert a case.
Is this at all possible?
I'm stuck, any help would be appreciated.
Thanks very much.