Here, we will see how to capture changed data(New inserted data and update data) using JKM and send the data to Target.
Implementation steps:
Step1: import JKM
Here, we will see how to capture changed data(New inserted data and update data) using JKM and send the data to Target.
Implementation steps:
Step1: import JKM
If schedule does not work automatically then we can run the load plan manually.
Steps:
Operator tab →Load plans and scenarios →select your load plan→ right click on and run and select your agent and ok.
Procedure in ODI:
Implementation Steps:
Step1: Designer -- Projects -- your project -- procedure -- new procedure
Query to check the total space in mb, free space in mb and percent free for UNDO_9 tablespace.
Select
a.tablespace_name,
sum(a.bytes)/(1024*1024) total_space_MB,
round(b.free,2) Free_space_MB,
round(b.free/ (sum(a.bytes)/(1024*1024))* 100,2) percent_free
from dba_data_files a,
(Select tablespace_name, sum(bytes)/(1024*1024) free from dba_free_space group by tablespace_name) b
where a.tablespace_name = b.tablespace_name(+)
and a.tablespace_name ='UNDO_9'
group by a.tablespace_name, b.free;
Query to manually resize db datafile for tablespace undo_9
ALTER DATABSE DATAFILE '+Data/...path/datafile/undo_9...' RESIZE 800G
The above command resize the datafile to 800 gb.
Here we will show the steps to activate or deactivate your schedule created on load plans.
Steps:
Step1: Go to Operator tab -- Scheduling -- All Schedules -- select your schedule and expand and rightclick on Golbal/logical agent -- open
Why we need to disable or enable steps in load plan:
Sometimes we see that though you have inactivated the schedule, still its running so to avoid this scenario, we can also disable the steps in load plan as well.
Scenario: We have received an input date as YYYY/MM/DD format and when we are trying to insert it into a database, got below error:
Unable to convert a string in the xml to a java.sql.date.
Solution: Convert the YYYY/MM/ DD format to YYYY-MM-DD format. You can use translate() function and convert the "/" to "-".
translate(datefield, "/","-")
I use this regex for validating MM-DD-YYYY:
function isValidDate(subject){
if (subject.match(/^(?:(0[1-9]|1[012])[\- \/.](0[1-9]|[12][0-9]|3[01])[\- \/.](19|20)[0-9]{2})$/)){
return true;
}else{
return false;
}
}
It will match only valid months and you can use / - or . as separators.
1. Export 11g OSB code and import in 12c Jdeveloper. Steps to import OSB project in Jdeveloper: File⇾Import⇾Service Bus Resources⇾ Se...