We are experiencing issues when exporting data from SPSS datasets to our database. The issue began when we updated to SPSS 27 (no issues in prior versions). We've tried executing old syntax files that worked fine in prior versions of SPSS, exporting via the drop-down menus, etc. We can upload the data via other software applications without issues.
As soon as the coding to export the data is executed, the Case Counter begins at 2,000,000,000,000+. It then ticks up very slowly from there. If we're updating a small dataset (ex. few hundred cases), it is eventually successful but is taking way too long to get there. When dealing with something larger (ex. 90,000 records), it can run for hours and still not complete.
Below is an example of old coding that ran fine until SPSS 27 (removed info from CONNECT string, due to confidentiality). Any ideas?
SAVE TRANSLATE /TYPE=ODBC
/BULKLOADING BATCHSIZE=10000 METHOD=BATCH
/CONNECT="DSN=;UID=;PWD=;NA=;DB="
/UNENCRYPTED
/MISSING=IGNORE
/SQL='CREATE TABLE [scp] ([DOC_NUMBER] int , [CITIZENSHIP] varchar (50), '+
'[LAST_NAME] varchar (40), [FIRST_NAME] varchar (25), [MIDDLE_NAME] '+
'varchar (25), [DOB] datetime )'
/REPLACE
/TABLE='SPSS_TEMP'
/KEEP=DOC_NUMBER, CITIZENSHIP, LAST_NAME, FIRST_NAME, MIDDLE_NAME, DOB
/SQL='INSERT INTO [scp] ([DOC_NUMBER], [CITIZENSHIP], [LAST_NAME], '+
'[FIRST_NAME], [MIDDLE_NAME], [DOB]) SELECT [DOC_NUMBER], [CITIZENSHIP], '+
'[LAST_NAME], [FIRST_NAME], [MIDDLE_NAME], [DOB] FROM SPSS_TEMP'
/SQL='DROP TABLE [SPSS_TEMP]'.
------------------------------
Brenda Hurless
------------------------------
#SPSSStatistics