| Date: | Tue, 21 Jan 2003 08:22:15 +0800 |
| Reply-To: | paul yeo <paulyeo11@yahoo.com.sg> |
| Sender: | "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU> |
| From: | paul yeo <paulyeo11@yahoo.com.sg> |
| Subject: | Re: Call Syntax/Script from a Syntax |
|
| In-Reply-To: | <JAEFJAPAEBFCDIHJIFKCAEMNCLAA.rlevesque@videotron.ca> |
| Content-Type: | text/plain; charset=iso-8859-1 |
wonderful suggestion.
paul
--- Raynald Levesque <rlevesque@videotron.ca> wrote:
> Hi
>
> Try
>
> INCLUDE FILE="c:\myfile\syntax1.sps".
> INCLUDE FILE="c:\myfile\syntax2.sps".
> INCLUDE FILE="c:\myfile\syntaxn.sps".
>
> Search INCLUDE in my web site for additionnal
> information.
>
> Regards
>
> 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
> paul yeo
> Sent: January 19, 2003 11:39 AM
> To: SPSSX-L@LISTSERV.UGA.EDU
> Subject: Re: Call Syntax/Script from a Syntax
>
>
> Hi raynald , in case if i have many syntax file for
> example syntax1.sps syntax2.sps .... syntaxn.sps.
>
> How can i call all the above syntax program using
> one
> syntax file ?
>
> Exmaple of syntax :-
>
> SYNATX "c:\myfile\syntax1.sps".
> SYNATX "c:\myfile\syntax2.sps".
> SYNATX "c:\myfile\syntaxn.sps".
>
> Above 3 line of syntax will save as syntax.sps , it
> does not work.
>
> in case i want to stop running syntax2.sps , i just
> place a * following by a dot , the syntax2.sps will
> not run.
>
> hope to hear from you.
>
>
>
> Regards
>
> Paul Yeo
>
>
> --- Raynald Levesque <rlevesque@videotron.ca>
> wrote:
> > Hi
> >
> > Try
> >
> > SCRIPT "c:\myfile\syntax2.sbs".
> >
> > HTH
> >
> > 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
> > Sanjeev Rana
> > Sent: January 17, 2003 8:16 AM
> > To: SPSSX-L@LISTSERV.UGA.EDU
> > Subject: Call Syntax/Script from a Syntax
> >
> >
> > Is it possible to call and run other syntax and
> > script files from a syntax
> > file? E.g. my primary syntax file would be
> > c:\myfile\syntax1.sps. I would
> > also have a series of other syntax and script
> files
> > in the same directory -
> > syntax2.sbs ...syntaxn.sbs, and script1.sbs ...
> > scriptn.sbs.
> >
> > I tried the line INCLUDE FILE =
> > "c:\myfile\syntax2.sbs" but recieved the
> > following error:
> >
> > >Error # 1 on line 3772. Command name: 'SCRIPT
> > >The first word in the line is not recognized as
> an
> > SPSS command.
> > >This command not executed.
> > >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.
> >
> >
> >
> > Thanks in advance,
> > Sanjeev
>
> __________________________________________________
> Do You Yahoo!?
> Get the latest travel deals in town!
> http://sg.travel.yahoo.com
__________________________________________________
Do You Yahoo!?
Get the latest travel deals in town!
http://sg.travel.yahoo.com
|