* Identify Duplicate Cases.
SORT CASES BY 姓名(A) 公民身份号码(A).
MATCH FILES
/FILE=*
/BY 姓名
公民身份号码
/FIRST=PrimaryFirst
/LAST=PrimaryLast.
DO IF (PrimaryFirst).
COMPUTE
MatchSequence=1-PrimaryLast.
ELSE.
COMPUTE
MatchSequence=MatchSequence+1.
END IF.
LEAVE
MatchSequence.
FORMATS
MatchSequence (f7).
COMPUTE
InDupGrp=MatchSequence>0.
SORT CASES InDupGrp(D).
File #1
KEY: 刘×霞
152123××××2921×(注:姓名、身份证号经过处理,避免泄露私人信息)
Error # 5130
File out of order.
All the files in MATCH FILES must be in non-descending
order on the BY variables.
Use SORT CASES to sort the file.
This command not executed.
Error # 547
A program error has occurred: A procedure has called OBSERV after having
received an end of file indication.
A second pass of the data involves
calling OBPINI again.
Please note the circumstances under which this error
occurred, attempting to replicate it if possible, and then notify Technical
Support.
This is an error from which the application cannot recover.
The PASW Statistics run will terminate now.
这是什么原因呢?谢谢!