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 (July 2005)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 1 Jul 2005 09:33:52 -0500
Reply-To:   Vishal Dave <VishalDave@Affina.com>
Sender:   "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:   Vishal Dave <VishalDave@Affina.com>
Subject:   SPSS production facility
Content-Type:   text/plain; charset="US-ASCII"

Dear List,

We upgraded to SPSS 13.0 from SPSS 11.5 last month. The new version of SPSS production facility is giving me problem. I have been using a macro (user prompt) in this software for extracting more than one file with naming convention. Below is the sample code :

GET DATA /TYPE = TXT /FILE = 'C:\Data\ABC' + @mdy /FIXCASE = 1 /ARRANGEMENT = FIXED /FIRSTCASE = 1 /IMPORTCASE = ALL /VARIABLES = /1 V1 0-3 A4 V2 4-7 F4.0 V3 8-11 F4.2 V4 12-15 A4 V5 16-16 F1.0 V6 17-17 A1 V7 18-18 F1.0 . CACHE. EXECUTE.

The macro @mdy is for date (mmddyyyy) the file is running.

Now, after getting the new version it give me following error :

15 GET DATA /TYPE = TXT

>Error. Command name: GET DATA >(2256) Invalid subcommand: FILE >This command not executed.

>Note # 214. Command name: GET DATA >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 >SPSS.

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

Can anyone please suggest what I am doing wrong ?? Is there new set of rules I am supposed to follow in new version ??

Thanks in advance, Vishal.


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