How to schedule two jobs from two different work repository at a time?
Hi All,
I have a scenario where I want to schedule two jobs at a time from two work repository.
Explanation:
Master Repository-A
Work Rep-B
Work Rep-C
Now I need to schedule two scenario one from Work rep B and other from Work Rep-C
As we know that odiparams batch file contains the connection details and at one time it can hold only one work repository name.
Odiparams data:
rem Repository Connection Information
rem
set ODI_SECU_DRIVER=oracle.jdbc.driver.OracleDriver
set ODI_SECU_URL=jdbc:jdbc:oracle:thin:@10.10.10.10:1521:orcl
set ODI_SECU_USER=odi_snpm
set ODI_SECU_ENCODED_PASS=aYyHZZCrzk5SjQ9rPOIUHp
set ODI_SECU_WORK_REP=*ODI_LOCALDEV_WRKREP*
set ODI_USER=SUPERVISOR
set ODI_ENCODED_PASS=LELKIELGLJMDLKMGHEHJDBGBGFDGGH
Scheduler agent will pick this information from the odiparams file and update the schedule.
So If I want to schedule two job, how it is possible?
I tried all possible things but didn't get the proper solution?
Edited by: user10765509 on Jul 21, 2010 4:58 AM
You can do it in the following way
1. copy/paste the original odiparams.bat file
2. give it a name say odiparams_a.bat
3. specify the work repository A related information in odiparams_a.bat
4. Make another copy of odiparams.bat file
5. give it a name say odiparams_b.bat
6 specify the work repository B related information in odiparams_b.bat
7. now make 2 copies of agentscheduler.bat give the name as follows
agentscheduler_a.bat and agentscheduler_b.bat
8. edit agentscheduler_a.bat and change
call "%ODI_HOME%\bin\odiparams.bat"
with
call "%ODI_HOME%\bin\odiparams_a.bat"
9. edit agentscheduler_b.bat and change
call "%ODI_HOME%\bin\odiparams.bat"
with
call "%ODI_HOME%\bin\odiparams_b.bat"
10. now start two scheduler agent by calling agentscheduler_a.bat and agentscheduler_b.bat
Thanks,
Sutirtha
PS : Take a backup of each and every file getting modified
Similar Messages
-
How to schedule a job from r3 to BI daily ?
Please let me know how to schedule a job frm bi to r3, that is i want to load data from a sd ds to a sd cube in bi. I do not want to use a PC and can i schedule a job daily without a PC, which can run daily after 10pm ,remember its not a manual schedule. Do we have any option to schedule in hourly, weekly, daily from bi to r3. If yes HOW ? i know we can do it thru infopackage group but will the infopackage group accept if its only a single load....I think it should have multiple infopackage rite to add it to a group or can it b a single job as well.
Edited by: Manohar P on Oct 16, 2008 3:14 PMAn infopackage group can only run infopackages, and unfortunately, you will need an ABAP program to trigger the event in R/3. There is plenty of ABAP code in this forum to show you exactly how to do this.
Try this:
Triggering a Process Chain From R/3 pgm
R/3 Jobs Triggering BW job
You can also review OSS Note 135637. This note will show from R/3 to BI (BW). But you can reverse the logic to go from BI to R/3.
Hope this helps.
My suggestion would be to replace the infopackage group with a process chain, because you can call an ABAP program from a process chain. You also have many more processes at your disposal using process chains. -
How to schedule a job from Apex?
Hi all.
I want to know the best way to schedule a job using Apex:
- DBMS_JOB?
- DBMS_SCHEDULER?
- Build a wrapper?.
- Any other thing i am not aware of?-
Could an example be to much to ask?
Regards, Luis ...!Hi Luis,
Apex already provides you an built-in wrapper to dbms_scheduler, so you don't have to do.
You should use this http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_plsql_job.htm#AEAPI1203
Thanks -
How can I transfer songs from two different itunes?
I want to transfer songs from my brother's itunes library to my shuffle, but when I plug it in his computer, a message saying that his library is not linked to my library (or something to that extent) and whether I would like to replace the songs. If I click yes, all my existing songs are replaced with HIS songs. If I click on NO, the Shuffle icon does not appear at all and I cannot transfer any of his songs to my shuffle. How can I transfer songs from two different computers into my shuffle without replacing any of my existing music?
Shuffle Windows XP
Windows XPYou'll have to setup your iPod to manual instead of automatic update (I'm not sure, though, if it works with the Shuffle as well).
Alexander. -
How do I consolidate purchases from two different ids that are on the same bank account, and eliminate the extra id without losing any purchases? I want my music to match on both ipad and computer.
Purchases are forever tied to the AppleID they were bought with. There is currently no way to consolidate AppleIDs. Sorry.
-
How do I calculate days from two different dates?
Hi all,
How do I calculate days from two different dates?
my requirement is to pass the number of days to target field from two dates.
Current date : 14/04/2010
Standard date: 01/01/1957 is the standard = day 0
Is it possible in graphical mapping with out udf?
Plz help me on this I have donu2019t have much knowledge on JAVA.
ThanksHi Yadav,
Probably this is not the correct forum for XI / PI .
You can post the same to...
Process Integration (PI) & SOA Middleware
Hope this helps.
Regards
Raj -
How do I calculate days from two different dates in XI/PI?
Hi all,
How do I calculate days from two different dates in XI/PI?
my requirement is to pass the number of days to target field from two dates.
Current date : 14/04/2010
Standard date: 01/01/1957 is the standard = day 0
Is it possible in graphical mapping with out udf?
Plz help me on this I have donu2019t have much knowledge on JAVA.
ThanksHi Yadav,
Probably this is not the correct forum for XI / PI .
You can post the same to...
Process Integration (PI) & SOA Middleware
Hope this helps.
Regards
Raj -
How can I use music from two different iTunes accounts?
how can I use music from two different iTunes accounts?
If you mean iTunes Store accounts, there's really nothing for you to do. Just add the tracks to the iTunes library and play them. Music purchased prior to late-2009 will been to be authorized, though. Pull down Store > Authorize... and type the credentials of the Apple ID used to buy the tracks.
If you mean something else, please describe in more detail. -
How can i join two libraries from two different users
how can i join two libraries from two different users in the same computer?
I should add that you can turn on SHARING where each user can see the other user's library and play stuff out of it. But they can not import those tracks to their own library or put them into their own playlists or burn CDs of the shared library.
Also note, to do this you need to have the fast switching option enabled with the accounts so both can be running at the same time and both must have iTunes running at the same time.
Patrick -
How to compare two rows from two table with different data
how to compare two rows from two table with different data
e.g.
Table 1
ID DESC
1 aaa
2 bbb
3 ccc
Table 2
ID DESC
1 aaa
2 xxx
3 ccc
Result
2Create
table tab1(ID
int ,DE char(10))
Create
table tab2(ID
int ,DE char(10))
Insert
into tab1 Values
(1,'aaa')
Insert
into tab1 Values
(2,'bbb')
Insert
into tab1 Values(3,'ccc')
Insert
into tab1 Values(4,'dfe')
Insert
into tab2 Values
(1,'aaa')
Insert
into tab2 Values
(2,'xx')
Insert
into tab2 Values(3,'ccc')
Insert
into tab2 Values(6,'wdr')
SELECT
tab1.ID,tab2.ID
As T2 from tab1
FULL
join tab2 on tab1.ID
= tab2.ID
WHERE
BINARY_CHECKSUM(tab1.ID,tab1.DE)
<> BINARY_CHECKSUM(tab2.ID,tab2.DE)
OR tab1.ID
IS NULL
OR
tab2.ID IS
NULL
ID column considered as a primary Key
Apart from different record,Above query populate missing record in both tables.
Result Set
ID ID
2 2
4 NULL
NULL 6
ganeshk -
I am trying to configure two WRV200 from 2 different loca...
I am trying to configure two WRV200 from 2 different location and ADSL
accounts. One location has PPPoE and the other has PPPoA. Both of it are
having a Speedtouch 356 6V modem. The router which using PPPoE and having a DDNS from TZO.com has no problem with the Quick VPN but the router which using a PPPoA connection could not able to connect even the quick VPN.
There is an option to ridirect the Public IP of Speedtouch to other network device and I manage to configure it and now my router who is having a PPPoA connection has a Public IP. But still the same problem VPN still not working.
Is there any chance that I could make this router work with the PPPoA connection. I will really appreciate if somebody could help me with this problem.Sorry for making you confuse. Here is the VPN log details of the 2 routers.
Router 1:
000 "TunnelA": srcip=unset; dstip=unset; srcup=ipsec _updown; dstup=ipsec _updown;
000 "TunnelA": ike_life: 28800s; ipsec_life: 3600s; rekey_margin: 5s; rekey_fuzz: 100%; keyingtries: 5
000 "TunnelA": policy: PSK+ENCRYPT+TUNNEL+PFS+UP+AGGRESSIVE; prio: 24,24; interface: eth0; 000 "TunnelA": dpd: action:hold; delay:30; timeout:120;
000 "TunnelA": newest ISAKMP SA: #0; newest IPsec SA: #0;
000 "TunnelA": IKE algorithms wanted: 5_000-1-2, flags=strict
000 "TunnelA": IKE algorithms found: 5_192-1_096-2,
000 "TunnelA": ESP algorithms wanted: 3_000-1, flags=strict
000 "TunnelA": ESP algorithms loaded: 3_000-1, flags=strict
000 #12: "TunnelA":500 STATE_AGGR_I1 (sent AI1, expecting AR1); EVENT_RETRANSMIT in 9s; nodpd
000 #12: pending Phase 2 for "TunnelA" replacing #0
Router 2:
000 "TunnelA": srcip=unset; dstip=unset; srcup=ipsec _updown; dstup=ipsec _updown;
000 "TunnelA": ike_life: 28800s; ipsec_life: 3600s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 3
000 "TunnelA": policy: PSK+ENCRYPT+TUNNEL+UP+AGGRESSIVE; prio: 24,24; interface: ppp0;
000 "TunnelA": dpd: action:restart; delay:30; timeout:120;
000 "TunnelA": newest ISAKMP SA: #0; newest IPsec SA: #0;
000 "TunnelA": IKE algorithms wanted: 5_000-1-2, flags=strict
000 "TunnelA": IKE algorithms found: 5_192-1_096-2,
000 "TunnelA": ESP algorithms wanted: 3_000-1, flags=strict
000 "TunnelA": ESP algorithms loaded: 3_000-1, flags=strict
000 #3: "TunnelA":500 STATE_AGGR_I1 (sent AI1, expecting AR1); EVENT_RETRANSMIT in 8s; nodpd
000 #3: pending Phase 2 for "TunnelA" replacing #0
Hope this could help you. -
How can One sender communication channel pick two file from two location
Hello
I have a requirement that how can One sender communication channel pick two file from two location.Both the file has same name...How to configure the one receiver communication channel.i dont have any IR,no mapping..Please help me...>
Soumitra Sinha wrote:
> Hello Vijay
> I already done the adapter specific message attribute.i am getting the file name properly.but that is nothing to do with my req.i am again clearing my problem:
> i have two folder folder a,folder b.Both has the same file credit0002. i have two destination folder i have one sender and one receiver channel.I dont have any IR.How one sender channel can pick file from two location and how one receiver channel can put in two location.please help me..
Ok now I get your requirement.
you cant achieve this - how one receiver channel can put in two location if you dont have a dynamic configuration defined i.e Adapter specific attributes.
easy way - involve IR mapping
else
have a adapter module to define your dynamic configuration.
Ref: /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules & /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further
Set the dynamic directory/file name etc for your receiver adapter. -
How to recover weekly jobs from the past schedules
How to recover weekly jobs from the past schedules
Hi
You may also need to check the 'Scheduled' option to check for jobs which were schduled but were never released.
Regards
Sandeep -
When setting up sync how does sync manage information from two computers? Does it merge the information?
Hi!
Yes, the way Sync works is that it puts all the Bookmarks together and pushes them to all your devices. Same with History.
You will not loose any information in any of your computers. -
How to schedule the job to run evry Sunday at 12 P.M IST.
Hi Experts,
I want to schedule a job which will run evry Sunday at 12 P.M IST.
I have written the below script.
[code]BEGIN
SYS.DBMS_SCHEDULER.CREATE_JOB
job_name => 'SERVICE_SAL_FS.SAL_MESSAGE_BUFFER_PURGE_JOB'
,start_date => SYSTIMESTAMP
,repeat_interval => 'FREQ=WEEKLY; BYDAY=SUN; BYHOUR=12;BYMINUTE=0; BYSECOND=0;'
,end_date => NULL
,job_class => 'DEFAULT_JOB_CLASS'
,job_type => 'STORED_PROCEDURE'
,job_action => 'SERVICE_SAL_FS.SAL_MESSAGE_BUFFER_PURGE_PROC'
,comments => 'Run at 12 P.M.IST every Sunday'
,enabled => TRUE
END;[/code]
But the server in US.
[code]SELECT sysdate from Dual;
6/11/2013 3:58:58 AM
--But the time in India is 02:28 PM [/code]
How to convert the timezone to IST.
Please help me how to schedule the job to run evry Sunday at 12 P.M IST.
Thanks.Did you read DBMS_SCHEDULER docs:
The calendaring syntax does not allow you to specify a time zone. Instead the Scheduler retrieves the time zone from the start_date argument. If jobs must follow daylight savings adjustments you must make sure that you specify a region name for the time zone of the start_date. For example specifying the start_date time zone as 'US/Eastern' in New York will make sure that daylight saving adjustments are automatically applied. If instead the time zone of the start_date is set to an absolute offset, such as '-5:00', daylight savings adjustments are not followed and your job execution will be off by an hour half of the year.
When start_date is NULL, the Scheduler will determine the time zone for the repeat interval as follows:
It will check whether the session time zone is a region name. The session time zone can be set by either:
Issuing an ALTER SESSION statement, for example:
SQL> ALTER SESSION SET time_zone = 'Asia/Shanghai';
Setting the ORA_SDTZ environment variable.
If the session time zone is an absolute offset instead of a region name, the Scheduler will use the value of the DEFAULT_TIMEZONE Scheduler attribute. For more information, see the SET_SCHEDULER_ATTRIBUTE Procedure.
If the DEFAULT_TIMEZONE attribute is NULL, the Scheduler will use the time zone of systimestamp when the job or window is enabled.
SY.
Maybe you are looking for
-
How do I get a purchased ringtone from my music library to Ringtones?
I've purchased a couple of ringtones from itunes but they downloaded into my music library and I can't figure out how to move them to the Ringtones folder in my library. I tried going back to itunes and downloading them directly onto my phone but the
-
Hi! I had a problem in inserting the records in a table either in sql or access.Can anyone help me to do this. the query is insert into emp values('mamitha',20); plz help me mamitha
-
hi i am new here 2 days ago i was finish my database administrator course.-it mean that is the first course from 6(as much i know) first you should know that english is not my lang so if i will maskes i am sorry anyway after i am talking about me i w
-
Mobile received no bill or box. Serial number starts with QR.
Mobile received no bill or box. Serial number starts with QR. I sent a broken iPhone to fix a Spanish company and was told it was beyond repair. They said that Apple offered me a new iPhone in exchange for mine and I accepted. I had to pay 200 euros.
-
ITunes won't recognize valid credit card in PayPal
When I try to add PayPal as my method of payment in iTunes, the PayPal Authentication page says, "Error Detected: This recipient requires that you have a valid funding source from United States in order to complete this transaction." I do have a vali