I am using SPSS Statistics 17 and have the following question
The file I am operating on is called âAd0613759.as3' .
However, it could for example be called Ad0613888.as3'
I want to know how to select both the file and also identify that it is
an âas3â format in a menu select that allows me to choose the file as one
of several and then automatically transfers control to use the âas3â
reader format illustrated below, as opposed to say an âap4â format which
would be a different subroutine. Could both elements be presented as
arguments at the start and how could I code this?
GET DATA
/TYPE=TXT
/FILE='C:\Documents and Settings\spike\My Documents\BUSINESS\Replace
PCX\Develop SPSS '+
'system\0613840.as3'
/FIXCASE=1
/ARRANGEMENT=FIXED
/FIRSTCASE=1
/IMPORTCASE=ALL
/VARIABLES=
/1 Ad 0-6 F7.0
Resp 7-9 F3.0
S01 10-10 F1.0
S02 11-11 F1.0
S03 12-12 F1.0
A29 13-13 F1.0
A39 14-14 F1.0
A46 15-15 F1.0
X01 16-16 F1.0
X02 17-17 F1.0
X03 18-18 F1.0
A66 19-19 F1.0.
EXECUTE.
RECODE A29 A39 A46 X01 X02 X03 (7=SYSMIS) (8=SYSMIS) (9=SYSMIS).
EXECUTE.
CACHE.
DATASET NAME DataSet3 WINDOW=FRONT.
=====================
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