You could -infile- or -insheet- the data in smaller parts. Or have a look at -chunky- (type -findit chunky- in Stata).
Regards,
Even
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Muhammad Riaz
Sent: Friday, June 05, 2009 10:44 AM
To: [email protected]
Subject: Re: st: Help with Stata error code r(900);
Dear Kit Baum,
Thank you,yes I am using stata10/IC, I want to bring the whole database into Stata, the number of variables are above 3000. Stat/Transfer also fails to transfer this database into Stata. I was thinking if somebody knows anyway to work with stata10/IC because we have got a License for it.
Thank you anyway,
BW,
Muhammad Riaz
--- On Thu, 6/4/09, Kit Baum <[email protected]> wrote:
> From: Kit Baum <[email protected]>
> Subject: st: Help with Stata error code r(900);
> To: [email protected]
> Date: Thursday, June 4, 2009, 11:43 PM
> <>
> Muhammad said
>
> I have a dataset in SPSS, I transformed it into Stata
> format by saving as (Stata SE format) in SPSS. Now I want to
> open it in Stata10 but it gives the following error
> message.
>
> no room to add more variables
> An attempt was made to add a variable
> that would have resulted in
> more than 2048 or 2047 variables (Stata
> reserves one variable for
> its own use). You have the
> following alternatives:
> 1. Drop some variables; see help drop.
> 2. If you are using Stata/SE, increase
> maxvar; see help maxvar.
> r(900);
>
>
>
> You must be using Stata/IC, which has a limit of 2047
> variables. Does your dataset have more variables than that?
> If so, you can increase maxvar in Stata/SE or Stata/MP, but
> not in Stata/IC. One solution would be to save only some of
> the variables from SPSS. Another would be to use
> Stat/Transfer to create a dataset containing a subset of the
> variables.
>
>
> Kit Baum | Boston College
> Economics & DIW
> Berlin | http://ideas.repec.org/e/pba1.html
>
> An
> Introduction to Stata Programming
> | http://www.stata-press.com/books/isp.html
> An Introduction to Modern Econometrics
> Using Stata | http://www.stata-press.com/books/imeus.html
>
>
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/