IBM Support

Running SPSS Statistics syntax on any platform displays "Error # 34"

Question & Answer


Question

Below is the syntax being executed by IBM SPSS Statistics and the following is the error message: PRESERVE. SET PRINTBACK OFF MPRINT OFF. INSERT FILE= /Applications/IBM/SPSS/Statistics/23/dhps/DHPS.sps . RESTORE. PRESERVE. SET PRINTBACK OFF MPRINT OFF. >Error # 34 in column 13. Text: >SPSS Statistics cannot access a file with the given file specification. The >file specification is either syntactically invalid, specifies an invalid >drive, specifies a protected directory, specifies a protected file, or >specifies a non-sharable file. >Execution of this command stops. Adding a "c:\\" or "c:\" or changing the "\" to "/" did not resolve this problem. Attempting to move the .sps file to the Mac HD drive and just putting the file name in the syntax command did not resolve this problem. It seems that IBM SPSS Statistics cannot locate the file.

[{"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Statistics Desktop","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Not Applicable","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 April 2020

UID

swg21883526