|
Hi
Try this:
Open SPSS
Open a new syntax window.
Enter the command
INCLUDE FILE='path of your syntax file\name of your syntax file'.
run that line.
Raynald Levesque rlevesque@videotron.ca
Visit my SPSS Pages http://pages.infinit.net/rlevesqu/index.htm
-----Original Message-----
From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU]On Behalf Of
Marks, Jim
Sent: Friday, October 12, 2001 12:08 AM
To: SPSSX-L@LISTSERV.UGA.EDU
Subject: Syntax file doesn't run commands
Is there a limit to the size of a syntax file? or to the number of commands
one syntax file can contain?
I have a very large syntax file (37kb) that is constantly growing. I use it
for standard data extraction (ODBC) with many transformations, aggregates
and merges.
It has started to behave oddly. When I highlighted a portion of the (newly
written) syntax to add variable labels and selected "run", the screen
flashed (as usual), but I receive a warning about a missing command
terminator. I searched the code (once by eye and once by "Find") for a stray
"." but I couldn't find one.
I copied the syntax to a new window, and it ran fine there.
Next I tried a GET DATA /TYPE=XLS syntax, which also did not run. (I was
able to use the GUI menus to import the file, however.) Other commands that
have worked in the past on other data files have stopped working.
There are no error messages or warnings, no entries in the spss.jnl file,
and no commands written to the output log.
Does anyone have an explanation for this?
Jim Marks
Market Analyst
LodgeNet Entertainment Corporation
605.988.1616
|