LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2012)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 7 Mar 2012 16:37:51 +0200
Reply-To:     Mark Webb <targetlinkmark@gmail.com>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Mark Webb <targetlinkmark@gmail.com>
Subject:      Re: Running  syntax [*.sps] from within another syntax file
              - how to              do?
Comments: To: Melissa Ives <mives@chestnut.org>
In-Reply-To:  <8BD7A79F2637AF47940A9DE8801BBED637CC8DA908@xr-exch01.chestnut.net>
Content-Type: multipart/alternative;

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 leave >PASW Statistics.

>Note # 236 >All outstanding macros have been terminated, all INSERT and INCLUDE processing >has been terminated, and all outstanding PRESERVE commands have been undone.

Mark Webb

Line +27 (21) 786 4379 Cell +27 (72) 199 1000 [Poor reception] Fax +27 (86) 260 1946

Skype tomarkwebb Email targetlinkmark@gmail.com

On 2012/03/07 04:13 PM, Melissa Ives wrote: > > Look at the Command Syntax Reference for INSERT (or the older INCLUDE > command) > > *From:*SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] *On > Behalf Of *Mark Webb > *Sent:* Wednesday, March 07, 2012 7:58 AM > *To:* SPSSX-L@LISTSERV.UGA.EDU > *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@gmail.com <mailto:targetlinkmark@gmail.com> > > ------------------------------------------------------------------------ > 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.


[text/html]


Back to: Top of message | Previous page | Main SPSSX-L page