How to wrap OWB mappings?
Hi,
Can anyone guide me how to wrap the OWB mappings. At the production site, we do not want the client to open the OWB client and see the mappings. Even when we send the upgrades (add mappings to the project), also the client should not open the project and do it from OWB. pls post your suggestions.
Thanks,
Kishan
Hi,
Can anyone guide me how to wrap the OWB mappings. At
the production site, we do not want the client to
open the OWB client and see the mappings. Even when
we send the upgrades (add mappings to the project),
also the client should not open the project and do it
from OWB. pls post your suggestions.
Thanks,
KishanKishan... Perhaps it is your choice of words but it seems like you are trying to hide your implementation from the customer? This customer will blindly run a script you deliver without even the ability to examine your work? That is a very trusting customer... one that wishes to not participate in any review (even high level) of your solution.
Indeed... OMB will work... If you need more control you could consider using the Java API provided as well... However, if this is a customer with which you've established trust they could also provide you with VNC/ssh -x/other remote access. After all, even if the script runs perfectly 100 times at your location there still might be issues with deployment at theirs. It would be tough to build an OMBPlus script to "troubleshoot" these types of things, yes?
Good luck...
Similar Messages
-
Hi all
We have owb mappings which I want to include in as part of a custom software. We would be delivering the solution to the client. Is it required for client to have owb installed can't they use the packages created by the mapping.
I want to run these mapping at client site so want to wrap them within a custom software as a whole. what is the best approach? how can I use these mappings at the client site how do I use these.
Pls post your suggestionsHi,
you can wrap the package bodies with http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/wrap.htm.
You need a repository on the server where you want to run the mappings. Normally you need a owb installation too. Otherwise you must create a clone of the rep using a dump.
Regards,
Detlef -
How to run OWB mappings from SQL*Plus
Hi:
I used to run OWB mappings using the sample code RUN_MY_OWB_STUFF in a customized PL/SQL procedure. This works for OWB 10g release 1 but not for OWB Paris (10g Release 2) because the execution always returns FAILURE.
Is there something new in OWB Paris that RUN_MY_OWB_STUFF doesn't work anymore?
Thanks,
Hazbleydi C. VerásteguiHi Maruthi:
I already check the input parameters of the mapping. I'm setting them as a custom parameters. This is the output of the execution:
16:01:11 SQL> EXEC PR_RUN_OWBMAPPING_TABLA2('MPG_EMPLEADOS_NOMINA_PERIODO',2007,01);
Stage 1: Decoding Parameters
| location_name=LOC_DM_STAGING
| task_type=PLSQL
| task_name=MPG_EMPLEADOS_NOMINA_PERIODO
Stage 2: Opening Task
| l_audit_execution_id=39635
Stage 3: Overriding Parameters
| P_ANO%CUSTOM='2007'
| P_MES%CUSTOM='1'
Stage 4: Executing Task
| l_audit_result=3 (FAILURE)
Stage 5: Closing Task
Stage 6: Processing Result
| exit=3
By the way, RUN_MY_OWB_STUFF is the same as RUN_OWB_CODE.sql except for the two first parameters (p_result and p_audit_id):
create or replace procedure run_owb_code
( p_result out number
, p_audit_id out number
, p_repos_owner in varchar2 default null
, p_location_name in varchar2 default null
, p_task_type in varchar2 default null
, p_task_name in varchar2 default null
, p_system_params in varchar2 default '","'
, p_custom_params in varchar2 default '","'
, p_oem_friendly in number default 0
is
CREATE OR REPLACE function run_my_owb_stuff
( p_repos_owner in varchar2 default null
, p_location_name in varchar2 default null
, p_task_type in varchar2 default null
, p_task_name in varchar2 default null
, p_system_params in varchar2 default '","'
, p_custom_params in varchar2 default '","'
, p_oem_friendly in number default 0
) return number
is
How do you invoke your wrapper PL/SQL with these two first parameters?
Thanks in advance,
Hazbleydi C. Verástegui -
How to migrate OWB mappings in ODI
Dear All,
I would require your valuable inputs for following points.
1. How do we do the deployment on multiple sites in ODI? what is the methdology or steps? R there any third party tools to do the same? what are they?
2. Is there any scripting language in ODI similar to OMB meta data scripting languate as in OWB which can be used to automate and speed up the multi site deployment?
3. What is the process of step to convert OWB mappings to ODI interfaces? Does oracle provides any tools or methodology to do the migration from OWB to ODI.?R there any third party tools to do the same? what are they?
Thanks and Regards
Edited by: 910192 on Aug 16, 2012 10:22 PM
Edited by: 910192 on Aug 16, 2012 11:54 PM910192 wrote:
Dear All,
I would require your valuable inputs for following points.
1. How do we do the deployment on multiple sites in ODI? what is the methdology or steps? R there any third party tools to do the same? what are they?If you mean databases as 'sites' then you just configure seperate phyiscal connections and choose if you want to implicitly refer to each DB in your code or use Contexts to determine which database to use at run time.
Also careful consideration / deployment of ODI Agents allow you to run / execute / invoke you code from just about anywhere you want to (Target database, remote file system, source servers etc)
2. Is there any scripting language in ODI similar to OMB meta data scripting languate as in OWB which can be used to automate and speed up the multi site deployment?There is an SDK and groovy can be used : https://blogs.oracle.com/dataintegration/entry/odi_11g_insight_to_the
3. What is the process of step to convert OWB mappings to ODI interfaces? Does oracle provides any tools or methodology to do the migration from OWB to ODI.?R there any third party tools to do the same? what are they?Not sure if Oracle have formally released a step by step process yet, they promise an upgrade path to OWB users to migrate, there is a consulting offer for this : http://www.oracle.com/us/products/consulting/resource-library/owb-odi-migration-ds-1367824.pdf
ALso an italian company has / is developing a migration tool : http://www.owb2odiconverter.com/eng/index.html -
How to call OWB Mappings?
Hi,
I need to call the OWB mappings from an Oracle stored procedure.How can I implement this?
Regards
KishanHi Kishan,
Use sqlplus_exec_template.sql in <OWB_HOME>\owb\rtp\sql\.
Alternatively you can use similar code provided by OWB-team: http://www.oracle.com/technology/sample_code/products/warehouse/files/run_my_owb_stuff.sql
Good luck, Patrick -
How to call owb mappings using Control M
Hi Guru's,
Please help me with the script/steps for calling OWB mappings in Control M.
Thanks in advance!Hi Kishan,
Use sqlplus_exec_template.sql in <OWB_HOME>\owb\rtp\sql\.
Alternatively you can use similar code provided by OWB-team: http://www.oracle.com/technology/sample_code/products/warehouse/files/run_my_owb_stuff.sql
Good luck, Patrick -
Want to run owb mappings thru job schedule
hi all,
need some help here. hope u guys can give me an idea. all this while i've been executing my owb mappings thru the deployment manager. instead of doing so, can i execute the mappings thru scheduling?? if yes, how can i do it??
i've tried using the OMS. From there i can create some jobs, but it's not taking from the mappings. i'm still trying. hope to get some good tips on how to do it. thanks in advance.Hmm, trying to execute it from the 10g web OEM, I ran into a problem - it returns the following:
ORA-27370: job slave failed to launch a job of type EXECUTABLE ORA-27300: OS system dependent operation:accessing execution agent failed with status: 2 ORA-27301: OS failure message: The system cannot find the file specified. ORA-27302: failure occurred at: sjsec 6 ORA-27303: additional information: The system cannot find the file specified.
I'm wondering, since I have logged in locally on the server, and the file really do exist...
You have a clue?
Yours
Kim -
SUM...OVER... in OWB mappings
Hello,
I need to implement the following phrase in OWB mappings, how would I do it?
select lot, pdate, sum(rec_amount) over (order by pdate rows between unbounded preceding and current row) from S1;
Where S1 is the result of a set operator.
Thank you,
GHHi,
Thanks for the quick reply oleg. I got the sum()..over() clause working thanks to your screenshot. However, i got a little side problem here. The sum()..over() clause should take data in this form (product sales table)
PRODUCT 01/01 01/02 01/03 01/04 01/05
A 100 200 (null) 100 (null)
B 50 (null) 100 (null) 10
and turn it into something like
Product 01/01 01/02 01/03 01/04 01/05
A 100 300 300(*) 400 400(*)
B 50 50(*) 150 150(*) 160
The numbers in the above table that were attached to a (*) were not generated, however, since on those dates, no transaction occurred for such product. I need to have these days since the result of such table will be mapped to a MOLAP cube. If such number doesn't exist in the tables, it certainly won't exist in the MOLAP cubes, (right?) unless there are some procedures or functions that can automatically fill in those with (*) in the cube or elsewhere.
Please advise on this,
GH -
Migrating from Dev repository to Production repository..owb mappings..
We have OWB 9i with Oracle 9i in Dev Repository.
We are currently in Development phase.But sooner will be migrating to production. I am new to this kind of process of migration.
How do we go about migrating OWB mappings from development Repository to Production repository.
Any suggestions would be helpful.It's URGENT !!
thanks.I recommend you to post this in:
Forums Home » Oracle Technology Network (OTN) » Technologies » Data Warehousing and Business Intelligence
http://forums.oracle.com/forums/index.jsp?cat=16
Joel Pérez -
Calling OWB mappings within apply handlers
Hi,
I have configured streams to capture changes in my source tables. And in my apply process, I have set apply handlers which try to call OWB mappings for populating data into destination tables. But I am getting an error while doing so -
ORA-20213: Unable to create standalone job record - there may be no task defined for this map
How can i solve this problem?
Thanks
GiriHi Giri,
First of all some good news. We are adding exactly this functionality to the new release of OWB (soon to be in beta).
Now for solving this, there is another thread on the forum about this. I have not tried this myself, but if you are calling this from pl/sql you may want to use the example on OTN (run_my_owb_stuff.sql) which you can find here: http://www.oracle.com/technology/sample_code/products/warehouse/index.html
That will create a procedure that you can call from the apply handler.
Hope this points you in the right direction,
Jean-Pierre -
Does any one know how to wrap a view in Oracle, I know it is not possible, yet. Are there any third party software to wrap the logic in the view.
Thanks,
SanjayYour best bet is to write a view that queries the source tables and contains any necessary business logic
CREATE VIEW VBASE AS SELECT A.COLUMN_A FROM TABLE_1 A, TABLE_2 B, TABLE_3 C WHERE A.ID = B.ID AND B.ID = C.ID;
create a view for exposure to the user that queries the base view.
CREATE VIEW VSECURE AS SELECT COLUMN_B FROM VBASE;
and grant privileges to VSECURE.
GRANT SELECT ON VSECURE TO SECURE_USER;
This will allow the user to see, query, and describe VSECURE without seeing the definition for VBASE.
The advantage of the this approach is that the query engine can still push predicates down into the base view to optimize the performance or the query where as this is limited with the pipeline function and can become a tuning headache.
eg.
SQL> -----------------------------------------
SQL> -- create some tables
SQL> -----------------------------------------
SQL> CREATE TABLE table_1(ID NUMBER, MESSAGE VARCHAR2(100))
Table created.
SQL> CREATE TABLE table_2(ID NUMBER, message2 VARCHAR2(100))
Table created.
SQL> CREATE TABLE table_3(ID NUMBER, message3 VARCHAR2(100))
Table created.
SQL> -----------------------------------------
SQL> -- populate tables with some data
SQL> -----------------------------------------
SQL> INSERT INTO table_1
SELECT ROWNUM,
CASE
WHEN MOD ( ROWNUM, 50 ) = 0 THEN 'HELLO there joe'
ELSE 'goodbye joe'
END
FROM DUAL
CONNECT BY LEVEL < 1000000
999999 rows created.
SQL> INSERT INTO table_2
SELECT ROWNUM,
CASE
WHEN MOD ( ROWNUM, 50 ) = 0 THEN 'how are you joe'
ELSE 'good to see you joe'
END
FROM DUAL
CONNECT BY LEVEL < 1000000
999999 rows created.
SQL> INSERT INTO table_3
SELECT ROWNUM,
CASE
WHEN MOD ( ROWNUM, 50 ) = 0 THEN 'just some data'
ELSE 'other stuff'
END
FROM DUAL
CONNECT BY LEVEL < 1000000
999999 rows created.
SQL> -----------------------------------------
SQL> --create base view
SQL> -----------------------------------------
SQL> CREATE OR REPLACE VIEW vbase AS
SELECT a.MESSAGE,
c.message3
FROM table_1 a,
table_2 b,
table_3 c
WHERE a.ID = b.ID
AND b.ID = c.ID
View created.
SQL> -----------------------------------------
SQL> --create secure view using base view
SQL> -----------------------------------------
SQL> CREATE OR REPLACE VIEW vsecure AS
SELECT MESSAGE,
message3
FROM vbase
View created.
SQL> -----------------------------------------
SQL> -- create row type for pipeline function
SQL> -----------------------------------------
SQL> CREATE OR REPLACE TYPE vbase_row
AS OBJECT
message varchar2(100),
message3 varchar2(100)
Type created.
SQL> -----------------------------------------
SQL> -- create table type for pipeline function
SQL> -----------------------------------------
SQL> CREATE OR REPLACE TYPE vbase_table
AS TABLE OF vbase_row;
Type created.
SQL> -----------------------------------------
SQL> -- create package
SQL> -----------------------------------------
SQL> CREATE OR REPLACE PACKAGE pkg_getdata AS
FUNCTION f_get_vbase
RETURN vbase_table PIPELINED;
END;
Package created.
SQL> -----------------------------------------
SQL> -- create package body with pipeline function using same query as vbase
SQL> -----------------------------------------
SQL> CREATE OR REPLACE PACKAGE BODY pkg_getdata AS
FUNCTION f_get_vbase
RETURN vbase_table PIPELINED IS
CURSOR cur IS
SELECT a.MESSAGE,
c.message3
FROM table_1 a,
table_2 b,
table_3 c
WHERE a.ID = b.ID
AND b.ID = c.ID;
BEGIN
FOR rec IN cur
LOOP
PIPE ROW ( vbase_row ( rec.MESSAGE, rec.message3 ) );
END LOOP;
END;
END pkg_getdata;
Package body created.
SQL> -----------------------------------------
SQL> -- create secure view using pipeline function
SQL> -----------------------------------------
SQL> CREATE or replace VIEW vsecure_with_pipe AS
SELECT *
FROM TABLE ( pkg_getdata.f_get_vbase ( ) )
View created.
SQL> -----------------------------------------
SQL> -- this would grant select on the 2 views, one with nested view, one with nested pipeline function
SQL> -----------------------------------------
SQL> GRANT SELECT ON vsecure TO test_user
Grant complete.
SQL> GRANT SELECT ON vsecure_with_pipe TO test_user
Grant complete.
SQL> explain plan for
SELECT *
FROM vsecure
WHERE MESSAGE LIKE 'HELLO%'
Explain complete.
SQL> SELECT *
FROM TABLE ( DBMS_XPLAN.display ( ) )
PLAN_TABLE_OUTPUT
Plan hash value: 3905984671
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 16939 | 2365K| | 3098 (3)| 00:00:54 |
|* 1 | HASH JOIN | | 16939 | 2365K| 2120K| 3098 (3)| 00:00:54 |
|* 2 | HASH JOIN | | 24103 | 1835K| | 993 (5)| 00:00:18 |
|* 3 | TABLE ACCESS FULL| TABLE_1 | 24102 | 1529K| | 426 (5)| 00:00:08 |
| 4 | TABLE ACCESS FULL| TABLE_2 | 1175K| 14M| | 559 (3)| 00:00:10 |
| 5 | TABLE ACCESS FULL | TABLE_3 | 826K| 51M| | 415 (3)| 00:00:08 |
Predicate Information (identified by operation id):
1 - access("B"."ID"="C"."ID")
2 - access("A"."ID"="B"."ID")
3 - filter("A"."MESSAGE" LIKE 'HELLO%')
Note
PLAN_TABLE_OUTPUT
- dynamic sampling used for this statement
23 rows selected.
SQL> -----------------------------------------
SQL> -- note that the explain plan shows the predicate pushed down into the base view.
SQL> -----------------------------------------
SQL> explain plan for
SELECT count(*)
FROM vsecure_with_pipe
WHERE MESSAGE LIKE 'HELLO%'
Explain complete.
SQL> SELECT *
FROM TABLE ( DBMS_XPLAN.display ( ) )
PLAN_TABLE_OUTPUT
Plan hash value: 19045890
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 2 | 15 (0)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | 2 | | |
|* 2 | COLLECTION ITERATOR PICKLER FETCH| F_GET_VBASE | | | | |
Predicate Information (identified by operation id):
2 - filter(VALUE(KOKBF$) LIKE 'HELLO%')
14 rows selected.
SQL> -----------------------------------------
SQL> -- note that the filter is applied on the results of the pipeline function
SQL> -----------------------------------------
SQL> set timing on
SQL> SELECT count(*)
FROM vsecure
WHERE MESSAGE LIKE 'HELLO%'
COUNT(*)
19999
1 row selected.
Elapsed: 00:00:01.42
SQL> SELECT count(*)
FROM vsecure_with_pipe
WHERE MESSAGE LIKE 'HELLO%'
COUNT(*)
19999
1 row selected.
Elapsed: 00:00:04.11
SQL> -----------------------------------------
SQL> -- note the difference in the execution times.
SQL> ----------------------------------------- -
How to wrap text around a table
I'm new to Pages. The first thing I tried to do was play with tables, because they are the biggest headache in Microsoft Word. However, I ran into a problem right away--I cannot figure out how to wrap text tightly around a table so that the table is surrounded by text on all four sides.
Does anyone know how to do this? Seems very basic. There is even a button that shows what I want (Text Wrap drop-down --> Around), but when I click on it, nothing happens.Peter,
I can recreate the appearance with five hard returns after the first paragraph, or instead, changing the After Paragraph spacing to 116 pt. Did this with Baskerville Regular 12 pt with line spacing set at 1. Same Arrange settings as shown by OP. -
How to wrap the text in column headers?
Hi Friends,
Can anyone please suggest how to wrap the text in column headers of a Java WebDynpro table?
I believe that caption is the only UI element that a column header can have and it does not allow wrapping of the text.
My original requirement is as follows,
In a table I need to dynamically set the width of the columns according to the width configured by the user in some other view. All the columns of the table are dynamically rendered.
Now what happens is when the user sets the width of the column to a rather low value, say 15 pixels, then the column is displayed like
Supplier Catalog Name
Sheila
Catalog
Name
Dropdown
As you can see it looks rather odd.
Supplier Catalog Name is the header of the column and I use IWDCaption for header.
Sheila Catalog Name Dropdown is the value of a particular row at the specified column. I am using a TextView as the TableCellEditor.
I think what is happening here is that the framework wraps the text in the TextView according to the width specified (15px) and then the column width is extended because it can not accommodate the text (Supplier Catalog Name ) of the column header.
We are using SAP NetWeaver Development Studio 7.0.12 as the IDE.
I searched some forums and many people have suggested using scrollable columns but I don't understand how it will help in wrapping the text in a column header.
Any help would be of great advantage.
Thanks
AmitHi Deepti,
Thanks a lot for the answer but the option that you have specified does not wrap the text. Instead it truncates the text being displayed and only the substring of the text which could be displayed in the given pixels is displayed.
I need to show the whole text wrapped (Meaning if the width of the column is not sufficient then the text goes into the next line).
Ayyapparaj,
Thanks to you too for an helpful answer. It seems that the Netweaver has finally come up with a way to wrap the text in the column headers but as Manoj pointed out, I do not see the property headerTextWrapping for a table column, Can you please specify which version of netweaver supports it?
We are using SAP NetWeaver Development Studio 7.0.12 as the IDE.
Thanks
Amit Kapoor -
How to install owb 10.2 on aix server
server machine:
os: aix
owb version:10.2.0.1
oracle db version:10.2.0.1
client machine:
compad notebook
os:windows xp
owb version:10.2.0.1
the oracle db is installed on the server machine
when ready to install owb on the server machine ,i have some question:
1.before install owb,i have set ORACLE_HOME variable to oracle db installed directory.
now how to set owb env variable, i should set ORACLE_HOME or OWB_ORACLE_HOME variable to owb will install directory?
export ORACLE_HOME=owb install directory or export OWB_ORACLE_HOME= owb install directory?
is it conflict with oracle db?
2.after installed owb,how to startup the control center service;according to the document,run the OWB_ORACLE_HOME/owb/rtp/sql/start_service.sql
script ,but when i do so,it run error;
sqlplus sys/sys@orcl as sysdba
SQL> @F:\oraHome_4\owb\rtp\sql\start_service.sql
service_available(l_available);
error ocur on line 13
ORA-06550: line 13, col 7 :
PLS-00201: must declare 'SERVICE_AVAILABLE'
ORA-06550: line 13, col 7 :
PL/SQL: Statement ignored
ORA-06550: line 20, col 9 :
PL/SQL: ORA-00942: table or view not exist
the same to running the service_doctor.sql script
question:
a.how to solve it?
b.according to the start_service.sql script statement,should Logon as the Control Center Owner,then run start_service.sql
after installed owb,i have never created any user,what is the Control Center Owner?is it necessary to logon as the Control Center Owner?
c.when control center service to startup?and is it auto startup?
d.what is the control center service ,is it reside in oracle db?
e.when install owb,does the owb manipulate the oracle db,and write some script into oracle db?
3.create repository
first time to create the repository owner and user,is it necessary that creating those on server machine?
can i use the owb installed my local notebook machine to create the repository owner , user and target schema?
Message was edited by:
myfuture1
Message was edited by:
myfuture11. Install OWB in a new home
2. You must create a repository before you can start the Control Center Service
3. I'm not sure, but I think you can use your local OWB
Hope this helps
Mate -
How to install owb server-side software on UNIX Solaris (SPACR-64)?
Hi there,
How to install owb server-side software on UNIX Solaris (SPACR-64)?
I've read the install guide
and it mentions
3. Start the installer by entering the following at the prompt:
cd mount_point
./runInstaller
I don't have access to any graphical interface on the UNIX box e.g. x-windows nor any cd with the software, just the solaris software downloaded from web - does this include the runinstaller
and is the runisnatller just a command line interface?
I hoped I would be able to download the software from oracle website and then simply run the a setup scrip?
Is it possible to do this? Would I simply substitute cd mount_point to cd <directory I put software)
I've never ran oracle universall installer on UNIX before.
Many Thanks
Edited by: user575470 on Feb 15, 2009 7:54 AM
Edited by: user575470 on Feb 15, 2009 8:06 AMHi,
You can install the server-side software from the downloaded software.
You don't need the CD
You do need an X-windows client on your computer to connect to the server OR work directly on the server.
Without X-windows you cannot start the Oracle Universal Installer.
Maybe there is a command line installation, I have never used this.
I hope this helps.
Regards,
Emile
Maybe you are looking for
-
No data for a week now, why?
I just came to Verizon a week ago. I got the Droid Razr for my wife and i had to order the Razr Maxx for me. Well i took some time to get my phone but once i did i had it one day and the next we had no data service. Both our phones have no data and s
-
CS3 Bridge keyword search failure
To the best of my knowledge this particular issue has not been covered in the dozens of prior posts about keywords. I apologize if I've missed it. My photos, by the nature of their creation and paperwork generation, are organized by overall dividers
-
I'm trying to download the new version of itunes. durig the install i get a message that I need to verify that I have sufficient privilege. Then I get a message of a Windows error 126 and a missing file MSVCR 80.dll. I've tried everything on the supp
-
Runtime Error '429': ActiveX component can't create object
Hi, I am using below code in vb6 application but this is throwing an "Runtime Error '429': ActiveX component can't create object" error. CreateObject("OracleInProcServer.XoraSession") is that due to any dll or reference error ? I have an Oracle clien
-
No preview line for baintbrush tool or pencil tool
hi, im using cs4. I have the program at school and just got it onto my computer. usually when you draw with the pancil or paintbrush tool you see that dotted looking preview line before you release your mouse click. the one depicted here. After insta