Get and Run Syntax with Syntax

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Get and Run Syntax with Syntax

jason
I'm stuck with trying to figure out how to, from syntax, call up another
syntax file and run it, and then return to running the rest of the original
file.

I have a bunch of different report syntax files, with great differences
between them.  They all have a header in common, but that header gets
updated about once a week.  I would like to have it so that I no longer have
to update the header in 20 different syntax files, but instead just have a
master header file that gets called from any of my other report syntax files.

Any help or guidance would be appreciated!  Thanks! ~Jason

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Get and Run Syntax with Syntax

Rick Oliver-3
Put the header in a separate syntax file and use INSERT to reference that file in the other syntax files.


From: Jason <[hidden email]>
To: [hidden email]
Date: 08/27/2010 03:09 PM
Subject: Get and Run Syntax with Syntax
Sent by: "SPSSX(r) Discussion" <[hidden email]>





I'm stuck with trying to figure out how to, from syntax, call up another
syntax file and run it, and then return to running the rest of the original
file.

I have a bunch of different report syntax files, with great differences
between them.  They all have a header in common, but that header gets
updated about once a week.  I would like to have it so that I no longer have
to update the header in 20 different syntax files, but instead just have a
master header file that gets called from any of my other report syntax files.

Any help or guidance would be appreciated!  Thanks! ~Jason

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD