Merge files -string variables

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

Merge files -string variables

Alina Sheyman-3
Dear list,
 I'm merging two files - adding new variables. I'm fine when it comes to
numeric variables, but sting variables don't get populated in the merge.
Has anyone encountered this problem before/knows how to resolve it?

thank you,
Alina

=====================
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: Merge files -string variables

Richard Ristow
At 03:21 PM 5/20/2008, Alina Sheyman wrote:

>  I'm merging two files - adding new variables. I'm fine when it
> comes to numeric variables, but string variables don't get
> populated in the merge. Has anyone encountered this problem
> before/knows how to resolve it?

There's no known problem like this. People, including me, routinely
merge files with string variables.

Post the MATCH FILES command you're using. (If you're using Add
Variables from the menus, it'll generate and run a MATCH FILES;
that's the one we want.)

Alternatively, this will be useful, if it isn't too confusing:
. In the 'Add Variables' menu, at the end select 'Paste' instead of
'Ok'. That will put the command in a syntax window.
. Add subcommand "/MAP" to the resulting command, like this:

MATCH FILES /FILE=*
  /FILE='Greek'
  /BY Order
  /MAP.

. Run the command, by clicking on it in the syntax window and
selecting the broad right-pointing arrowhead on the menu bar.

. Post the output this produces.

-Best of luck,
  Richard

=====================
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