Extraction of metadata Essbase in a table
HelloI am trying to extract Level0 (only metadata) members in a dimension called item of Essbase in an oracle table. The extract does not work because the name of the dimension has a space between its name. The error msg is given below.
I am able to extract other dimensions (which do not have a space in their name) easily makes me think that the issue is related to the space.
The pointers will be appreciated...
Thanks in advance!
Arriving at the stage start Essbase extract metadata.
org.apache.bsf.BSFException: exception of Jython:
Traceback (innermost last):
"< String >" file, line 89, in there?
java.lang.NullPointerException
at com.hyperion.odi.essbase.ODIEssbaseMetaReader.validateSourceMetadata (unknown Source)
at com.hyperion.odi.essbase.ODIEssbaseMetaReader.validateExtractOptions (unknown Source)
at com.hyperion.odi.essbase.AbstractEssbaseReader.beginExtract (unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)
at java.lang.reflect.Method.invoke (unknown Source)
at org.python.core.PyReflectedFunction.__call__ (PyReflectedFunction.java)
at org.python.core.PyMethod.__call__ (PyMethod.java)
at org.python.core.PyObject.__call__ (PyObject.java)
at org.python.core.PyInstance.invoke (PyInstance.java)
to org.python.pycode._pyx0.f$ 0 (< string >: 89)
to org.python.pycode._pyx0.call_function (< string >)
at org.python.core.PyTableCode.call (PyTableCode.java)
at org.python.core.PyCode.call (PyCode.java)
at org.python.core.Py.runCode (Py.java)
at org.python.core.Py.exec (Py.java)
at org.python.util.PythonInterpreter.exec (PythonInterpreter.java)
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
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 (unknown Source)
java.lang.NullPointerException: java.lang.NullPointerException
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
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 (unknown Source)
It is also resolved in 10.3.1.5.5, I always recommend using at least patch 10.3. 1.5.5 for any essbase associated integrations.
10.3.1.5.5 is a very quick patch to apply, 10.3.1.6 is a bit more complicated, the choice is yours you want to install.
See you soon
John
http://John-Goodwin.blogspot.com/
Tags: Business Intelligence
Similar Questions
-
Reverse metadata Essbase and column of data storage
Hello
I cancelled Essbase cube and load the account dimension metadata in the database table. For all accounts (Stored, dynamic Calc, part of Neve, etc) data storage column has the value of '. What it means? How can I distinguish accounts Neve share of the dynamic accounts Calc?
Thanks in advance.Hello
Looks like you need to download the latest patch
Version 10.1.3.4.5
==================New features
------------This section should list the new/updated day miles that are provided with this release.
The following KMs have been updated and are delivered in this version:
* LKM Hyperion Essbase SQL METADATAResolved issues
---------------7186129: LKM Hyperion Essbase METADATA SQL does not member of storage of data extract
property correctly.Hope that answers your question correctly.
See you soon
John
http://John-Goodwin.blogspot.com/ -
extraction of metadata (shared members) of essbase
Hi all
We try to extract metadata from essbase to oracle using the knowledge "LKM Hyperion essbase metadata to sql" module.
It works very well but we are unable to extract members shared this way, even if include us idescendants-, and then tap the top member in the dimension.
is there a way to extract the shared members?To extract, use ' ' LKM Hyperion essbase metadata SQL ' KM, I kept all of the default settings.
See you soon
John
http://John-Goodwin.blogspot.com/ -
Selection of data after the extraction of metadata from the metadata table
Hi, I have a metadata table where I store the name of the table, the names of the columns to select, start position and the end position.
Start_Pos End_Pos Table_Name column_name
1 10 ename emp
11 20 empno, emp
So I have to retrieve the records corresponding to the SQL:
Rpad SELECT (ename, 10,' ') | RPAD (empno, 10,' ') FROM emp;
The output of SQL created from the table of metadata should be written to a file with UTL_FILEI think he wanted more than just the use of UTL_FILE. Thus,.
create or replace procedure write_data (p_table_name in varchar2) is v_file utl_file.file_type; v_sql varchar2(2000); v_line varchar2(2000); v_LEN number; TYPE refcurtyp IS REF CURSOR; cv refcurtyp; begin for C1 in (select * from Metadata_TabLE where table_name = P_TABLE_NAME order by table_name) LOOP v_len := C1.end_pos - C1.start_pos +1 ; v_sql := v_sql ||'rpad('||C1.column_name ||', '|| v_len||', '' '' )||' ; end loop; v_sql := 'select '||substr(v_sql,1, length(v_sql)-2) || ' from '||p_table_name ; v_file := utl_file.fopen('YOURDIR', 'myfile.txt','W'); open cv for v_sql ; loop fetch cv into v_line ; exit when cv%notfound; utl_file.put_line(v_file, v_line); end loop; utl_file.fclose(v_file); end; /
-
updating automated metadata Essbase in RPD OBIEE file?
Hello
Anyone know how it is possible to update the physical layer of the RPD file meta data? Bottom line is that we have integrated several essbase cubes into OBIEE. One of the cube is updated on a daily basis and all levels generated in some dimensions can change daily. The idea is to reimport the essbase (physical layer, activities and presentation) metadata automatically after calculation of cube essbase has been successfully completed. But I found no documentation how to automate administration tool.
So any advice would be great.
Thank you in advance,
Stefan
If you set your "Type of hierarchy" in the physical layer to the 'value' it will work automatically as a child without any table (Essbase is already working with parent-child relationships, so no need for any additional table).
"Mark has also covered this aspect a few years ago: Rittman Mead Consulting" OBIEE 11 GR 1 material: improvements to Support Essbase
-
Extraction of metadata for business
Hello
I'm not familiar with the company, but I'm trying to migrate historic data off the coast of our legacy Enterprise applications and intend to throw in a cube essbase just for users to be able to view/access historical data. Anyway to extract entities or structure account metadata - in a hierarchically? Because the data will not be aggregated, I think I can keep the original structure and then just build an essbase cube modeled as.
In the module entities, in the file Menu, select print a window will show where you can select the level number. Machine that you place a check in there, and then print in an ASCII file. The rest is just working with Excel.
-
How to extract the metadata for an object in Oracle 7.3.4.3.0
Hi all
The Prod database is on Oracle 7, 7.3.4.3.0 with the 64 bit version.
I need to get the code used in the procedure, functions, packages and triggers in the database, to reproduce the problems in Oracle 10 g.
I know that dbms_metadata.get_ddl () is used to get the metadata. However, it is not available in Oracle7. Then couldn't a Tips how to get the metadata in Oracle 7.
Thank youThe code should be ALL_SOURCE or the SYS. Table of $ SOURCE.
Refer to the Oracle data dictionary views 7 server reference chapter
http://docs.Oracle.com/CD/A57673_01/doc/Server/doc/SRF73/CH2A.htm#toc018Here's the main doc link if you need it.
http://docs.Oracle.com/CD/A57673_01/index.htm -
Is there another way to extract a piece of your plan without having to use the essbase OLAPUNDERGROUND Extractor?
I currently use version 11.1.1.3 on my server and I have the Excel Add-in 9.3 on my desk. I downloaded the version 11.1.1.3 and 11.1.2 extractor and tried to use each of them (installed on my desktop). Both times I got an error message "the file of contour is a newer version that this version can handle.Well, if you're on 11.1.2.x, you can just use MaxL to contour to the export in xml format:
http://download.Oracle.com/docs/CD/E17236_01/EPM.1112/esb_tech_ref/maxl_expotl.htmlHave you read dealt with our JohnG on extraction contour Essbase through ODI:
http://John-Goodwin.blogspot.com/2008/10/ODI-series-Essbase-outline-Extractor.htmlDespite the complication that ODI implies, I personally prefer ODI - you take a plan Essbase, relationailizing (I just made that Word to the top) and then that the power of SQL apply do everything what you want.
Kind regards
Cameron Lackpour
-
How to get the metadata for the selected tables of a schema
Hello
I need the metadata for the tables selected for an activity. The list of the table continues to change now. I get the list of tables just before the activity.
What I need is to know how to put the list of tables in the sub query dynamicallly
+++++++++++
exec dbms_metadata.set_transform_param (DBMS_METADATA. False SESSION_TRANSFORM, 'SEGMENT_ATTRIBUTES',);
exec dbms_metadata.set_transform_param (DBMS_METADATA. False SESSION_TRANSFORM, 'STORAGE',);
exec dbms_metadata.set_transform_param (DBMS_METADATA. SESSION_TRANSFORM, 'TABLESPACE', TRUE);
Select DBMS_METADATA. GET_DDL ('TABLE', '&') from user_tables where rownum < 2;
+++++++++++
What I need is something of the form where table_name in (< table1 >, < table2 >, < table3 >,..., etc.) in the query above, so that i access all the metadata
He doesn't hit me how I can write this query to single line. Can someone help here?
Regds,
MalikaHello
try using the name of the column to user_tables and owner of the table in the "DBMS_METADATA. GET_DDL' and the reel to reel for some files and run this file in turn exit.
coil
Select ' select DBMS_METADATA. GET_DDL ("' TABLE," ' | table_name |', "') double;' from user_tables
where;
spool off;@some_file - trying to spool output too.
-Pavan Kumar N
-
Load the metadata and extract the metadata tasks EPMA hfm App not appearning
Hello
I have deployemed an application of hfm in EPMA.
But the options load metadata and extract metadata does not appear under load task and extracted.
Version of EPMA is 9.3.1.3.
Is this a limitation with this version of EPMA or I made a mistake during the installation.
The user has all privileges for this app.
Help, please.Once you create an application in EPMA these options are no longer available.
They are only available for Classic applications.
See page 121 of the Administrator's guide.
http://download.Oracle.com/docs/CD/E12825_01/EPM.111/hfm_admin.PDF
-
Extract data from SQL to Pivot Table/CUBE database vFoglight?
Our CIO request hourly data so he can create a history of our virtual environment using the data collected from vFoglight the BODs to attend so that they can see ho are we utulizing the new environment, they allowed us to buy. I've created a report for him but he won't have to copy and paste data in an excel file, every hour, it's short.
It looks like this:
dnsName Name Use (%) ESXi Server 1 Memory 42 ESXi Server 2 Memory 37 So is there a way to allow Excel to connect to SQL Server and extract this data so that it can organize itself? Or can we write a report that displays data on time as follows?
I.E.
01:00 - 42%
02:00 - 39%
03:00 - 41%
Hi Morgan,.
There are a few examples of the extraction of metrics data formatted in Foglight using command-line scripts in the blog article Foglight Reporting using queries metric or Groovy to http://en.community.dell.com/techcenter/performance-monitoring/foglight-administrators/w/admins-wiki/5654.foglight-reporting-using-metric-queries-or-groovy
I hope this will give you some ideas.
Kind regards
Brian Wheeldon
-
Extract single line transformed from two tables
I have two tables T1 and T2 with the same set of columns. The columns are C1, C2, C3, COND1. I need to issue a query that returns a line transformed in order to respect the following rules:
1. the returned line may contain values from both tables based on the values of column in table T1.
2 return the column C1 in table T1; If it is NULL, then return to any value is present in the column C1 of T2.
3. article 2 above apply to all columns like C1, C2 etc.
I published the following query. The problem is that if a subquery does not reach the entire query fails. Someone help me please. Probably there is another simple method.
SELECT NVL (T1.c1, T2.c1) c1, c2 (T1.c2, T2.c2) NVL NVL (T1.c3, T2.c3) c3
FROM (SELECT c1, c2, c3
FROM T1
WHERE cond1 = 'T10') T1
(SELECT c1, c2, c3
THE T2
WHERE cond1 = "T200") T2;
Hello
user4274403 wrote:
I have two tables T1 and T2 with the same set of columns. The columns are C1, C2, C3, COND1. I need to issue a query that returns a line transformed in order to respect the following rules:
1. the returned line may contain values from both tables based on the values of column in table T1.
2 return the column C1 in table T1; If it is NULL, then return to any value is present in the column C1 of T2.
3. article 2 above apply to all columns like C1, C2 etc.
I published the following query. The problem is that if a subquery does not reach the entire query fails. Someone help me please. Probably there is another simple method.
SELECT NVL (T1.c1, T2.c1) c1, c2 (T1.c2, T2.c2) NVL NVL (T1.c3, T2.c3) c3
FROM (SELECT c1, c2, c3
FROM T1
WHERE cond1 = 'T10') T1
(SELECT c1, c2, c3
THE T2
WHERE cond1 = "T200") T2;
Are you saying that if there is no row in t1 that satisfy the condition cond1 = "T10", then you want to keep seeing the lines (and values) of the t2?
And even, if there is no row in t2 that satisfy the cond1 = "T200" condition, then you want to keep seeing the lines (and values) from t1?
If so, this looks like a job for a full outer join.
You can change the join in a full outer join as follows:
SELECT NVL (T1.c1, T2.c1) AS c1
, NVL (T1.c2, T2.c2) C2
NVL (T1.c3, T2.c3) AS c3
FROM T1
FULL OUTER JOIN T2 ON t1.cond1 = 'T10 '.
AND t2.cond1 = 'T200.
WHERE t1.cond1 = 'T10 '.
OR t2.cond1 = "T200"
;
If you would care to post CREATE TABLE and INSERT instructions for some examples of data, then I could test this.
What happens if no table has all the lines that have good values in cond1?
-
Unable to see IKM Hyperion Planning loading metadata from the file/Tabl
Hello
I am unable to see the IKM SQL for Hyperion Planning Knowledge Module in the stream tab. I have reverse engineered the KM and I see the KM in my project (having only 1 project). I am trying to load the metadata of the file up to planning and selected different refuelling area of target. I was able to debone planning cube models ODI successfully.
ODI Version: 11.1.1.6.3
Planning version: 11.1.2.2
Any help will be appreciated.
-KashThe workaround is
After you import the IKM, open the KM and go to "Setting"-> "Source Technology"
Manually change the generic value of 'Technology' of 'SQL' to 'Undefined '.
Save and proceed with your new creation of interfaceSee you soon
John
http://John-Goodwin.blogspot.com/ -
How to extract the values of the other tables in the process upon request
Hi all
In Oracle Apex 4.1.
The Leave_transaction Table contains the following fields,
The Emp_Master Table contains the following columns1.Leave_id 2.Emp_name 3.From_date 4.To_date 5.Remaining_days
Holiday_master table contains a list of the dates of the holidays as 'From_Date '.1.Emp_id 2.Emp_Name 3.Remaining_days
I have the form based on the Leave_Transaction Table,
I created the process,
"Sur-Soumettre after calculations and validations of."
and posted the following PLSQL code,
If the date is between from_date and To_date comes Saturday and Sunday or if any Date exists in the table of Hpliday_master he will exclude and return the count (*) rest of dates.declare days number(3); ex_days emp_master.remaining_days%type; new_rem_days emp_master.remaining_days%type; begin select count(*) into days from (select dt from( select to_date(:p1_from_date, 'DD-Mon-YYYY') + rownum -1 dt from dual connect by level <= to_date(:p1_to_date, 'DD-Mon-YYYY') - to_date(:p1_from_date, 'DD-Mon-YYYY') + 1) where to_char(dt,'fmday') not in ('sunday','saturday') minus (select holiday_start from holiday_master)) dual ; select remaining_days into ex_days from emp_master where upper(emp_name) = upper(:APP_USER); new_rem_days := ex_days - days; update emp_master set remaining_days = new_rem_days where upper(emp_name) = upper(:APP_USER); update leave_transaction set remaining_days = new_rem_days where upper(emp_name) = upper(:APP_USER) and leave_id=(select max(leave_id) from leave_transaction); end;
For example,.
If the From_date is 04-may-2012'
and To_date is 08-may-2012,
Here the dates 5 May and 6 may are "Saturday" and "Sunday".
and if any date between From_date and To_date is exist in the Table Holiday_Master
That is to say that here it is 07-may-2012,
Then the remaining dates are (excluding sat, Sunday and dates in holiday_table).
04-may-2012,
08-may-2012.
the count (*) is 2.
I use the code above but it return 5.
I think that this
code does not work....where to_char(dt,'fmday') not in ('sunday','saturday') minus (select holiday_start from holiday_master))
Can someone help me solve my problem.
Edited by: Gurujothi may 3, 2012 23:59set serveroutput on; declare v_sql varchar2(100); begin v_sql := 'ALTER SESSION SET NLS_LANGUAGE= ''GERMAN'''; execute immediate v_sql; dbms_output.put_line(v_sql); for c in ( select to_char(sysdate + level ,'fmday') day_ from dual where to_char(sysdate + level,'fmday') not in ('sunday','saturday') connect by level < 8 ) loop v_sql := c.day_; dbms_output.put_line(v_sql); end loop; v_sql := 'ALTER SESSION SET NLS_LANGUAGE= ''AMERICAN'''; execute immediate v_sql; dbms_output.put_line(v_sql); for c in ( select to_char(sysdate + level ,'fmday') day_ from dual where to_char(sysdate + level,'fmday') not in ('sunday','saturday') connect by level < 8 ) loop v_sql := c.day_; dbms_output.put_line(v_sql); end loop; end; / ALTER SESSION SET NLS_LANGUAGE= 'GERMAN' samstag sonntag montag dienstag mittwoch donnerstag freitag ALTER SESSION SET NLS_LANGUAGE= 'AMERICAN' monday tuesday wednesday thursday friday PL/SQL procedure successfully completed.
-
extraction of the information in the table
How to retrieve all the data of the table a sense reverse order... not only the single column... I want to reverse each data column... do not write like this:
Select reverse (col1), reverse (col2) in emp;
kindly guide me for this...
Thank you all...How to recover all the data table in the order reverses.
I can do on my 11.2.0.2
SQL> set echo off SQL> with t as ( select 'abc' ename, 'xyz' job from dual union all select 'def', 'wes' from dual union all select 'fdf', 'ert' from dual ) -- -- select ename, job, x1.column_value ename_reversed, x2.column_value job_reversed from t, xmltable (trim ('codepoints-to-string(reverse(string-to-codepoints("' || ename || '")))')) x1, xmltable (trim ('codepoints-to-string(reverse(string-to-codepoints("' || job || '")))')) x2 / ENAME JOB ENAME_REVERSED JOB_REVERSED ----- ---- -------------- ------------ abc xyz cba zyx def wes fed sew fdf ert fdf tre 3 rows selected.
Maybe you are looking for
-
can display the 6s and 6 s in addition to soda or is it only the 6 s more?
iI have just won, because I can't seem to make it work
-
Hello When I try to use a pci card 4351 for thermocouple with dasylab and nidaq driver, I have 3 problems: -first of all, when I used the module of scale to use with thermocouple, I disable it compensation CYC, is possible to solve that? -the second
-
How to print double-sided on my HP 3520
No there's nothing wrong I. Just need to know how to print double-sided on my printer HP Deskjet 3520 All In One
-
Need help with blackBerry Smartphones
Hi guys, I changed to an old e-mail address and want to spend my bbid return account to this email address. The problem is I already have an account under the old e-mail address if I want to close the account and changed the enamel on my most recent
-
Anyone who has used the 16 x 08 Tascam us with hearing? Hearing leaves me only to record two tracks at the same time, while the Tascam is able to record 16 tracks at the same time... what gives?