Re: Count system missing columns

2015-12-21 Thread Ben Pfaff
On Mon, Dec 21, 2015 at 04:42:24PM -0600, Alan Mead wrote: > On 12/21/2015 4:10 PM, Ben Pfaff wrote: > > I think that you just want: COUNT n=ALL(SYSMIS). > > Brilliant! But it doesn't wok. On my datafiles, I get a long list of > errors like: "V1 and V8 are not of the same type. All variables

Re: Count system missing columns

2015-12-21 Thread Alan Mead
On 12/21/2015 4:10 PM, Ben Pfaff wrote: > I think that you just want: COUNT n=ALL(SYSMIS). Brilliant! But it doesn't wok. On my datafiles, I get a long list of errors like: "V1 and V8 are not of the same type. All variables in this variable list must be of the same type. V8 will be omitted fr

Re: Count system missing columns

2015-12-21 Thread Ben Pfaff
On Mon, Dec 21, 2015 at 10:44:12AM -0600, Alan Mead wrote: > I have a number of datasets with slightly different columns and I'm > wondering if I can wrote generic code in PSPP to count the missing columns. > > For example, if I knew that the first and last column were, say, ID and > X100, then I

Count system missing columns

2015-12-21 Thread Alan Mead
I have a number of datasets with slightly different columns and I'm wondering if I can wrote generic code in PSPP to count the missing columns. For example, if I knew that the first and last column were, say, ID and X100, then I could count the missing this way: count miss = ID to X100 (MISSING).