Avoid Table to Truncate Characters

For questions regarding programming in the EViews programming language.

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

dieuler
Posts: 12
Joined: Thu Sep 15, 2016 12:36 pm

Avoid Table to Truncate Characters

Postby dieuler » Mon Dec 12, 2016 5:20 am

Hi,

I use a routine that reads a table from Excel and makes it a table in eViews with some expressions to become eviews series, but some of them are truncating the characters, so that eViews doesn't recognize the expression (it complains about the "unmatched parenthesis" because of the truncation). Is there a manner of avoiding eViews to truncate the expression when it gets the data from Excel?

Thank you in Advance!

EViews Steve
EViews Developer
Posts: 844
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: Avoid Table to Truncate Characters

Postby EViews Steve » Mon Dec 12, 2016 8:19 am

Are you using the import or importtbl command? Is the truncation happening during this first import?

Or maybe it would be better to provide details on how your routine is actually working...


Sent from my iPhone using Tapatalk

dieuler
Posts: 12
Joined: Thu Sep 15, 2016 12:36 pm

.

Postby dieuler » Mon Dec 12, 2016 9:25 am

.
Last edited by dieuler on Tue Dec 13, 2016 4:41 am, edited 2 times in total.

EViews Steve
EViews Developer
Posts: 844
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: Avoid Table to Truncate Characters

Postby EViews Steve » Mon Dec 12, 2016 10:13 am

Found it.

EViews has a limit of 1000 characters for an alpha series and your example above is cut-off exactly at 1000 characters. Because IMPORTTBL uses IMPORT internally, it is restricted by the same alpha series maximum character limit.

Perhaps you can use a shorter prefix name? (e.g. "p::" instead of "pnadc::")

Steve


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests