Date: Thu, 1 Mar 2001 19:24:22 -0500
Reply-To: Raynald Levesque <rlevesque@VIDEOTRON.CA>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Raynald Levesque <rlevesque@VIDEOTRON.CA>
Subject: Re: Production mode error question
Content-Type: text/plain; charset="us-ascii"
If you look at an *.spp file (a production file), you will see that the
syntax to be run by the production job is shown as part of an INCLUDE
Thus note #123 refers to an error in the syntax file.
Anytime an error occurs in an INCLUDE file processing of the include file
stops. As a result, the remaining of the job is most likely incorrect.
To avoid this error I would suggest the following approach:
COMPUTE testvar=(M1R25REC EQ 88).
/nbcases = SUM(testvar).
MATCH FILES /FILE=*
DO IF nb>0.
*Place your current syntax here.
* there will not be any error because there are at least one case.
*do whatever needs to be done when there are no cases.
Raynald Levesque email@example.com
From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU]On Behalf Of
Sent: Thursday, March 01, 2001 5:21 PM
Subject: Production mode error question
In production mode i run a file containing the following commands (among
1404 SELECT IF (M1R25REC EQ 88).
1405 FREQUENCIES M1R25AGE M1R25ONS.
I receive the following messages (my comments are in <>).
No cases were input to this procedure. Either there are none in the working
data file or all of them have been filtered out.
This command is not executed.
<This is true. This particular analysis could easily have no cases in it.
So no surprise. Now the surprise.>
>Note # 213
>Due to an error, INCLUDE file processing has been terminated. All
>transformations since the last procedure command have been discarded.
>Note # 236
>All outstanding macros have been terminated, all include processing has
>been terminated, and all outstanding PRESERVE commands have been undone.
<What is the error referred to? I assume the include file reference in
Note#213 refers to the fact that the syntax file is included in the the
production job file. Is the error the warning i received? I'm stumped. Oh,
yes i don't have any column 1 problems. The MXWARN parameter is at the
default value of 10.>
Thanks, Gene Maguin