ich habe eine Spss-Syntax für Windows-SpSS 11.5.2. zum Einlesen von Werten aus einer Textdatei, die gleichzeitig diese formatiert.
Code: Alles auswählen
GET DATA /TYPE = TXT
/FILE = 'bla.txt'
/DELCASE = LINE
/DELIMITERS = "|"
/ARRANGEMENT = DELIMITED
/FIRSTCASE = 2
/IMPORTCASE = ALL
/VARIABLES =
var1 F8
var2 DATETIME23.2
.
.
.
Das funktioniert. Nun brauche ich noch eine Angabe über eine Zeitdauer, die nun kein Datum enthält, sondern Stunden, Minuten und Sekunden. Im Spss stelle ich DATETIME8.0 ein. Im Skript bekomme ich da eine Fehlermeldung damit.
Code: Alles auswählen
>Error. Command name: GET DATA
>(2265) Nicht erkannte oder ungültige Variablendefinition.
>This command not executed.
>Error # 105. Command name: EXECUTE
>This command is not valid before a working file has been defined.
>This command not executed.
Hat jemand hier Ahnung davon und eine brauchbare Lösung oder Hinweis?