It was a data type issue.  The system file had F6 and A11, whereas the DATA 
LIST had F7 and A12.  Tweaking the data fixed it and Match files worked just 
fine.  However, an improvement would involve incompatible data types being 
flagged as an error for the user to investigate rather than crashing the system.
Ron

From: Crichton, Ronald
Sent: Wednesday, 27 March 2013 12:11 PM
To: 'pspp-users@gnu.org'
Subject: match files problem

The following code failed (see below).  Does anyone know why?  A dialogue 
appears: Assertion failed!  File: src/language/data-io/combine-files.c, Line315

I placed a 'finish' after sort cases and it ran okay - presumably the data is 
fine.  I moved the 'finish' to after the code as you see it and it failed.  I 
had earlier run this code:

match files table = *
                /in=in80
                /file='C:\PSPP\spssNAT100.sys'
                /in=in100
                /by ClientID.
execute.

which worked okay.  So, I presume my syntax is good.  Any suggestions welcome.  
(The problem code follows)

Thanks,  Ron

DATA LIST FIXED
                FILE = 'C:\AVETMISSVal6_10\BradsData\nat00120.txt'
                /TrainingLoc 1-10 (A)
                ClientID 11-20 (A)
                ID 14-20
                ModuleID 21-32 (A)
                CourseID 33-42 (A)
                EnrolStartDt 43-50 (A)
                EnrolEndDt 51-58 (A)
                DelivierID 59-60 (A)
                OutcomeID 61-62 (A)
                ScheduledHrs 63-66 (A)
                FundingSourceNat 67-68 (A)
                Commencing 69-69 (A)
                TrainingContract 70-79 (A)
                ClientID_NewApprentices 80-89 (A)
                StudyReason 90-91 (A)
                VETinSchool 92-92 (A)
                X 93-93 (A).

sort cases by ID ModuleID.



match files file = *
                /in = inEr
                /table = 'C:\PSPP\NAT120_Error4010.sys'
                /in = in120
                /by ID ModuleID.

execute.




CIT is the ACT Large Training Provider of the Year.
Subscribe to CIT Industry Connection - CIT's free, bi monthly publication:
http://cit.edu.au/industry_business/industry_connection/

-----------------------------------------------------------------------
This email, and any attachments, may be confidential and also privileged. If 
you are not the intended recipient, please notify the sender and delete all 
copies of this transmission along with any attachments immediately. You should 
not copy or use it for any purpose, nor disclose its contents to any other 
person.
-----------------------------------------------------------------------
_______________________________________________
Pspp-users mailing list
Pspp-users@gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users

Reply via email to