Re: Count system missing columns

2015-12-22 Thread Ben Pfaff
On Wed, Dec 23, 2015 at 01:15:30AM +0100, John Darrington wrote: > On Mon, Dec 21, 2015 at 03:53:58PM -0800, Ben Pfaff wrote: > 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)

Re: Count system missing columns

2015-12-22 Thread John Darrington
On Mon, Dec 21, 2015 at 03:53:58PM -0800, Ben Pfaff wrote: 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

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