在SAS中导入带有两个分隔符的文件

时间:2018-05-06 16:55:08

标签: import sas delimiter

我有一个带有两个分隔符空格和逗号的.scores文件。我需要导入sas而不能使用常规导入命令。格式如下

832783_9399 973299,03200 238003

谢谢!

1 个答案:

答案 0 :(得分:4)

you can use multiple delimiters in dlm as show below

05-06 22:59:17.313 2991-2991/com... E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com..., PID: 2991
    java.lang.IllegalArgumentException: Invalid data. Unsupported type: com....infrastructure.objects.random_article.RandomArticlesPair (found in field randomArticlesPair)
        at com.google.firebase.firestore.UserDataConverter$zza.zzb(SourceFile:232)
        at com.google.firebase.firestore.UserDataConverter.zzb(SourceFile:578)
        at com.google.firebase.firestore.UserDataConverter.zza(SourceFile:452)
        at com.google.firebase.firestore.UserDataConverter.zza(SourceFile:479)
        at com.google.firebase.firestore.UserDataConverter.zza(SourceFile:445)
        at com.google.firebase.firestore.UserDataConverter.parseMergeData(SourceFile:275)
        at com.google.firebase.firestore.DocumentReference.set(SourceFile:149)
        at com....multiplayer.races.RaceActivity_Sender$6.onDataChange(RaceActivity_Sender.java:199)
        at com.google.firebase.database.zzp.onDataChange(Unknown Source:7)
        at com.google.android.gms.internal.firebase_database.zzfc.zza(Unknown Source:13)
        at com.google.android.gms.internal.firebase_database.zzgx.zzdr(Unknown Source:2)
        at com.google.android.gms.internal.firebase_database.zzhd.run(Unknown Source:71)
        at android.os.Handler.handleCallback(Handler.java:790)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6494)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)