Is it possible to automize the setting of object aliases in Eviews databases in a .prg?
Assume I have two text objects in a workfile containing the database tickers and the associated aliases (a_tickers and a_aliases)
Code: Select all
'text a_tickers
'text a_aliases
!n_tickers=a_tickers.@linecount
for !k=1 to !n_tickers
%tickers=a_tickers.@line(!k)
%alias=a_aliases.@line(!k)
copy DB1::{%tickers} DB2::{%tickers}
'command to set alias name %alias for ticker k in the database DB2
next
Thank you in advance for your assistance.
Best regards
Rasmus
