The CSR says this, but you might not be able to get that far. (The comment about MS Office doesn't reflect the availability of its 64-bit version, which MS used to recommend against.)
The CONNECT and SQL subcommands are both required, and SQL must be the last subcommand.
Example
GET DATA /TYPE=ODBC
/CONNECT=
'DSN=MS Access Database;DBQ=/examples/data/dm_demo.mdb;'+
'DriverId=25;FIL=MS Access;MaxBufferSize=2048;PageTimeout=5;'
/SQL = 'SELECT * FROM CombinedTable'.
Note: If you are running the Windows 64-bit version of IBM SPSS Statistics, you cannot read Excel,
Access, or dBASE database sources with GET DATA /TYPE=ODBC. The 32-bit ODBC drivers for these
products are not compatible. You can, however, read Excel files with GET DATA /TYPE=XLS.
CONNECT subcommand
The CONNECT subcommand identifies the database source. The recommended method for generating a
valid CONNECT specification is to initially use the Database Wizard and paste the resulting syntax to a
syntax window in the last step of the wizard. See the topic for more information.
• The entire connect string must be enclosed in quotation marks.
• For long connect strings, you can use multiple quoted strings on separate lines, using a plus sign (+) to
combine the quoted strings.
Connection Pooling
If you access the same database source multiple times in the same job, you can improve performance
with connection pooling. At the end of the quoted CONNECT string, add Pooling=true.
ENCRYPTED and UNENCRYPTED subcommands
UNENCRYPTED allows unencrypted passwords to be used in the CONNECT subcommand. The default is
ENCRYPTED.
#SPSSStatistics#Support#SupportMigration