Executing the mapping in OWB
hi ...
am new to OWB and stuck up in some issue.
I have created a mapping and validated it .also created connections for the source and target .
could you let me know how to run the mapping and check the status of the mapping whether its running or failed or succeeded
i require the sequence of steps..
thanks in advance for the help
regards
raj
Hi Raj,
OWB Mappings executed through Control Center Manager. Please open Control Center Manager, navigate to your mapping, deploy that and then execute.
PS: Make sure you have created the location for the module where you created mapping.
Thanks,
G
Similar Messages
-
Error while Executing the mapping
While I am executing the mapping this error is thrown by the server. It is big mapping and references many parent tables.
ORA-12801: error signaled in parallel query server P001 ORA-01114: IO error writing block to file 201 (block # 523269) ORA-27069: skgfdisp: attempt to do I/O beyond the range of the file OSD-04026: Invalid parameter passed. (OS 523275) ORA-01114: IO error writing block to file 201 (block # 523269) ORA-27069: skgfdisp: attempt to do I/O beyond the range of the file OSD-04026: Invalid parameter passed. (OS 523275)
Can you please provide the solution for this.
Thanks in advance.This seems to be a DB server error, not an OWB issue. You should contact Oracle support.
Regards:
Igor -
Ora -06550 error while executing the mapping
Hi,
I am using owb client 11.2.0.3 . I have mapping map_emlap_src in this mapping i have import tables from different scehema and i have done one to one mapping on both the table .
While executing the mapping i got the following error .
ORA-06550: line 1, column 1082:
PLS-00302: component 'MAP_EMLAP_SRC' must be declared
ORA-06550: line 1, column 1062:
PL/SQL: Statement ignoredgrant execute on owner_name.MAP_EMLAP_SRC to user_name;
-
Hello,
I want to execute a mapping outside OWB. Therefore I want to use this code:
DECLARE
l_retval NUMBER;
l_env WB_RT_MAPAUDIT.WB_RT_NAME_VALUES;
BEGIN
l_retval := mapping_name.MAIN(l_env);
END;
The problem I have now is that I don't know how to fill variable l_env.LS,
Try this one from SQL*Plus (got this from André Deumers, Oracle NL):
"set verify off
set feed off
set term on
set serveroutput on
WHENEVER SQLERROR CONTINUE NONE;
accept mapping prompt "Please enter mapping name: "
DECLARE
RetVal NUMBER;
P_ENV WB_RT_MAPAUDIT.WB_RT_NAME_VALUES;
BEGIN
-- Initialize Parameters
p_env(1).param_name := 'MAX_NO_OF_ERRORS';
p_env(1).param_value := '0';
p_env(2).param_name := 'COMMIT_FREQUENCY';
p_env(2).param_value := '999999';
p_env(3).param_name := 'OPERATING_MODE';
p_env(3).param_value := '1'; -- ROW_BASED
p_env(4).param_name := 'BULK_SIZE';
p_env(4).param_value := '999999';
DBMS_Output.Put_Line('Procedure start: ' || to_char(sysdate, 'dd-mm-yyyy hh24:mi:ss'));
FOR i IN 1..p_env.COUNT LOOP
DBMS_Output.Put_Line(p_env(i).param_name || ' = ' || p_env(i).param_value);
END LOOP;
RetVal := &mapping..MAIN ( p_env );
CASE WHEN RetVal = 0 THEN DBMS_Output.Put_Line('Result Successful');
WHEN RetVal = 1 THEN DBMS_Output.Put_Line('Result Abort');
WHEN RetVal = 2 THEN DBMS_Output.Put_Line('Result Error');
ELSE DBMS_Output.Put_Line('Result Unknown?');
END CASE;
DBMS_Output.Put_Line('Procedure stop: ' || to_char(sysdate, 'dd-mm-yyyy hh24:mi:ss'));
END;
set verify on
set feed on
If you want to execute something like this from PL/SQL, so not necessarily from SQL*Plus, give us the question, I'll give you some source.
Regards,
André -
Problem in executing the mapping from outside OWB
hi guys,
i am facing a strange problem in a regular fashion.
i have developed 4 mappings - the mappings have been validated with warnings, all of column lengths and data length related.
the mappings have been deployed successfully - which i have also verified by checking the generated package in the backend - it is
in a valid state.
but when i am running the package thru the pl/sql block, tho it returns me a retval=0 (and sometimes retval=2) but no data transfer is happening, the same thing is
occuring when i try to run the mapping thru the deployment manager in the OWB. but through the debugger all the DML operations of
upsert(insert/update) and delete are working perfect with the correct transformations.
this is happening for all the mappings that i have developed.
need urgent help.
thanks and regards,
Prasenjiti am going crazy now.
suddenly the mapping is working for the insert/update but for the delete it is giving weird results.
the primary key column in the source table has a value ",1:EH/L/A,13:2,14:9", which should be transformed to EH/L/A::2::9 - i have used substr and instr to achieve this.
but in the case of delete operation, thru the debugger i get the expected result - the corresponding row is getting deleted from the target, but theu the deployment manager - another row is getting inserted into the target table.
on checking the target table, i find the corresponding columns having values - "::::" - don't know the reason.
thanks and regards. -
How to schedle the mapping in OWB?
Can any please provide me link to see the steps to schedule the OWB mapping. My version is 11.1.0.7.0. The mapping is developed
by some one. Now i need to take responsibility on this. I need to know how to schedule the mapping.I want to run this every day mighnight.
In project explorer, I went into schedules. Then i created the schedule. After that, i am not sure, how to link the mapping on this scheduler.
any help is highly appreciated.
thanks.Hi ,
Do you have metalink or my oracle support access ?
If yes then check Note 444877.1 for OWB mapping or process flow scheduling .
1. Verify the mapping or process flow completes successfully.
2. Navigate to the Schedules node in the Design Center Console and create a new Schedules module
called MY_SCHEDULES. For the location, select your TARGET_LOCATION, as the schedule will be deployed to the database.
3. Create a new schedule, TEST_SCH, with time greater than current database machine time (server where the job executes).
4. Associate your schedule with the mapping or process flow. Right click the mapping or process flow and select the option "Configure" and "set Referred Calendar" to TEST_SCH.
5. In the Control Center Manager, navigate to your TARGET_LOCATION and note the Scheduled Job TEST_SCH_JOB under the Scheduled Jobs node. Deploy the job with action "Create".
Using SQLPlus logged into the database as the TARGET user, verify the user has a job TEST_SCH_JOB, in state DISABLED:
select job_name, state from user_scheduler_jobs;
6. Use the Schedule tab on the Control Center Jobs panel in the Control Center Manager to schedule
the job. Highlight, right click the job and from the pop-up menu select "start". Use the same query to check the current status:
select job_name, state from user_scheduler_jobs;
The above query will show whether the scheduled job is SCHEDULED, RUNNING or SUCCEEDED.
http://download.oracle.com/docs/cd/E11882_01/owb.112/e10935/scheduling_etl.htm#CHDGEGJF
Thanks,
Sutirtha -
Error VLD-1108 while validating the mapping in owb 11g
Hi All,
I am using owb 11.1.0.7.0. I am new to owb 11g. I am getting the following error while validating the mapping
error: VLD-1108 . Operator requires more input or output connections in order to generate mapping code.
I am using a function as operator and mapping it with the table.
Please tell me the solution for this. Its urgent
Thanks in advance,
SivaHi,
u must be using a procedure or table function that is called in the mapping for execution. When writing the function u would have specified 3 inputs but in the mapping u would have given only 2. check the number of inputs and make sure they match.
Regards
Bharadwaj Hari -
Error while deploying the mapping in owb 10gR2
Hi friends,
when i tried to deploy the mapping firstly i got the below error like
Name
Action
Status
Log
COPY_OF_ORG_FINAL_MAPPING
Create
Warning
ORA-06550: line 11, column 3: PL/SQL: SQL Statement ignored
COPY_OF_ORG_FINAL_MAPPING
Create
Warning
ORA-06550: line 18, column 59: PL/SQL: ORA-00942: table or view does not exist
COPY_OF_ORG_FINAL_MAPPING
Create
Warning
ORA-06550: line 33, column 3: PL/SQL: SQL Statement ignored
COPY_OF_ORG_FINAL_MAPPING
Create
Warning
ORA-06550: line 40, column 59: PL/SQL: ORA-00942: table or view does not exist
COPY_OF_ORG_FINAL_MAPPING
Create
Warning
ORA-06550: line 216, column 7: PL/SQL: SQL Statement ignored
COPY_OF_ORG_FINAL_MAPPING
Create
Warning
ORA-06550: line 237, column 59: PL/SQL: ORA-00942: table or view does not exist
From the above error, it states like table doesn't exist. Hence after checking that the source table connections that i used in the mapping seems to be wrong.
so what i did is, in the control center i right clicked the source module where i have used source table and changed the connection but soon after i pressed the ok button as a part of registering i got the below error like
>> RTC-5318 Invalid Location Type pair for Name oracle db and version 11.1
I ignored the above error and continued to deploy the mapping, but as a result of mapping i got the below error like
Name
Action
Status
Log
None
INFORMATIONAL
ORA-04052: error occurred when looking up remote object [email protected]@PEOPLE_SOURCE_LOCATION ORA-00604: error occurred at recursive SQL level 1 ORA-02019: connection description for remote database not found
COPY_OF_ORG_FINAL_MAPPING
Create
Warning
ORA-06550: line 0, column 0: ORA-04052: error occurred when looking up remote object [email protected]@PEOPLE_SOURCE_LOCATION ORA-00604: error occurred at recursive SQL level 1 ORA-02019: connection description for remote database not found
Not sure, where im missing.
Kindly help me friends,
Thanks
Brgds,
MiniHi Vidyanand,
Did you create the runtime access user using the runtime assistant? Did you select the correct runtime repository (if you have more) to associate your runtime access user with?
Note that there are 4 database roles being created when you create a runtime repository owner:
- OWB_A_<runtime repository owner>
- OWB_D_<runtime repository owner>
- OWB_R_<runtime repository owner>
- OWB_U_<runtime repository owner>
If you would grant those roles to a user, then that user becomes an access user for the user with username <runtime repository owner>.
Note that you can also use the runtime repository credentials to connect to the runtime repository for deployment purposes, but you may not want that because of security concerns.
Thanks,
Mark. -
OWB 11.2 with SAP V6, Eror while execution the mapping.
I have a simple staging mapping, I am trying to get data into my staging table from SAP system. So far I have created a simple 1-1 mapping. when I generate the code it produces a abap report which when I try to execute on SAP system I get a syntax error. Now this error did not occur with SAP 11.1, Now I am trying to do is the following since going back to 11.1 is not a option.
When I try to run the mapping using OWB I get the following error.
NativeExecution PlatformSchema M_STG_CABN_ODS
M_STG_CABN_ODS
RPE-01082: Fail to execute the ABAP report.
Starting Execution of ABAP Report CABN_STG_CABN on Wed Nov 03 11:59:58 EDT 2010
Running ABAP report through function module RFC_ABAP_RUN_AND_INSTALL
ERROR: null
Exit on error: Execution of ABAP Report CABN_STG_CABN on Wed Nov 03 11:59:58 EDT 2010
M_STG_CABN_ODS FAILURE
NativeExecution PlatformSchema M_STG_CABN_ODS
Although the error is not descriptive i believe structure of the report could be the reason.
Now I am trying to do a work around I save the report into a folder on AIX and modify the file to change the structure of the file. All I have to do is add/ delete spaces in certain places.
Now I plan on creating a process flow which would call that file using a user defined function.
Once I modify the report file manually, I want to execute the report so that I can generate the .dat file and ftp it over to the location and load it into staging using SQL loader as the .dat file is in that format.
The question is How do I do this. Do I need to specify the complete process in the process flow
or when I execute the report it would do the process for me as the ftp folder location has been specified in the SAP location.
Edited by: U1234567890 on Nov 3, 2010 9:01 AMIs there any other work around?
I am planning on saving the file and making the changes manually and then FTP it to SAP, Now my problem is I am not sure what Location to move it to.
My question now is where(location) does it(ABAP Report) get deployed . If it is not stored then how does OWB execute the steps in the file. I am trying to find where I can drop the modified file.
Thanks -
Executing a mapping from sqlplus in OWB 904
I have used the below syntax to execute OWB 902 mappings as below:
sqlplus / <<*sql*
Execute MAP_SOMETHING.MAIN();
sql
I deployed the same mapping with new version of OWB 904.. it did not work. What is new syntax to execute the mapping from sqlplus?From OWB 9.0.4 on, you must use the execution template to execute your mappings from sql. The template file, that has a brief doc section in its heading is:
<OWB installation directory>/owb/rtp/sql/sqlplus_exec_template.sql
Regards:
Igor -
How to execute a mapping based on an event
Hi
I am on OWB 10.2.0.3. and Oracle 10.2.0.2. I have a mapping which is fine, deploys well, I can execute using the control manager.
I also created a schedule module in OWB, created a schedule for a specific date and time and also an interval, configured the mapping to this schedule. The mapping gets executed successfully at the scheduled time.
The requirement is this mapping needs to be executed by an external process (oracle but a different application in a different machine). The team owning this process is ready to insert a record in a table. Which I want to sense and execute this mapping.
I already have created a procedure so that this mapping can also be run from pl/sql. I can create an after-insert trigger in this table so call this procedure, but that will make the whole think synchronous and the external process will have to wait for this mapping to complete to proceed further which is not acceptable by them.
Is there a way I can check for the record in this table and exec the mapping from OWB?
Can somebody please help and provide me pointers how I can schedule a mapping based on an event (insertion of the record) without (preferably) or with Oracle Workflow.
Thanks a lot in advance!
MaruthiThanks Detlef,
The problem I have is the trigger will make it actually synchronous with the process that inserts the record in the table.
Even if I define the trigger as AUTONOMIUS_TRANSACTION, both the process will not parellel. setting this I can have commits and rollbacks in triggers but they will be synchronous. I want this mapping to run asynchronously so that the main process inserts the record and continues with the rest of the process while the mapping can be executed independently.
For this reason I am looking for something which will allow me to do this without a trigger on the table.
As mentioned in your refereed post, I can use CDC, but not sure how good is CDC and will this be an overkill to implement and use CDC for this purpose. Any simpler solution available?
Any inputs please?
Thanks once again!
Regards,
Maruthi -
hi all,
When we executes a mapping through owb normally it works fine.
But the same when executes throgh a process flow it get falies with the f/w error.
*"Set based mode not supported ORA-06512"*
The operating mode is "set based fali over to row based"
In the mapping we are doing some transforamtion and putting the data in a flat file.
Please help in this reagrd.
Regards
ashokHi,
change in processflow configuration property OPERATING_MODE for this mapping to ROW_BASED or ROW_BASED_TARGET_ONLY
Hope this helps! -
No transfer of data executing a mapping
hi guys,
plz help me out! i try to transfer a simple filled table from the design schema to the target schema. there are no errors or warnings deploying the mapping. NOW: every time i execute the mapping it says that the mapping was completed successfully, BUT the problem is it doesnt insert the data from the source table to the target table. the target table is empty.
my question:
- do i have to change/set the system privileges to sysdba or sysoper for the runtime schemas to solve this problem ?
- is it maybe a connection problem between the dw and source module ?
- what could it else be ?
appreciate any idea, thx!
greetings
s8472i think i know now what is the problem:
althought the owb user's guide tells on page 3-5, that a connector is automatically created as you place sources on the mapping canvas, the missing connector was the problem of the "no transfer" of the data.
so i created a connector from the oracle_dw-module_location to the oracle_source-module_location. after that dont forget to deploy the connection inside of the deployment manager. now the mapping executes and transfer the data completely.
greetings
s8472 -
Error in executing deployed mapping.please help
when executed the mapping,it display information:
"ORA-04063: package body "OWB3.test" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1"
I don't kown what it means?Hi
Have you deployed the mapping to the target schema?
Is there any procedure or function calling in the mapping (pre or post mapping process)?
Is the package and the body valid in the db?
Ott Karesz
http://www.trendo-kft.hu -
Problem in running mapping in OWB using an expert
Hi All,
My requirement is to run the mapping in OWB using an expert.I created an expert using OWB and associated the mapping with the expert using Add/Remove expert option.I validated and generated the expert.But when i run the expert through start option in design center then my target table in the mapping does not get loaded.This shows that i am unable to associate my expert with mapping.
In expert editor, i linked start_task with custom_dialog_task which is again linked with the end_task.It seems i am missing some steps.Please let me know what all steps need to be followed in expert editor interface to run the mapping.Response is awaited.
Thanks in advance....Hi,
Thanks ggainey and stevejluke for your suggestions.And Sorry for my faults.I am sending the corrected code.Also I am new to this java fields and forums.So please consider that also
Code:
import java.io.*;
import java.lang.*;
public class AddToVersionControl
public static void main(String[] args)
Process pro =null;
String result="";
Runtime rt = Runtime.getRuntime();
try{
String cmnd ="sh version.sh";
System.out.println("the command is"+cmnd);
pro=rt.exec(cmnd);
String results = null;
OutputStream os=pro.getOutputStream();
InputStream is = pro.getInputStream();
StringBuffer bfstr = new StringBuffer();
int ch=0;
while ((ch=is.read()) != -1)
bfstr.append((char)ch);
results = new String(bfstr.toString());
is.close();
System.out.println(results);
catch(Exception e)
e.printStackTrace();
}
Maybe you are looking for
-
I ordered a movie on iTunes back in April, the movie didn't finish downloading, I got a message that there was an error, so a few days later, I downloaded it again. This time I used my husbands bank card, which has a different number, but is connecte
-
I have a few questions about the color correction tools in Premiere CS4. 1. Suppose that the colors in my shot are basically correct, but the blacks have a tint to them. Which is the best color correction filter to use to correct for this? 2. Do any
-
Hi Guys, I have configured nwapi. When i monitor the messages on the integration engine, i dont see the payload for the asynchronus messages. we are on PI 7.1 EHP1 SP3 anybody having the same problem? any help would be appreciated. Thanks, Reddy
-
Dashboard & Mighty Mouse Scroll Ball
I love the feature on my Mac that I can press the scroll ball down and my dashboard comes up instantly showing me the weather before I go to work. My mouse got dirty-the scroll ball wouldnt work going up, so I cleaned it. Rubbing alcohol and figure 8
-
Error connecting to DB with JDK 1.4.2
Hi, I'm trying to connect to a DB with this code: Connection con = null; Statement stmt = null; try { con = ds.getConnection(); stmt = con.createStatement(); stmt.execute("select * from table;"); } catch (SQLException e) { logger.error(e); con.close(