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 (August 2007)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 1 Aug 2007 09:57:15 +0200
Reply-To:     Marta Garcia-Granero <mgarciagranero@gmail.com>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Marta Garcia-Granero <mgarciagranero@gmail.com>
Subject:      Re: trouble with paths defined by macro
In-Reply-To:  <384CC55875925448AC730E7EFF69B9904CC572@nt208mxsep.corporate.hdwa.health.wa.gov.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Jonathon

I don't think FILE HANDLEs can be used that way.

Anyway, this should work:

FILE HANDLE eddc_data/NAME= '\\Nt342\ShaZSd$\Health Data Collections\Non '+ 'Admitted Data\SPSS BASE DATA SETS\EDDC\'.

FILE HANDLE TheFile/NAME='eddc_data\ED_BASE_25_JUL_2007_ALL.sav'.

GET FILE = 'TheFile'.

HTH, Marta Garcia-Granero

> is anyone able to clarify why my GET FILE command will not work? The > warning I get back is > > >> A macro symbol is invalid in this context. >> > > The syntax is > > FILE HANDLE eddc_data/NAME= '\\Nt342\ShaZSd$\Health Data Collections\Non > Admitted Data\SPSS BASE DATA SETS\EDDC\'. > > DEFINE !filename () "ED_BASE_25_JUL_2007_ALL" !ENDDEFINE. > > GET FILE = eddc_data + !filename.sav.


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