SAS to SPSS

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

SAS to SPSS

Scott Roesch
Hi all:

When I open a SAS data file in SPSS the final digit in the participant
ID is left off (this is confirmed by looking at the participant IDs in
SAS). What ends up happening is that there are 2 duplicate cases in
SPSS. Do you know how to correct for this when opening a SAS folder in
SPSS? Thanks!

Scott

=====================
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: SAS to SPSS

Bruce Weaver
Administrator
Is the ID variable numeric or string?  Can you post the syntax you are using to open the SAS file?  If you are opening it manually, go through all the steps, but at the end click on PASTE rather than OPEN.  The syntax will be pasted into a syntax editor.

HTH.


Scott C. Roesch wrote
Hi all:

When I open a SAS data file in SPSS the final digit in the participant
ID is left off (this is confirmed by looking at the participant IDs in
SAS). What ends up happening is that there are 2 duplicate cases in
SPSS. Do you know how to correct for this when opening a SAS folder in
SPSS? Thanks!

Scott

=====================
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
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).