bugPSPP - Bugs: bug #21578, recode too restrictive


bug #21578: recode too restrictive

Submitted by:  John Darrington <jmd>
Submitted on:  Wed 14 Nov 2007 12:19:45 AM UTC  
Category:  Syntax Parser Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 05 Oct 2008 10:47:02 AM UTC, comment #2: 

I checked this in.

John Darrington <jmd>
Project Administrator
Mon 29 Sep 2008 03:09:51 PM UTC, comment #1: 

This patch seems to fix this issue.

(file #16585)

John Darrington <jmd>
Project Administrator
Wed 14 Nov 2007 12:19:45 AM UTC, original submission:  

The following syntax is accepted by spss, but not by pspp.

DATA LIST LIST /name (a10) gender  (a8) age *.
anntoinette f 23
fred m 34
bert m 34
mary f 56

STRING sex (A38) .

RECODE gender (MISSING='hermaphrodite')  INTO  sex .
RECODE age (34=Copy)  INTO  foo .



It seems that pspp prohibits COPY for numeric variables and also prohibits MISSING for string variables.  But I don't see any reasons for these prohibitions.

John Darrington <jmd>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #16585:  recode.patch added by jmd (13KiB - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jmd (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-10-05 jmd StatusReady for Test/Review => Fixed
        Open/ClosedOpen => Closed
    2008-09-30 jmd StatusNone => Ready for Test/Review
    2008-09-29 jmd Attached File- => Added recode.patch, #16585

    Back to the top

    Powered by Savane 3.5