ENCODING ERROR?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ENCODING ERROR?

DKUKEC
Dear Listers,

I am running desktop SPSS version 21 (Statistics, 64 bit) on Windows 7 and my colleague is running desktop SPSS 20 (Base) on Windows 7.  When we run the same syntax with the same TXT file she receives an INVALID ENCODING error - ENCODING is currently set to 'LOCALE'.  After reviewing the archives and Google, I thought I would ask the experts.  

See Syntax and Error Message Below.

Does anyone have a suggested solution to our issue?  

Thank you in advance.
Damir

==============================================
GET DATA  /TYPE=TXT
  /FILE="G:\DATA\Research & Planning\LAW ENFORCEMENT\Burglary Data - West Palm Beach\Burglary "+
    "Offenses_1.txt"
  /ENCODING='LOCALE'
  /FIXCASE=1
  /ARRANGEMENT=FIXED
  /FIRSTCASE=1
  /IMPORTCASE=ALL
  /VARIABLES=
  /1 CASE 0-11 A12
  YEAR 12-15 A4
  MONTH 16-17 A2
  DATE 18-19 A2
  TIME 20-25 A5
  ADD 26-120 A100 .

Error.  Command name: GET DATA
(2256) Invalid subcommand: ENCODING
Execution of this command stops.
CACHE.
EXECUTE.
Reply | Threaded
Open this post in threaded view
|

Re: ENCODING ERROR?

Rick Oliver-3
The error message is odd, but the ENCODING subcommand was introduced in release 21; so it will generate an error in release 20.

Rick Oliver
Senior Information Developer
IBM Business Analytics (SPSS)
E-mail: [hidden email]




From:        DKUKEC <[hidden email]>
To:        [hidden email],
Date:        01/17/2014 09:04 AM
Subject:        ENCODING ERROR?
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Dear Listers,

I am running desktop SPSS version 21 (Statistics, 64 bit) on Windows 7 and
my colleague is running desktop SPSS 20 (Base) on Windows 7.  When we run
the same syntax with the same TXT file she receives an INVALID ENCODING
error - ENCODING is currently set to 'LOCALE'.  After reviewing the archives
and Google, I thought I would ask the experts.

See Syntax and Error Message Below.

Does anyone have a suggested solution to our issue?

Thank you in advance.
Damir

==============================================
GET DATA  /TYPE=TXT
 /FILE="G:\DATA\Research & Planning\LAW ENFORCEMENT\Burglary Data - West
Palm Beach\Burglary "+
   "Offenses_1.txt"
 /ENCODING='LOCALE'
 /FIXCASE=1
 /ARRANGEMENT=FIXED
 /FIRSTCASE=1
 /IMPORTCASE=ALL
 /VARIABLES=
 /1 CASE 0-11 A12
 YEAR 12-15 A4
 MONTH 16-17 A2
 DATE 18-19 A2
 TIME 20-25 A5
 ADD 26-120 A100 .

Error.  Command name: GET DATA
(2256) Invalid subcommand: ENCODING
Execution of this command stops.
CACHE.
EXECUTE.




--
View this message in context:
http://spssx-discussion.1045642.n5.nabble.com/ENCODING-ERROR-tp5723964.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD


Reply | Threaded
Open this post in threaded view
|

Re: ENCODING ERROR?

DKUKEC
Thank you Rick,

We removed the subcommand and it now works fine.

Cheers,
Damir