全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SPSS论坛
2992 2
2013-01-03
老提示这个,求教大家该怎么办?

SORT CASES BY studentID (A).
MATCH FILES /FILE=*
  /FILE='C:\Users\20121025.sav'
  /RENAME (ITSC = d0)
  /BY SID
  /DROP= d0.

>Warning.  Command name: MATCH FILES
>SPSS Statistics system file "C:\Users\20121025.sav" is written in a character encoding (windows-1252)
>incompatible with the current LOCALE setting.  It may not be readable.
>Consider changing LOCALE or setting UNICODE on.  (DATA 1721)


Variable(s) incorrectly used in 'BY'

                                  ------Input1------                     ------Input2------
Result                            Type Variable name                     Type Variable name

SID                               s22  SID                               s2000SID

Codes:  num = numeric;  sn = string of length n

>Error # 5126
>The BY variable list is invalid.  All the variables on the list must exist on
>all the input files, and each variable must be of the same type (numeric, or
>strings of the same length) on all the input files.
>This command not executed.


Variable(s) with conflicting type:

                                  -------Input1-------                     -------Input2-------
Result                            Type   Variable name                     Type   Variable name

SID                               s22    SID                               s2000  SID

Codes:  num = numeric;  sn = string of length n

>Error # 5127
>Mismatched variable types on the input files.

>Note # 5145
>The working file has been restored, and subsequent commands may access the
>working file.
EXECUTE.
SORT CASES BY SID (D).



我已经把SID设为同样的数据类型,还是这样。
急~

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2013-1-3 20:32:33
好了,问题解决了,我脑残了。。。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-12-23 18:25:38
请问是如何解决的 同error5127
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群