|
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.
|