IBM Support

Unable to import dataset in 3rd party program LISREL after data is exported

Troubleshooting


Problem

Using IBM SPSS Statistics 22, exporting the dataset into a text file format proceeds without any errors. When importing this dataset into LISREL, a 3rd Party program, an error is produced stating the data was in an unexpected format.

Symptom

Unable to successfully import the data produced by SPSS Statistics into LISREL.
Was able to import data exported by IBM SPSS Statistics 19 into LISREL without any errors.

Cause

Encoding method used to generate the exported dataset changed between versions.

Diagnosing The Problem

SPSS Statistics 19, by default, used the LOCALE Encoding method when saving dataset and syntax files. This changed by SPSS Statistics 22 as we are now using UNICODE Encoding method when saving dataset and syntax files.

Resolving The Problem

LISREL apparently has a problem with working with UNICODE encoded datasets. Workaround is to export the dataset in LOCALE Encoding method before importing into LISREL. Changing the encoding methods can be made in: Edit > Options > Language tab.


Look for the section "Character Encoding for Data and Syntax" and select the radio button for "Locale's writing system".

[{"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Statistics Desktop","Platform":[{"code":"PF033","label":"Windows"}],"Version":"22.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 April 2020

UID

swg21667438