Illegal panel structure is nested within the previous dim...

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

patrice
Posts: 18
Joined: Tue Oct 12, 2010 2:10 am

Illegal panel structure is nested within the previous dim...

Postby patrice » Wed Mar 07, 2012 3:10 am

I have this file dimple file:

Code: Select all

data_id value dim_2101 dim_2102 dim_2103 dim_2104 4 3 1972 512 78430 78439 5 4 1973 512 78430 78439 6 5 1974 512 78430 78439 7 6 1975 512 78430 78439 8 7 1976 512 78430 78439
When I execute this command:

Code: Select all

wfopen(type=text) "c:\Src.txt" delim=space @id dim_2101 dim_2102 dim_2103 dim_2104
I have this error message:

Code: Select all

'Illegal panel structure DIM_2104 is nested within the previous dimensions of the panel structure'
Any ideas ?
I want EViews to create an id like this 1972-512-78430-78439 (for the first line)
In fact, it works only if I specify only dim_2101 after @id, if I specify more than 1 dimension, I have this error message

The problem come from dim_2102, dim_2103 and dim_2104 wich contains a unique code for each dim (but If I concaten with dim_2101 it's unique and it should works !)

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13583
Joined: Tue Sep 16, 2008 5:38 pm

Re: Illegal panel structure is nested within the previous di

Postby EViews Gareth » Wed Mar 07, 2012 8:51 am

As the error message indicates, you cannot over-identify the observations in your workfile. There needs to be a one-to-one mapping between the ID series and the observations.

Perhaps what you could do is open the data as unstructured, then create a new ID series out of your existing ones, then once you have made the new ID series, re-structure the page by it.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests