RPD merge wierd behaviour 11g
Hi,
I'm trying to merge two 11g RPDs, using RPD merge(patch option)-
and in following scenario-
A->DEV Baseline RPD,
B->DEV updated RPD,
C->Prod RPD.
I added a few columns in B.
Created patch comparing B with A.(The patch generated reflected all the added columns)
Applied patch on C, considering A as original RPD and used the patch generated.
Now here the utility is giving strange results, sometime it adds all normally.
Sometime it ignores all the changes, and sometime Phy layer is added and BMM changes are ignored.
Has someone faced similar issue? Any work around?
Regards,
Prateek
Hi,
I'm trying to merge two 11g RPDs, using RPD merge(patch option)-
and in following scenario-
A->DEV Baseline RPD,
B->DEV updated RPD,
C->Prod RPD.
I added a few columns in B.
Created patch comparing B with A.(The patch generated reflected all the added columns)
Applied patch on C, considering A as original RPD and used the patch generated.
Now here the utility is giving strange results, sometime it adds all normally.
Sometime it ignores all the changes, and sometime Phy layer is added and BMM changes are ignored.
Has someone faced similar issue? Any work around?
Regards,
Prateek
Similar Messages
-
Wierd Behaviour of IF then ELSE standard function
Hi All,
I am facing a very wierd behaviour of the IF then ELSE function in a mapping.
Condition to be checked: if GDS_id = 1, then (condition 1 - RFC lookup ) ElSE (condition 2 - JDBC Lookup followed by an RFC lookup).
Issue: The input payload is 0-unbounded with a possibility of a different GDS_id values.
Case 1 :
As shown below, in case the input payload has 3 repitions of the RECORD, with the Fit set having GDS_ID = 01, the mapping runs perfectly fine . All the If then Else branches are getting executed.
Case 2:
Where as iF the first GDS_ID != 01 (not 01) , thenthe target value is not getting populated properly .
I have tried all the possibilities and combinations but i am unable to resolve this. Please help.
Attached the screen shot of the message mapping, and sample test results of both the use cases.
For instance, below is a sample payload:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:mt_EMERGO_common xmlns:ns0="http://sabreEMERGO_common.com">
<Record>
<booking_date>08012013</booking_date>
<iata_code>2325540</iata_code>
<gds_id>01</gds_id>
<pos_code>RD3A</pos_code>
<gds_code>01</gds_code>
<net_booking>11</net_booking>
</Record>
<Record>
<booking_date>08012013</booking_date>
<iata_code>2325540</iata_code>
<gds_id>02</gds_id>
<pos_code>54S8 </pos_code>
<gds_code>02</gds_code>
<net_booking>11</net_booking>
</Record>
</ns0:mt_EMERGO_common>Hi All,
I have changed the message mapping like below. Even though i am not getting my target filed as value. As per my requirement if GDS_ID=01 then perform the RFC lookup and pass the value to target fields KUNNR and else GDS_ID=02 then perform the JDBC LOOKUP and JDBC LOOKUP output to RFClookup .RFC LOOKUP output pass to my target field KUNNR.
Result of my mapping is 1st record only populated KURNNR in Target side and 2nd record not showing as KUNNR filed in target side .But I have taken look on display queue in If then else out showing 2 values but it is not passing to target filed.
Please provide any suggestion to resolve this issue.
Please find the mapping logic:
Please find the test screen:
Please find the test Data:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:mt_EMERGO_common xmlns:ns0="http://sabreEMERGO_common.com">
<Record>
<booking_date>08012013</booking_date>
<iata_code>2325540</iata_code>
<gds_id>02</gds_id>
<pos_code>54S8 </pos_code>
<gds_code>AA</gds_code>
<net_booking>11</net_booking>
</Record>
<Record>
<booking_date>08012013</booking_date>
<iata_code>2325540</iata_code>
<gds_id>01</gds_id>
<pos_code>RD3A</pos_code>
<gds_code>AA</gds_code>
<net_booking>11</net_booking>
</Record>
</ns0:mt_EMERGO_common>
Regards,
Ramesh -
Wierd behaviour in 10.2.0.2
Hi Guys,
I have this wierd behaviour.
I have the parameter *.sessions=885 in my spfile.
However few days back when i do a query in my db "show parameter sessions", the output is 1105.
can advise?
thanksSESSIONS doesn't have to be explicitly set, most DBAs would only set PROCESSES and let Oracle auto-compute SESSIONS.
Since SESSIONS is not modifiable in memory, it is likely that it was modified when the instance was running with
ALTER SYSTEM SET SESSIONS=885 SCOPE=SPFILE;which would have updated the SPFILE but not changed the value for the instance currently running.
Go through your alert.log to see if any ALTER SYSTEM has been issued since the database instance was started up.
Hemant K Chitale -
RPD Merging 'Decision' column help
Hi,
I’m new to RPD merging; I’m merging very big RPD from the two different repositories.
While merging, we are changing some attributes as ‘Modified or Current ‘in the ‘Decision’. I’ve changed few things in the modified RPD as a part of requirement. Rest of the things as ‘Current’. Here I’m in the position of change 1000 of attributes as ‘Current’ in ‘Decision’ columns :'( . It’s bugging me. Are there any short cuts to do this very simple? Any guide will be much appreciated
Thanks in advance.
ViruuUnfortunately, this is a manual process. When you are merging and there are conflicts you have to go through them one by one.
-
MERGE: unexpected behaviour, oracle 11g
Hi all,
I'm facing a strange behaviour with Merge statement.
In particular in doc Oracle we read:
"MERGE is a deterministic statement. That is, you +*cannot update*+ the same row of the target table multiple times in the same MERGE statement."
My source table has two equal key rows and the "merge statement" merge the row with the last value in the source table.
How Is this possible ?
thank you.VERSION:
SQL> select * from v$version
2 ;
BANNER
Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL>MERGE, in a dynamic context:
v_sql :=
'MERGE INTO dwh_cdl.dim_cost_hierarchy dim
USING (SELECT DISTINCT TRIM (item_code) id_item,
NVL (TRIM (CATEGORY), ''ND'') CATEGORY,
r1.r1_code r_1,
r2.r2_code r_2,
r3.r3_code r_3,
r4.r4_code r_4,
w.item_description desc_item
FROM '
|| v_wrk
|| ' w INNER JOIN dwh_cdl.lu_r1 r1
ON (w.r_1 = r1.r1_code)
INNER JOIN dwh_cdl.lu_r2 r2
ON (w.r_2 = r2.r2_code)
INNER JOIN dwh_cdl.lu_r3 r3
ON (w.r_3 = r3.r3_code)
INNER JOIN dwh_cdl.lu_r4 r4
ON (w.r_4 = r4.r4_code)
) wrk
ON ( dim.id_item = wrk.id_item
AND dim.category = wrk.category
AND dim.r1_code = wrk.r_1
AND dim.r2_code = wrk.r_2
AND dim.r3_code = wrk.r_3
AND dim.r4_code = wrk.r_4
AND dim.wid_country = '
|| pkg_global.v_country
|| ')
WHEN MATCHED THEN
UPDATE
SET dim.desc_item = wrk.desc_item
WHEN NOT MATCHED THEN
INSERT (wid_item, id_item, CATEGORY, desc_item, type_item,
flag_valid, r1_code, r2_code, r3_code, r4_code,
wid_country, date_in)
VALUES (pkg_util.get_next_val (''DIM_COST_HIERARCHY''), wrk.id_item,
wrk.CATEGORY, wrk.desc_item, NULL, 1, r_1, r_2, r_3, r_4,
|| pkg_global.v_country
|| ', SYSDATE)';
EXECUTE IMMEDIATE v_sql;The USING table has duplicate key rows. So when join with "dim_cost_hierarchy" Oracle should issue error ! But, it doesn't !
It gets the last one row value. -
Logging in to RPD in online mode fails after upgrading rpd from 10G to 11g
Hello guys
I have an issue here..
I have everything working in 10g using external table authentications by having 2 init blocks:
ISAuthorization --- row wize initailization:
select 'GROUP', UG.GROUPNAME from USER_USERGROUPS FFF, USER U, USERGROUP UG where
UG.ID = FFF.USERGROUPS and
U.ID = FFF.IS_SEC_USER and
UPPER(U.USERNAME) = UPPER(':USER')
ISAuthentication -- 5 target variables: User, email, loglevel,password, displayname
select USERNAME, DISPLAYNAME, LOGLEVEL, EMAIL,PASSWORD from IS_SEC_USER
where UPPER(USERNAME) = UPPER(':USER') and PASSWORD = IS_GET_MD5_VAL(':PASSWORD') ----- IS_GET_MD5_VAL is nothing but a store proc we have to encrypt passwords.
Everything works perfectly in 10G where a new user gets created in the DB table, passwords assigned and encrypted, then I am able to log in using the new user.
The admin user in 10G environment was 'Administrator/admin' which was native in 10g. During the upgrade process, I have set the new password for Administrator to be 'admin123' and upgrade was a success.
Now that I have upgraded the rpd, when I open it in offline mode, I was successful by entering Administrator/admin123. However, when I try to open it in online mode, I encounter the below error:
nqserror:13024 successful completion of initialization block "*ISAuthentication*" is required
My 11g version is 11.1.1.6.5
Any thoughts on how I can debug this issue?
Thanks in advanceJust an update:
In my below set up:
ISAuthentication -- 5 target variables: User, email, loglevel,password, displayname
select USERNAME, DISPLAYNAME, LOGLEVEL, EMAIL,PASSWORD from IS_SEC_USER
where UPPER(USERNAME) = UPPER(':USER') and PASSWORD = IS_GET_MD5_VAL(':PASSWORD')
Variable User and password was 'Administrator' and 'admin' in 10G when I ran the test on the initialization block, however, when I test the same block in 11g rpd, these 2 variables are blank..
I do have 'Administrator' user created through weblogic and it is showing up in the rpd.
Any thoughts on why the variable is not working in 11g rpd?
Thanks -
Subquery inside Merge Into under 11g
create or replace
PROCEDURE SP_IN_CURRENCY
IS
CURSOR csr IS SELECT currency_code FROM in_currency ORDER BY currency_code;
v_hkd_rate NUMBER(15,9);
BEGIN
SELECT spot_rate INTO v_hkd_rate FROM in_currency WHERE in_currency.currency_code = 'HKD';
MERGE INTO currency USING
(SELECT currency_code, spot_rate FROM in_currency WHERE in_currency.currency_code = 'HKD') rec_in_currency
ON (currency.currency_code = rec_in_currency.currency_code)
WHEN MATCHED THEN
UPDATE
SET currency.CURRENCY_NAME = NVL(
(SELECT value
FROM tb_resources
WHERE PACKAGE = 'currency'
AND locale = 'en_US'
AND KEY = rec_in_currency.currency_code
), currency.CURRENCY_NAME),
currency.spot_rate = (v_hkd_rate/rec_in_currency.spot_rate),
currency.SPOT_RATE_IN_USD = rec_in_currency.spot_rate
WHEN NOT MATCHED THEN
INSERT
currency_code,
CURRENCY_NAME,
spot_rate,
SPOT_RATE_IN_USD
VALUES
rec_in_currency.currency_code,
(SELECT value FROM tb_resources WHERE PACKAGE = 'currency' AND locale = 'en_US' AND KEY = rec_in_currency.currency_code),
(v_hkd_rate/rec_in_currency.spot_rate),
rec_in_currency.spot_rate
COMMIT;
END SP_IN_CURRENCY;
The above stored procedure created successfully in 9i but retrun the following error when create on 11g. Anyone has idea? is it the limitation of 11g? The problem was caused by this subquery:
(SELECT value FROM tb_resources WHERE PACKAGE = 'currency' AND locale = 'en_US' AND KEY = rec_in_currency.currency_code),
Error(38,99): PL/SQL: ORA-00904: "REC_IN_CURRENCY"."CURRENCY_CODE": invalid identifiervalue assign in variable equals value return by subquery in USING clause
so (V_HKD_RATE / REC_IN_CURRENCY.SPOT_RATE) = 1
and CURRENCY_CODE = 'HKD'
key = rec_in_currency.currency_code is always 'HKD'
let's say
SPOT_RATE = 999
v_hkd_rate = 999
-- BEFORE:
select spot_rate
into v_hkd_rate
from in_currency
where in_currency.currency_code = 'HKD';
merge into currency using
select currency_code, spot_rate
from in_currency
where in_currency.currency_code = 'HKD'
) rec_in_currency
on
currency.currency_code = rec_in_currency.currency_code
when matched then update set
currency.currency_name = nvl
select value
from tb_resources
where package = 'currency'
and locale = 'en_US'
and key = rec_in_currency.currency_code
, currency.currency_name
,currency.spot_rate = (v_hkd_rate / rec_in_currency.spot_rate)
,currency.spot_rate_in_usd = rec_in_currency.spot_rate
when not matched then insert
currency_code
, currency_name
, spot_rate
, spot_rate_in_usd
values
rec_in_currency.currency_code
select value
from tb_resources
where package = 'currency'
and locale = 'en_US'
and key = rec_in_currency.currency_code
, (v_hkd_rate/rec_in_currency.spot_rate)
, rec_in_currency.spot_rate
-- AFTER:
merge into currency using
select currency_code, spot_rate
-- 'HKD', 999
from in_currency
where in_currency.currency_code = 'HKD'
) rec_in_currency
on
currency.currency_code = 'HKD'
when matched then update set
/* If value IS NULL update with current value? I think you should change it... */
currency.currency_name = nvl
select value
from tb_resources
where package = 'currency'
and locale = 'en_US'
and key ='HKD'
, currency.currency_name
, currency.spot_rate = 999/999
, currency.spot_rate_in_usd = 999
when not matched then insert
currency_code
, currency_name
, spot_rate
, spot_rate_in_usd
values
'HKD'
select value
from tb_resources
where package = 'currency'
and locale = 'en_US'
and key = 'HKD'
, 999/999
, 999
Can anybody check it?
*/ -
Reinstalling RPD in OBIEE environment 11g
Hi,
I have installed OBIEE 11g and oracle database in Linux environment. Earlier i installed an RPD in my linux server ( RPD was generated in a different windows machine in which BI client is installed.) Now , I have made some offline changed ising Bi administrator and i believe the RPD file i now have in my windows machine is updated one with all the changes. I now want to deploy this RPD file in my linux machine.
Question: Shall i simply replace the old RPD file with new RPD file and go ahead with deployment or there is a different way to do the deployment ??Hi,
You should really use, Enterprise Manager to upload your new RPD.
Navigate to EM > Business Intelligence Core Application > Deployment > Repository.
Here browse the new RPD from your local and upload it. You will need to restart in order for new RPD to be available. -
Global Consistency Check Errors after RPD Merge: 38120 and 38015
Dears
Can anyone of you point me to a documentation explains Global Consistency Check error numbers in details ?
After merging 2 RPDs, it gives me the following errors: 38120 and 38015
Thanks38120: Dimension xyz is not associated with any table(s)
Comments: I checked this Dim table and did find tables associated with it. Don't know how else to check ?
38015: Physical tables "<ABC>"."Fact - abc" and "<ABC>"."Dim - lmn" have multiple joins. Delete new foreign key object if it is a duplicate of existing foreign key.
Comments: I did check the joins between this Fact and Dim table and found only 1 join. -
Significance of checking "Equalize" during RPD merge
Hi,
Can anybody tell the significance of checking "Equalize" when we merge two repositories.
Thanks,
AnileshHi,
3 way merge.
Re: Logic Behind 3 way merge of RPD -- refer this thread.
Example:-
Dev --> Uat--Prod --- best example.
We have a repository in our test environment(*Original*) which has a presentation folder A. The same RPD(*Current*) was moved to production. Now the developers moved a new RPD(*Modified*) to test which has some minor changes to presentation folder A and has a new presentation folder B. We want only the new presentation folder B to move to Current A in current.
Hope this help's
Thanks,
Satya -
Multiple versions of RPD getting created in 11g
Hi,
I'm using OBIEE 11g. Whenever i host the rpd OBIEE by itself creates a copy of it rpdname_BI0001.rpd (and so on rpdname_BI0002.rpd....) every time i host it.Moreover, when ever i do online changes they are not reflected in my original rpd (say rpdname.rpd) however they are seen on the latest version of the rpd (rpdname_BI0010.rpd).
This behavior is unlike OBIEE 10g where the online changes always reflected on original version of RPD and moreover no versions of the rpd were created. Is this a bug or there is some configuration setting that needs to be done to avoid this problem.
Thx :)Hi user,
Login to FMW Control, then navigate to BusinessIntelligence > coreapplication > Capacity Management > Performance tab
Check if "*Disallow Online RPD Updates*" is selected which is used to disallow updates to the repository file.
Regards,
Kalyan
http://123obi.com -
How may I update the RPD file on obiee 11g
how can I update my repoistory file to the obiee11g server? -thanks
Hi,
Please refer this, http://shivabizint.wordpress.com/2012/05/06/manual-deployment-of-obiee-11g-rpd/
Regards,
Dpka -
Folder Merge - Default behaviour when pasting a folder?
Hi,
I've just been playing around with a student copy of Server 2012, trying to catchup on the changes (after taking a few years out of working in IT to study a degree).
One thing I've noticed is that if I copy a folder on top of another folder the default behaviour is to merge to two folders without asking for confirmation (I'm sure this was never the case on any other version of Windows??? Actually scrap that,
I just tried it with Windows 8 and was surprised to find out it happens on W8 too, although it doesn't happen on Windows 7!). I'm 99% sure previous server builds didn't do this (unfortunately I don't have one handy to test it).
To give an example of the issue:
Say I have C:/files
I create a new folder C:/files/docs
A few months down the line my "/files" folder has grown massive (at least 640K! I know, I know. Urban myth! Bite me!).. and now contains hundreds of sub-folders, I've totally forgotten that it contains a "/docs" folder!
Now I have another "/docs" folder in another directory which would like to store in "/files" so I cut and paste it and..... in previous versions of windows I would have got something like:
"The Destination already contains a folder called "docs" (...) Do you still want to merge this folder?"
To which I answer Yes/No/(All). Now, in the current Window versions, the two folders just "merge" together (I'm not even sure "merge" is the right term, as the destination folder keeps the permissions it already had, ignoring
any on the folder you are pasting). Now, I'm not dealing with sensitive information, but I can imagine scenarios where this might not be desirable behaviour.
Unless the two folders contain a file with the same name (in which case you do get a dialogue, asking if you want to overwrite the file), you don't even get a warning that there is already a folder with that name (with different permissions) in
the folder you are pasting into!
Is there a setting? policy? registry hack? anything? which returns to pre-windows 8/server 2012 way of asking if you're sure you want to merge folders?
TL:DR version. I want to bring back the "The Destination already contains a folder called "<whatever>" (...) Do you still want to merge this folder?" dialogue!
Thanks in Advance.
ZeBHi,
As you said it is changed since Windows Server 2012/8.
However you can change it back - go to Folder Options, in View tab please uncheck "Hide folder merge conflicts".
If you have any feedback on our support, please send to [email protected] -
RPD change in obiee 11g (11.1.1.5) to online mode
HI,
In 10g, to change the repository to online mode we will update the reporsitory name under star in NQSConfig file. In 11g, we need to do in Enterprise Manager and it is bit time consuming process as EM is slow in my machine.
Is there any way like changing the name simply like in 10g, I can do in 11g also.
Thanks.You have to disable the central configuration:
http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10541/disable_em.htm#BEIIAEGD
Change your repository in the file nqsconfig.ini
and
change the password if needed in the credential store ...
http://gerardnico.com/wiki/_detail/dat/obiee/obiee11g_credential_store.jpg?id=dat%3Aobiee%3Acredential
But if you can't open EM, it will be very difficult and may be you must have to add resource (memory, ...) to your server.
Regards,
-Amith. -
Forms 6i, Stacked & Tabbed Canvas- Wierd behaviour
Hi,
I am having a wierd problem:
Scenario:
I have a datablock of 40 columns.
I put 1 (say col-1 on page_1 and col-21 on page_2) column each on two different TAB pages.
I created 2 stacked canvases: page_1_stacked & page_2_stacked
I put col-2 to col-10 on page_1_stacked
and col-22 to col-40 on page_2_stacked
I used the following code to show/hide the appropriate cols/stack canvases when the users changes Tab pages:
[when-tab-page-changed
if (:system.tab_new_page ='PAGE_1')
then
show_view('PAGE_1_STACKED');
hide_view(''PAGE_2_STACKED'');
elsif (:system.tab_new_page ='PAGE_2')
then
hide_view('PAGE_1_STACKED');
show_view(''PAGE_2_STACKED'');
end if;
Problem:
Everything seems to work fine, the stacked canvases show/hide as expected, but --->as soon as I put my cursor in any column on TABBED PAGE (here col-1 or col-21), all the stacked canvases vanish
-->if as a result of above case where I put the cursor in a tabbed-page col and canvas vanished, I navigate to the next field (which is on canvas), the canvas shows up (which is normal)....but then this canvas wont get hidden with my hide view... and end up with all stacked canvases shown together or none at all
I have played around with all the properties and am really trapped.
Please help!
Thanks.Devang, are you aware that if you put the cursor focus in a field, Forms will ignore any show_view or hide_view commands if they cause the cursor to disappear? And if your cursor focus is in a field in a stacked view, hide_view will not work. Forms will not let you hide or cover up what ever item is identified by :System.Cursor_Item.
I do not know why you need Col_1 or col_21 on the tab canvas. Put them on your stacked canvasses, too.
Use a when-new-item-instance block-level trigger to determine which tab page should be displayed. If :System.trigger_item = col_1 through col_20, make sure Page_1 is displayed, and for col_21 through col_40, make sure Page_2 is displayed.
Similarly, use a when-tab-page-changed trigger to move the cursor to the correct canvas. You wouldn't even need to use show_view or hide_view, Forms will do that for you each time you move into an item on either canvas.
And why are you using two canvases anyway? Since you are using a horizontal scrollbar, why not put them all on a single canvas? (And then you wouldn't need the tab pages.)
Maybe you are looking for
-
Conversion error in write access to a property
Hello, in JSF I get a conversion error when I try to save an order. An order object has a from- and a to-address. To avoid duplicate coding I encapsulated the address data in a class Address. public class Order implements Serializable{ private Addr
-
Looking for help for model # C655-S5543
I ran my windows 7 upgrade advisor it is telling me that I have hardware set up Version 2.1.0.3 need to update to compatable version. Please haelp, i have no idea how or where to find this Solved! Go to Solution.
-
How to fix ORA-01658 error message
Am trying to get a old bit of database code working and am getting the following errors with the following REM ********************************************************************** CREATE TABLE gam_service ( /*gam_ser*/ service_group_id NUMBER(10) N
-
Have HVX200, need to get footage to PC HELP!!!!
Ok, so I have an HVX200 and final cut 4.5 and since 4.5 doesn't recognize p2 files and I can't get FCP 5 without paying the full price (I have the academic version and you can't upgrade it), i'm having to do a capture directly from the camera. So aft
-
I went to install WM Patch 10.2.0.4.2 on my XE 10.2.0.1.0 database and it fails. The patch ReadMe implies that this will work, and I have had luck installing previous versions of the WM patch. The 10.2.0.2 WM patch installed wo errors for me and work