I'm trying to run some old code for a batch tabulation. It is code that I've inherited and I wanted to rerun it to replicate the original results and then run it with a subset of the data (long story). It looks as though the code was originally created in version 4.1 - I was using version 6.3 but couldn't get it to compile - I then installed version 4.1 and got the same problem. The compilation error message I'm getting is "Invalid CrossTab parameter" - I've seen other posts referring to the system environment variable "OLD_TABS" but I've checked and don't have one of those. The section of code that is causing the problem is:
Code: Select all
crosstab float(0) txxx unweight runday+runmonth+runyear
exclude(specval, rowzero, colzero, totals, percents)
title( "Tables for chapter 2, Country 2011" );
it seems to fail at the "exclude" line - if I comment out this line it then moves onto the next "crosstab" command (there are loads of them!) where it again fails to compile at the next "exclude" line.
Can't attach the entire app I'm afraid as (1) it's pretty big and (2) it's not mine to circulate, but if anyone can point me in the right direction that would be much appreciated. I should mention I haven't used the tabulation application before so I feel like I'm flailing around in the deep end!