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 ParserSeverity: 5 - Average
Status: FixedAssigned to: None
Open/Closed: ClosedRelease: 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 *.
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>
Project Administrator

 

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

Attach File(s):
   
   
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
  • -unavailable- added by jmd (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 05 Oct 2008 10:47:02 AM UTCjmdStatusReady for Test/Review=>Fixed
      Open/ClosedOpen=>Closed
    Tue 30 Sep 2008 04:49:43 AM UTCjmdStatusNone=>Ready for Test/Review
    Mon 29 Sep 2008 03:09:51 PM UTCjmdAttached File-=>Added recode.patch, #16585

    Back to the top


    Powered by Savane 3.1-cleanup1