bugPSPP - Bugs: bug #21578, recode too restrictive

 
 

bug #21578: recode too restrictive

Submitter:  John Darrington <jmd>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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

I checked this in.

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

This patch seems to fix this issue.

(file #16585)

John Darrington <jmd>
Group 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 *.
BEGIN DATA.
anntoinette f 23
fred m 34
bert m 34
mary f 56
END DATA.

STRING sex (A38) .

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

EXECUTE .

LIST.

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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-02a9.
    Corresponding source code