Teradata SQL interface For Essbase
Hi,
Can anyone give me an idea on how exactly Teradata sql interface works while loading data in essbase cubes? Does it create any temporary storage while fetching the data from source system? How can we make the process faster other than using teradata parallel transporter and THREADSWRITE for essbase? And I think it's better to do the transformations in sql itself, rather than doing it in rule file.
Thanks in advance!
From what I understand EPM Fusion Edition 11.1.1 has optimized loading from Teradata I'm not sure, but it may take advantage of fast export. I believe it has to create a temporary table on Teradata(spool) to gather that data together to send to Essbase. I agree it is better to do the transformation in the SQL before getting it to Essbase, you have more flexibility to get things the way you want in SQL(more complex logic and transformations)
Similar Messages
-
SQL Interface for Oracle in Windows 64 bit
Hi there,
Is there anyone ever trying to upload data from oracle (relational sql) to the essbase on Windows 64 bit platform ? I've read the documentation about setting SQL Interface by using the ODBC Connection ( using DataDirect Library ), but it seems that I can not see the DataDirect lib in the ODBC Control Panel (64bit), but it is installed in the 32 bit ODBC (odbcad32.exe).
However when I try to add new connection using MERANT OEM 5.2 64-BIT Oracle ODBC driver (DataDirect lib), it raise error : "the setup routines for the MERANT OEM 5.2 64-BIT Oracle ODBC driver could not be loaded due to system error code 193"..
please advice any one.... thanksI got it to work!!!
The reg setting that is provided is for the wrong version of the dll. Notice the 5.1 and then you only have 5.2 directories.
The files in the reg are also wrong they are for the example below. arora21.dll (stated) vs arora22.dll (one's provided)
Some easy tweaks.
I modified the reg with the following and presto. It worked!! To make it better you can change the OEM 5.1 to OEM 5.2.. Good luck
echo off
IF DEFINED HYPERION_HOME (
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol"
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v APILevel /t REG_SZ /d 1
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v ConnectFunctions /t REG_SZ /d YYY
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v CPTimeout /t REG_SZ /d 60
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v Driver /t REG_SZ /d %HYPERION_HOME%\Common\ODBC-AMD64\Merant\5.2\Drivers\arora22.dll
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v DriverODBCVer /t REG_SZ /d 3.52
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v FileUsage /t REG_SZ /d 0
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v HelpRootDirectory /t REG_SZ /d %HYPERION_HOME%\Common\ODBC-AMD64\Merant\5.2\help
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v Setup /t REG_SZ /d %HYPERION_HOME%\Common\ODBC-AMD64\Merant\5.2\Drivers\arora22.dll
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v SQLLevel /t REG_SZ /d 1
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v UsageCount /t REG_SZ /d 1
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers" /v "MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /t REG_SZ /d Installed
) ELSE (
echo "Environment variable HYPERION_HOME must be first defined to run script."
Edited by: user652102 on Aug 23, 2008 11:37 AM -
Error when tried to execute ODI interface for Essbase
Hi,
I am trying to load metadata from a file to Essbase. Bur when i am trying to execute the interface, i am getting an error. It reads as follows
Cannot start execution
The sourcedatatype is null for the column : ParentName and the technology: Hyperion essbase.Hi John,
I have gone ahead and deleted the Hyperion essbase technology and imported it similar to Hyperion Planning. Now i am able to see only 3 datatypes. Date, String and Numeric.
I have setup all the connections and created the interface also.
But when i executed it i got the following error
org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last):
File "<string>", line 35, in ?
AttributeError: class 'com.hyperion.odi.common.ODIConstants' has no attribute 'READER_TYPE'
at org.apache.bsf.engines.jython.JythonEngine.exec(Unknown Source)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Thread.java:595)
What is the mistake i have done. Please let me know -
Problem with the SQL Data Source (Essbase server in Unix Env)
I too have the same problem.
I have setup the Datasource for an Oracle db in the Essbase Server (which is on a Unix Box) using the Oracle Wire Protocol.I tested the ODBC connection in the Server and it connect with the credentials.
But if i choose the same DSN in the EAS and try to connect i get the below error
Error: 1021001 Failed to Establish Connection With SQL Database Server.
I even downloaded a document from the Oracle site.. on the SQL interface in Essbase but i could not find the inst-sql.sh file to enable Essbase SQL Interface on the server. Is this required??
I tried with both the User & System DSN on the server but no luck.
Any help on this will be highly appreciated. Thanks in advance.
Posting in a new thread since the old one is answered and no points available to score.It can depend on the version, it is different for version 11, further information :- How to define a relational data source in (odbc.ini) V11 Essbase?
Cheers
John
http://john-goodwin.blogspot.com/ -
Dynamic Dimesion Building using SQL Interface
I am attempting to use SQL Interface in Essbase 6.5 to dynamically build the account dimension from a PeopleSoft tree. The view works fine in SQL worksheet, but the last UNION statement does not work using the SQL interface. Here is the SQL that is generated: [SELECT * FROM ps_n_pre_acc_vw WHERE 1 = 1 order by 6,4,5,3] is generated. Here is the view:SELECT B.TREE_NODE AS PARENT , A.TREE_NODE AS CHILD , (A.TREE_NODE||' : '||C.DESCR) , b.tree_node_num AS num , a.tree_node_num AS c_tree_node_num , 'A' AS ord FROM SYSADM.PSTREENODE A , SYSADM.PSTREENODE B , SYSADM.PS_TREE_NODE_TBL C WHERE A.TREE_NAME = 'PRE_CUBE' AND A.SETID = 'NW' AND A.EFFDT = ( SELECT MAX(EFFDT) FROM PSTREELEAF WHERE TREE_NAME = 'PRE_CUBE') AND A.TREE_NAME = B.TREE_NAME AND A.SETID = B.SETID AND A.EFFDT = B.EFFDT AND A.PARENT_NODE_NUM = B.TREE_NODE_NUM AND A.TREE_NODE = C.TREE_NODE AND A.SETID = C.SETID AND C.EFF_STATUS = 'A' AND C.EFFDT = ( SELECT MAX(EFFDT) FROM SYSADM.PS_TREE_NODE_TBL X WHERE C.TREE_NODE = X.TREE_NODE AND C.SETID = X.SETID) UNION SELECT B.TREE_NODE AS PARENT , (A.RANGE_FROM||' : '||DESCR) AS child , A.RANGE_FROM , b.tree_node_num AS num , a.tree_node_num AS c_tree_node_num , 'B' AS ord FROM SYSADM.PSTREELEAF A , SYSADM.PSTREENODE B , SYSADM.PS_GL_ACCOUNT_TBL C WHERE A.TREE_NAME = 'PRE_CUBE' AND A.SETID = 'NW' AND A.EFFDT = ( SELECT MAX(EFFDT) FROM PSTREELEAF WHERE TREE_NAME = 'PRE_CUBE') AND A.TREE_NAME = B.TREE_NAME AND A.EFFDT = B.EFFDT AND A.SETID = B.SETID AND A.TREE_NODE_NUM = B.TREE_NODE_NUM AND C.SETID = A.SETID AND A.RANGE_FROM = C.ACCOUNT AND C.EFFDT = ( SELECT MAX(EFFDT) FROM SYSADM.PS_GL_ACCOUNT_TBL X WHERE C.ACCOUNT = X.ACCOUNT AND c.setid = x.setid) UNION SELECT B.TREE_NODE AS PARENT , (D.ACCOUNT||' : '||DESCR) AS child , D.ACCOUNT , b.tree_node_num AS num , a.tree_node_num AS c_tree_node_num , 'B' AS ord FROM pstreeleaf a , pstreenode b , PS_GL_ACCOUNT_TBL D WHERE a.tree_name = 'PRE_CUBE' AND a.effdt = '01-JAN-2001' AND A.SETID = 'NW' AND A.RANGE_FROM <> A.RANGE_TO AND A.TREE_NAME = B.TREE_NAME AND A.SETID = B.SETID AND A.EFFDT = B.EFFDT AND A.TREE_NODE_NUM = B.TREE_NODE_NUM AND D.ACCOUNT BETWEEN A.RANGE_FROM AND A.RANGE_TO AND D.SETID = 'NW' AND D.EFFDT = ( SELECT MAX(EFFDT) FROM PS_GL_ACCOUNT_TBL X WHERE D.ACCOUNT = X.ACCOUNT AND D.SETID = X.SETID)I created a view from the last union section of the SQL and Essbase returns a zero rows found error, although when I ran the view in SQL worksheet I was able to get rows returned. Any ideas on why the view does not return the expected results in Essbase?
before your query do:
<cfsavecontent
variable="emailmessagebody"><cfinclude
template="#mancbPath#/mancb_body.cfm"></cfsavecontent>
then in your query instead of using '<cfinclude ...>'
use
'#emailmessagebody#'
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/ -
Sybase iq data source for essbase
Hi,
We're trying to build cube from sybase IQ. Since I cannot find a specific SYBASE IQ driver, i used the sybase driver (ARase22.so) to create a SYBASE IQ data source in the odbc.ini file.
Below is the error message I got when tried to do a query using the above data source from a rules file: ODBC Layer Error: [57] ==> [[DataDirect][ODBC 20101 driver][20101]SQL Anywhere Error -143: Column '@@maxpagesize' not found].
Our system info: Essbase 931 on linux, Sybase IQ 15.1
Can anyone please advise.
thanks
YWI remember having used Sybase(as a SQL source) for Essbase in UNIX, few years ago.
Not sure if it's any different from Sybase IQ you are referring to? Are you stuck up some where?
- Natesh -
Problems getting ODBC SQL Interface to work for Essbase 11.1.1.3
Hi folks.
We're running Essbase 11.1.1.3 on Linux (32 bit) and I want to use the ODBC SQL Interface to load fact data.
We have run the SQL Interface install .sh script successfully, then restarted the Essbase agent, and have modified the ODBC.ini file to use the Oracle Wire Protocol driver.
I enter the SQL query in the rule Data Prep Editor in EAS (File | Open SQL) and when I hit "OK/Retrieve" I get the error "Failed to Establish Connection with SQL Database Server."
The application log file says:
ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC Oracle Wire Protocol driver]TNS-12154: TNS:could not resolve the connect identifier specified]
[Wed Oct 6 15:31:26 2010]Local/appx/Plan1/username/Info(1021014)
ODBC Layer Error: Native Error code [0]
[Wed Oct 6 15:31:26 2010]Local/appx/Plan1/username/Error(1021001)
Failed to Establish Connection With SQL Database Server. See log for more information
[Wed Oct 6 15:31:26 2010]Local/EXECDEV/Plan1/username/Warning(1080014)
Transaction [ 0x6b0001( 0x4cacce8e.0xe4d2f ) ] aborted due to status [6].
Any suggestions?
Edited by: user12087276 on Oct 6, 2010 3:39 PMHave you followed the info here :- How to define a relational data source in (odbc.ini) V11 Essbase?
You don't need to run Inst-SQL.sh
Cheers
John
http://john-goodwin.blogspot.com/ -
Issue with Essbase - SQL Interface in UNIX box
Hi All,
One of our customer is facing an issue while trying to connect to the Oracle datasource from Essbase version 9.0.1.0.00 in a 64 bit UNIX box. He is using Oracle wired protocol for SQL interface.
Customer has tried the below and getting the below error:
1) Ran the nst-sql.sh file.
2) Edited the odbc.ini file and the .profile file with the required dsn information.
3) From the console selected the open SQL option and received the following error " There are no datasources defined. Please create one to continue"
I have attached the odbc.ini file and the .profile file for your reference.
Any help appreciated.
Thanks,
Bharathi Raja
ODBC.ini file
ARBORPATH=/hyper/arbor/Hyperion/AnalyticServices
HYPERION_HOME=/hyper/arbor/Hyperion
ESSLANG=English_UnitedStates.Latin1@Binary
SHLIB_PATH=.:/hyper/arbor/Hyperion/common/ODBC/Merant/5.0/lib:/hyper/arbor/Hyperion/AnalyticServices/bin:$SHLIB_PATH
PATH=$PATH:$ARBORPATH/bin:/usr/lib:$ARBORPATH:$HYPERION_HOME/common/ODBC/Merant/5.0/lib
LD_LIBRARY_PATH=$HYPERION_HOME/common/ODBC/Merant/5.0/lib
ulimit -c unlimited
ulimit -n 1024
LIBPATH=/hyper/arbor/Hyperion/common/ODBC/Merant/5.0/lib
LANG=en_US
ODBCINI=/hyper/arbor/Hyperion/Essbase/bin/.odbc.ini
[ODBC Data Sources]
DB2 Wire Protocol=DataDirect 5.0 DB2 Wire Protocol Driver
dBase=DataDirect 5.0 dBaseFile(*.dbf)
FoxPro3=DataDirect 5.0 dBaseFile(*.dbf)
Informix=DataDirect 5.0 Informix
Informix Wire Protocol=DataDirect 5.0 Informix Wire Protocol
Oracle=DataDirect 5.0 Oracle
Oracle Wire Protocol=DataDirect 5.0 Oracle Wire Protocol
Progress9=DataDirect 5.0 Progress SQL92
Progress10=DataDirect 5.0 Progress OpenEdge
SQLServer Wire Protocol=DataDirect 5.0 SQL Server Wire Protocol
Sybase Wire Protocol=DataDirect 5.0 Sybase Wire Protocol
Text=DataDirect 5.0 TextFile(*.*)
[DB2 Wire Protocol]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARdb220.sl
Description=DataDirect 5.0 DB2 Wire Protocol Driver
AddStringToCreateTable=
AlternateID=
Collection=OS/390 and AS/400 (leave blank for DB2 UDB)
Database=DB2 UDB (leave blank for OS/390 and AS/400)
DynamicSections=100
GrantAuthid=PUBLIC
GrantExecute=1
IpAddress=DB2 server host
IsolationLevel=CURSOR_STABILITY
Location=OS/390 and AS/400 (leave blank for DB2 UDB)
LogonID=UID
Password=PWD
Package=DB2 package name
PackageOwner=
TcpPort=DB2 server port
WithHold=1
[dBase]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARdbf20.sl
Description=DataDirect 5.0 dBaseFile(*.dbf)
ApplicationUsingThreads=1
CacheSize=4
CreateType=dBASE5
Database=$HYPERION_HOME/common/ODBC/Merant/5.0/demo
DataFileExtension=DBF
ExtensionCase=UPPER
FileOpenCache=0
IntlSort=0
LockCompatibility=dBASE
Locking=RECORD
UseLongNames=0
UseLongQualifiers=0
[FoxPro3]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARdbf20.sl
Description=DataDirect 5.0 dBaseFile(*.dbf)
ApplicationUsingThreads=1
CacheSize=4
CreateType=FoxPro30
Database=$HYPERION_HOME/common/ODBC/Merant/5.0/demo
DataFileExtension=DBF
ExtensionCase=UPPER
FileOpenCache=0
IntlSort=0
LockCompatibility=Fox
Locking=RECORD
UseLongNames=0
UseLongQualifiers=0
[Informix]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARinf20.sl
Description=DataDirect 5.0 Informix
ApplicationUsingThreads=1
CancelDetectInterval=0
CursorBehavior=0
Database=db
EnableInsertCursors=0
GetDBListFromInformix=1
HostName=Informix host
LogonID=UID
Password=PWD
Protocol=onsoctcp
ServerName=Informix server
Service=Informix service name
TrimBlankFromIndexName=1
[Informix Wire Protocol]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARifcl20.sl
Description=DataDirect 5.0 Informix Wire Protocol
ApplicationUsingThreads=1
CancelDetectInterval=0
Database=db
HostName=Informix host
LogonID=UIDUID
Password=PWDPWD
PortNumber=Informix server port
ServerName=Informix server
TrimBlankFromIndexName=1
[Oracle]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARor820.sl
Description=DataDirect 5.0 Oracle
ApplicationUsingThreads=1
ArraySize=60000
CatalogIncludesSynonyms=1
CatalogOptions=0
DefaultLongDataBuffLen=1024
DescribeAtPrepare=0
EnableDescribeParam=0
EnableNcharSupport=0
EnableScrollableCursors=1
EnableStaticCursorsForLongData=0
EnableTimestampWithTimeZone=0
LocalTimeZoneOffset=
LockTimeOut=-1
LogonID=UID
OptimizeLongPerformance=0
Password=PWD
ProcedureRetResults=0
ServerName=Oracle host
UseCurrentSchema=1
[Oracle Wire Protocol]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARora20.sl
Description=DataDirect 5.0 Oracle Wire Protocol
ApplicationUsingThreads=1
ArraySize=60000
CachedCursorLimit=32
CachedDescLimit=0
CatalogIncludesSynonyms=1
CatalogOptions=0
DefaultLongDataBuffLen=1024
DescribeAtPrepare=0
EnableDescribeParam=0
EnableNcharSupport=0
EnableScrollableCursors=1
EnableStaticCursorsForLongData=0
EnableTimestampWithTimeZone=0
HostName=Oracle server
LocalTimeZoneOffset=
LockTimeOut=-1
LogonID=UID
Password=PWD
PortNumber=1521
ProcedureRetResults=0
SID=Oracle SID
UseCurrentSchema=1
[Progress9]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARpro920.sl
Description=DataDirect 5.0 Progress SQL92
DatabaseName=db
HostName=Progress9 host
LogonID=UID
Password=PWD
PortNumber=Progress9 server port
[Progress10]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARpro1920.sl
Description=DataDirect 5.0 Progress OpenEdge
DatabaseName=db
HostName=Progress10 host
LogonID=UID
Password=PWD
PortNumber=Progress10 server port
[SQLServer Wire Protocol]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARmsss20.sl
Description=DataDirect 5.0 SQL Server Wire Protocol
Address=SQLServer host,SQLServer server port
AnsiNPW=Yes
Database=db
LogonID=UID
Password=PWD
QuotedId=No
[Sybase Wire Protocol]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARase20.sl
Description=DataDirect 5.0 Sybase Wire Protocol
ApplicationName=
ApplicationUsingThreads=1
ArraySize=50
Charset=
CursorCacheSize=1
Database=db
DefaultLongDataBuffLen=1024
EnableDescribeParam=0
EnableQuotedIdentifiers=0
InitializationString=
Language=
LogonID=UID
NetworkAddress=Sybase host,Sybase server port
OptimizePrepare=1
PacketSize=0
Password=PWD
RaiseErrorPositionBehavior=0
SelectMethod=0
WorkStationID=
[Text]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARtxt20.sl
Description=DataDirect 5.0 TextFile(*.*)
AllowUpdateAndDelete=0
ApplicationUsingThreads=1
CacheSize=4
CenturyBoundary=20
Database=$HYPERION_HOME/common/ODBC/Merant/5.0/demo
DataFileExtension=TXT
DecimalSymbol=.
Delimiter=
FileOpenCache=0
FirstLineNames=0
IntlSort=0
ScanRows=25
TableType=Comma
UndefinedTable=GUESS
[ODBC]
IANAAppCodePage=4
InstallDir=$HYPERION_HOME/common/ODBC/Merant/5.0
Trace=0
TraceDll=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/odbctrac.sl
TraceFile=odbctrace.out
UseCursorLib=0
*.Profile file*
HYPERION_HOME=/hyper/arbor/Hyperion
ESSLANG=English_UnitedStates.Latin1@Binary
SHLIB_PATH=.:/hyper/arbor/Hyperion/common/ODBC/Merant/5.0/lib:/hyper/arbor/Hyperion/AnalyticServices/bin:$SHLIB_PATH
PATH=$PATH:$ARBORPATH/bin:/usr/lib:$ARBORPATH:$HYPERION_HOME/common/ODBC/Merant/5.0/lib
LD_LIBRARY_PATH=$HYPERION_HOME/common/ODBC/Merant/5.0/lib
ulimit -c unlimited
ulimit -n 1024
LIBPATH=/hyper/arbor/Hyperion/common/ODBC/Merant/5.0/lib
LANG=en_US
ODBCINI=/hyper/arbor/Hyperion/Essbase/bin/.odbc.iniThe essbase user needs to be restarted to be able to see the new odbc.ini entries.
After editing the files you mentioned, did you restart the essbase services?
At the very least, did you exit EAS, then restart EAS? (I don't remember which one of these will do it.) If your entries are correct, then one of these should get the essbase user to 'see' the odbc connection.
Also, it might help to remove extraneous entries in the .odbc.ini file, kind of difficult to read thru all of that.
Robert
Edited by: RobertR3 on Mar 17, 2009 10:19 AM -
Having issues after installing Essbase V9.3.1,configuring the SQL interface
I am having issues after installing Essbase V9.3.1 and configuring the SQL interface. we are using UNIX/AIX box for our Essbase server and UDB DB2 9.1 SP6 as our SQL Interface.
When tried to run an ESSCMD script to perform BUILDDIM operation on Essbase application using the load rule (with the SQL interface), got the error as recorded in the application log file and is attached at the bottom and the .odbc.ini file on the server looks as follows.
Can somebody tell me whether .odbc.ini needs any correction or what else should I do to correct the issue and able to work thru using SQL interface? Appreciate any help provided in this regard. Thanks,
.odbc.ini
[ODBC Data Sources]
DOLU003=IBM DB2 ODBC DRIVER
[DOLU003]
Driver=/home/db2inst1/sqllib/lib/libdb2.a
Database=DOLU003
[ODBC]
Trace=0
TraceFile=odbctrace.out
InstallDir=/home/db2inst1/sqllib/odbclib
[Mon Apr 20 15:16:29 2009]Local/New_Bud/Budget/Olapadm/Info(1021020)
Cannot read SQL driver name for [] from [home/hyperion/.odbc.ini]
[Mon Apr 20 15:16:43 2009]Local/New_Bud/Budget/Olapadm/Info(1013091)
Received Command [SQLRetrieve] from user [Olapadm]
[Mon Apr 20 15:16:43 2009]Local/New_Bud/Budget/Olapadm/Info(1021020)
Cannot read SQL driver name for [] from [home/hyperion/.odbc.ini]
[Mon Apr 20 15:16:43 2009]Local/New_Bud/Budget/Olapadm/Info(1021004)
Connection String is generated
[Mon Apr 20 15:16:43 2009]Local/New_Bud/Budget/Olapadm/Info(1021041)
Connection String is [DSN=DOLU003;UID=...;PWD=...]
[Mon Apr 20 15:16:43 2009]Local/New_Bud/Budget/Olapadm/Info(1021006)
SELECT Statement [SELECT * FROM DB2OLADM.BD_DIMENSION_DEF_PC WHERE DIMENSION_ID
= 12 ORDER BY TREE_NODE_NUM, PARENT_NODE, CHILD_NODE] is generated
[Mon Apr 20 15:16:44 2009]Local/New_Bud/Budget/Olapadm/Info(1021013)
ODBC Layer Error: [7] ==> [[DataDirect][ODBC 20101 driver]6013]
[Mon Apr 20 15:16:44 2009]Local/New_Bud/Budget/Olapadm/Info(1021014)
ODBC Layer Error: Native Error code [0]
[Mon Apr 20 15:16:44 2009]Local/New_Bud/Budget/Olapadm/Error(1021001)
Failed to Establish Connection With SQL Database Server. See log for more information
--------------------------------------------------------------------------------------------------------------------------------------------I had similar errors when first setting up the SQL interface. Are you on a 64 bit operating system on the essbase server? If so Essbase needs to use the 32 bit odbc driver, not the default 64 bit driver.
The 32 bit driver is still available here SysWOW64\odbcad32.exe <-----This is the 32 bit (Use)
The Administrative tools by default uses system32\odbcad32.exe <----This is the 64 bit (Don't Use)
Once I opened the 32 bit driver interface directly and set it up the errors went away. -
Anyone have any experience using SQL Interface to pull data from a Teradata Data Warehouse? Assuming you can just use the standard ODBC driver for Teradata but would like confirmation.Thanks.Doug O'Keefe
I did it a long time ago and didn't have any problem. since Teradata databases can be pretty large, I created a table that held the data I wanted and pulled from it directly so I didn't have to do any joins. Glenn S.---Message Posted by okeefdo ??3/27/02 07:27---Anyone have any experience using SQL Interface to pull data from a Teradata Data Warehouse? Assuming you can just use the standard ODBC driver for Teradata but would like confirmation.Thanks.Doug O'Keefe
-
Intergration Services and Essbase SQL-Interface
Hi, Experts,
I have learned that if I need to access relational database I need to have one of the above components.
Well, as SQL-Interface is free, what is an Intergration Services good for?
Please give me some advices.
Thanks.
Regards,
LindaBoth SQL Interface and Analytic Integration services provide direct link to the RDBMS.
In AIS, We have to create OLAP Model(Logical Star Schema) and MetaOutline(Rules to load memebers and data) based on the OLAP Model. -
Cannot Open SQL from Data Prep Editor (SQL Interface)
Hi,
When I Open SQL in Data Prep Editor: "There are no data sources defined. Please create one to continue."
I create a ODBC connections using the drivers bellow and I obtain always the same message ("There are no data sources defined.."):
Oracle in OraDb10g_home2
Microsoft ODBC for Oracle
MERANT OEM 5.2 32-BIT Oracle
I have installed and configured Essbase, release 11.1.1.2
Is posible that the SQL interface is not installed and configured with the Essbase Server?
How I can install and configure the SQL Interface? I need to do somethink else?
Thanks!
AssiaThrough EAS select the server and right click and select properties. then go to the environment tab(I think) it should show everything you are licensed for. If this is a System 9 or higher, you should have it automatically. If it is 7X or below,then yoes it has to be licensed
-
Error while opening SQL source for a Data Load Rules File
Hi ,I have created Data Laod rules file.When I try to open a SQL source for this rules file (File->Open SQL) , I get an error saying "Your server does not have a SQL connection Option, Please check with your system administrator"Further I get a message "There are no data sources defined. PLease create one to continue.".I have created DSN on my Essbase server.What is the problem.What needs to done to open SQL files.Thanks.
I have Essbase 7.1 I guess for version 7.1 the SQL interface option is intalled with the Analytic server itself .Am I right?I have setup the DSN also.Please help to resolve this issue.Thanks .
-
I am trying to setup the sql interface on a linux 64 box, using essbase 11.1.2
I have added a data source.
followed the instructions in the SQl interface guide
Open the $EPM_ORACLE_HOME/common/ODBC/Merant/x.x/odbc.ini file and add a data
source description.
Copy the $EPM_ORACLE_HOME/common/ODBC/Merant/x.x/odbc.ini to
$ESSBASEPATH/bin/.odbc.ini.
Create a symbolic link to the $ESSBASEPATH/bin/.odbc.ini from the UNIX user home directory:
ln -s $EPM_ORACLE_HOME/common/ODBC/Merant/x.x/odbc.ini /home/myfolder/.odbc.ini
Verify that the odbc.ini file in the user home directory matches the odbc.ini file in
$EPM_ORACLE_HOME/common/ODBC/Merant/x.x.
stopped and restarted the admin server.
In the admin console I then tried to create a rules file and i opened the SQL Data sources.
But the data source which i had defined in the odbc.ini does not appear in the SQL data sources list.
I have double checked my steps with no success have i missed some aspect of configuration
has anyone else had this experience.Hi there,
Came across this searching for a similar problem but we managed to fix this by
1. Updating our odbc.ini file to the correct information
2. Creating symbolic links on the essbase server:
ln -s /ess/oracle/EPMSystem11R1/common/ODBC-64/Merant/6.0/odbc.ini /ess/oracle/EPMSystem11R1/products/Essbase/EssbaseServer/bin/.odbc.ini
ln -s /ess/oracle/EPMSystem11R1/common/ODBC-64/Merant/6.0/odbc.ini /export/home/bismart/.odbc.ini
ln -s /ess/oracle/EPMSystem11R1/common/ODBC-64/Merant/6.0/odbc.ini /ess/oracle/user_projects/epmsystem1/EssbaseServer/essbaseserver1/bin/.odbc.ini
3. Restart all services
Some of that may not strictly be necessary but we've managed to get it working and have a drop down in EAS now.
Note that our install was done to /ess/oracle and our user is bismart with home directory /export/home/bismart/ - yours will be different so substitute with the correct path.
It may be unrelated because we're actually on Solaris 64 but best of luck
Cheers, -
ODI 11.1.1.5 IKM SQL to Hyperion Essbase (DATA) ERROR
Hello!
I'm loading data from Oracle database table "nbkr_source" to Essbase database nbkr.bdr using IKM SQL to Hyperion Essbase (DATA).
I'm using the interface which successfully loading data into Essbase in ODI 10.1.3.5, but this interface doesn't work in ODI 11.1.1.5...
The error appears on the step 6: "load data into essbase":
[2011-12-02T08:21:28.985-04:30] [] [NOTIFICATION:16] [ODI-1126] [] [tid: 49] [ecid: 0000JFyGjmU6UOYjLpATOA1Eq7wG00000U,0:482] Agent localagent started session nbkr_sql_to_essbase2 (16001) in work repository WORKREP1 using context GLOBAL.
[2011-12-02T08:21:32.401-04:30] [] [ERROR] [ODI-1217] [] [tid: 49] [ecid: 0000JFyGjmU6UOYjLpATOA1Eq7wG00000U,0:482] Session nbkr_sql_to_essbase2 (16001) fails with return code 7000.[[
ODI-1226: Step nbkr_sql_to_essbase2 fails after 1 attempt(s).
ODI-1240: Flow nbkr_sql_to_essbase2 fails while performing a Integration operation. This flow loads target table nbkr_bdrData.
Caused By: org.apache.bsf.BSFException: exception from Jython:
Traceback (most recent call last):
File "<string>", line 26, in <module>
at com.hyperion.odi.essbase.ODIEssbaseDataWriter.loadData(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Invalid column type specified for Data column [План счетов]
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2457)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
Code:
from com.hyperion.odi.common import ODIConstants
from com.hyperion.odi.connection import HypAppConnectionFactory
from java.lang import Class
from java.lang import Boolean
from java.sql import *
from java.util import HashMap
# Get the select statement on the staging area:
sql= """select C1_HSP_RATES "HSP_Rates",C2____________ "План счетов",C3_______ "Период",C4_________ "Сценарий",C5_______ "Версия",C6_______ "Валюта",C7____ "Год",C8________________ "Структура банка",C9_DATA "Data" from "C$_0nbkr_bdrData" where (1=1) """
srcCx = odiRef.getJDBCConnection("SRC")
stmt = srcCx.createStatement()
srcFetchSize=30
#stmt.setFetchSize(srcFetchSize)
stmt.setFetchSize(1)
print "executing query"
rs = stmt.executeQuery(sql)
print "done executing query"
#load the data
print "loading data"
stats = pWriter.loadData(rs)
print "done loading data"
#close the database result set, connection
rs.close()
stmt.close()There is not a set limit, you set it to the most optimal value for the database you are loading to which you will find by peforming tests with different values.
Cheers
John
http://john-goodwin.blogspot.com/
Maybe you are looking for
-
Hi There!! I got this problem since I used appel migration assistance. In my old MBP 13" Os X 10.7.4 - 2,8 GHZ Intel Core i7 - I got safari (V.6), and in the new one MBP 15" Os X 10.7.4 - 2,6 GHZ IC i7 the version of safari its 5.1.7 The following re
-
Hi All, Currently i'm working on the following requirements. we are using TIBCO system as a middleware tool and it will ceate an IDOC which needs to be directed to R/3 system. As we have already imported the IDOC to the TIBCO system and then it will
-
E4200 and powerline not getting along
Just got a e4200, very happy. However I also have a cisco av power line adapter which worked fine. However when connecting to the 4200 it doesn't recognize the Internet. Have rebooted, reset switched ports etc. But it still doesn't work. It sees the
-
Process Chain - status Undefined
Hi Guys Recently we updated the patch and after that the process chains are going into the undefined status(They are not failing). If we manually load it works fine. not sure where to start search from as I donu2019t have any error in hand and the wa
-
Adobe Download Assistant, and Adobe Ilustrator CS6
Please remove this program from this computer. It downloaded (taking up a lot of time), and now I find it can not help me make the conversion I'm after, and it's stuck on my computer- it won't remove or uninstall. Don't ask me to go to FAQ because it