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 (April 2001)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sat, 21 Apr 2001 07:38:50 +0100
Reply-To:   Davidl@sdresearch.com
Sender:   "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:   David Lindsay <spss@SDRESEARCH.COM>
Subject:   Re: Lib name type command?
Comments:   To: William Dudley <william.dudley@NURS.UTAH.EDU>
In-Reply-To:   <sae02995.089@nwgnameserver.nurs.utah.edu>

On 20 Apr 2001, at 12:20, William Dudley wrote:

> I am working iwth a large number of files which I get and save in various formats (so I have lots of get and save commands). I would like for my syntax to be as transportable as possible (so as to be used by co-workers who have differently named folders and diferntly named drives). Is there a way to define the path name at the top of the syntax like I can in SAS with lib name so I do not have to customize the path names for each user? > Hi Bill,

Try this:

*Firstly define !path.

DEFINE !path() 'f:\DATA\SPSS\nfoods\nf9043\' !ENDDEFINE.

*and use it like this.

SAVE OUTFILE=!path + 'hotprdm_comb.sav' /COMPRESSED . GET FILE =!path + 'hotprdm_comb.sav'. EXECUTE .

Regards,

-- David Lindsay Significantly Different! Research, Reading,Berks. GB Market Research Services & Consultancy mailto: davidL@SDResearch.com http://www.SDResearch.com/


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