Date: Wed, 7 Mar 2012 07:26:39 -0800
Reply-To: Bruce Weaver <email@example.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Bruce Weaver <firstname.lastname@example.org>
Subject: Re: Running syntax [*.sps] from within another syntax file - how
Content-Type: text/plain; charset=us-ascii
Does syntax file StandardiseFileFormats.sps work when you run it
interactively? If so, try changing SYNTAX=BATCH to SYNTAX = INTERACTIVE for
your INSERT FILE.
Mark Webb-5 wrote
> Thanks for this Melissa - when I try it I run into the following
> problems - any suggestions?
> I want to open file store1.sav and run the StandardiseFileFormats.sps
> syntax file.
> This syntax files run perfectly if the GUI is used. I start with no sav
> file open.
> My syntax
> Get File = 'C:\MyDocs\Chuck\GamePricing\store1.sav'.
> Insert file = 'C:\MyDocs\Chuck\GamePricing\StandardiseFileFormats.sps'
> SYNTAX=BATCH ERROR=STOP CD=YES ENCODING='UTF8'.
> Error report
> >Error # 4293 on line 13 in column 1024. Text: (End of Command)
> >The variable list is empty.
> >Execution of this command stops.
> >Error # 4390 on line 13 in column 1024. Text: (End of Command)
> >No format was specified where one was required.
> >Note # 214 on line 13. Command name: Formats
> >Due to an error, INSERT and INCLUDE file processing has been
> terminated and
> >the working file has been lost. You may either redefine your data or
> >PASW Statistics.
> >Note # 236
> >All outstanding macros have been terminated, all INSERT and INCLUDE
> >has been terminated, and all outstanding PRESERVE commands have been
> Mark Webb
> Line +27 (21) 786 4379
> Cell +27 (72) 199 1000 [Poor reception]
> Fax +27 (86) 260 1946
> Skype tomarkwebb
> Email targetlinkmark@
> On 2012/03/07 04:13 PM, Melissa Ives wrote:
>> Look at the Command Syntax Reference for INSERT (or the older INCLUDE
>> *From:*SPSSX(r) Discussion [mailto:SPSSX-L@.UGA] *On
>> Behalf Of *Mark Webb
>> *Sent:* Wednesday, March 07, 2012 7:58 AM
>> *To:* SPSSX-L@.UGA
>> *Subject:* [SPSSX-L] Running syntax [*.sps] from within another syntax
>> file - how to do?
>> I'm struggling to find a usable references to do this. Found a
>> reference to a program runsyntx. This looks awkward & I'm sure there
>> is an easier way.
>> All the references I get assume one opens the syntax file and follow
>> the GUI - Run syntax
>> Mark Webb
>> Line +27 (21) 786 4379
>> Cell +27 (72) 199 1000 [Poor reception]
>> Fax +27 (86) 260 1946
>> Skype tomarkwebb
>> Emailtargetlinkmark@ <mailto:targetlinkmark@>
>> PRIVILEGED AND CONFIDENTIAL INFORMATION
>> This transmittal and any attachments may contain PRIVILEGED AND
>> CONFIDENTIAL information and is intended only for the use of the
>> addressee. If you are not the designated recipient, or an employee
>> or agent authorized to deliver such transmittals to the designated
>> recipient, you are hereby notified that any dissemination,
>> copying or publication of this transmittal is strictly prohibited. If
>> you have received this transmittal in error, please notify us
>> immediately by replying to the sender and delete this copy from your
>> system. You may also call us at (309) 827-6026 for assistance.
"When all else fails, RTFM."
NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Running-syntax-sps-from-within-another-syntax-file-how-to-do-tp5544160p5544449.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
For a list of commands to manage subscriptions, send the command