[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pspp-users Digest, Vol 154, Issue 1

From: mag
Subject: Re: Pspp-users Digest, Vol 154, Issue 1
Date: Sat, 2 Mar 2019 17:34:30 +0000 (UTC)

Your hunch is right.  Just re-write one line and it should work.


On Saturday, March 2, 2019, 9:05:04 AM PST, address@hidden <address@hidden> wrote:

Send Pspp-users mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pspp-users digest..."

Today's Topics:

  1. Simple Merge Revisited; Perplexed by seemingly "easy"
      program. (Greenbaum, Mark A.)


Message: 1
Date: Fri, 1 Mar 2019 19:45:03 +0000
From: "Greenbaum, Mark A." <address@hidden>
To: "address@hidden" <address@hidden>
Subject: Simple Merge Revisited; Perplexed by seemingly "easy"
Content-Type: text/plain; charset="utf-8"

This simple program is not working. Each is a PSPP data set with 30 observations, and there are no duplicate PatientIDs within each dataset.  The PatientIDs match one-to one between each dataset (each PatientID in Condition.Sav appears once in Score.sav).  Please note that line numbers below are for reference only and do not appear in the program.

I can open each data set individually; that is, if I run only lines 1 and 2, Condition.sav opens, and if I then open lines 3 and 4 dataset Score.sav opens.
HOWEVER, when I open Score.sav, Condition.sav no longer appears, apparently replaced by Score.sav.
When I run the entire program, the merge doesn?t work, and I just see Score.sav.  My hunch is that Condition.sav is being replaced by Score.sav and is no longer ?active? for the merge.  In fact, I get these two error messages:
1. error: An error occurred while opening `Condition.sav': No such file or directory.
2. C:\Users\Mynamw\Desktop\PSPP SYNTAX 1.sps.1: error: `Condition.sav' is not a system or portable file.

How do I fix this problem so that Condition.sav and Score.sav will merge?  Thank you very much!

  1.  GET  FILE= "C:\Users\Myname\Desktop\Condition.sav"
  2.  SORT CASES BY PatientID(A).

  1.  GET  FILE= "C:\Users\Myname\Desktop\Score.sav"
  2.  SORT CASES BY PatientID(A).

  1.  MATCH FILES FILE="Condition.sav"
  2.  /FILE="Score.sav"
  3.  /BY PatientID
  4.  /MAP.

SAVE OUTFILE="C:\Users\Myname\Desktop\merged data set.sav".

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>


Subject: Digest Footer

Pspp-users mailing list


End of Pspp-users Digest, Vol 154, Issue 1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]