I'm trying to use OMS to run a bunch of regressions.
The error I'm getting is:
"OMSEND: File C:\Documents and Settings\easton\My Documents\immig_on_C\CurrCoeff00.sav. The destination file is in use and cannot be written."
I believe the OMS command that provokes the error is:
/IF COMMANDS = ['Regression']
SUBTYPES = ['Coefficients']
/DESTINATION FORMAT=SAV OUTFILE='C:\Documents and Settings\easton\My Documents\immig_on_C\CurrCoeff00.sav'.
*Select cases for current metro.
*Token represents each dummy variable identifying
BLS metropolitan areas.
SELECT IF ((!1=1) AND (MobHome=0)).
* Predict 2000 housing costs.
/Select OOccup EQ 0
/STATISTICS COEFF OUTS R ANOVA
/METHOD=ENTER Rm1 Rm2 Rm3 Rm5 Rm6 Rm7 Rm8 Rm9Plus DwAge
OneFamAtt Duplex Units LNoKITCH
NoPhone PartPlumb RIncElec RIncGas RIncWatr RIncFuel.
Earlier in the syntax file, I get the file in question and give it a name:
Get File='C:\Documents and Settings\easton\My Documents\immig_on_C\CurrCoeff00.sav'.
DATASET NAME CCoeff2000.
Should the "OMS save" refer to the dataset somehow, rather than the file?
Thanks for any help you can offer. I'm attaching the syntax file.
You do not have the required permissions to view the files attached to this post.