Execução Assíncrona - Paralela
Na interface ODI pode ser chamado paralelo através do uso Odistartscen.
Passo 1 – Crie Scenarios da Interface.
Passo 2 . Na package, drag o odistartscen e fornecer os seguintes detalhes como mostrado abaixo.
[ Nota ;- Versão = –1 chamadas mais recentes scenario , por isso mantê-lo –1]
Na Sincronia / Assíncrona, selecione o Assíncrono .
Session Name – will be visible in the Operator.
Continue fazendo isso para que toda a Interface seja executada paralela e forneça o seguinte como definido acima.
Passo 3 – Finally call the odiwaitforchildsession
A odiwaitforchildsession verifica até que todos os scenarios paralelos sejam executados com sucesso ou falha. O odiwaitforchildsession tem de ser chamado após tal execução paralela e antes do Assíncrono começar se houver interface antes dele.
julho 13, 2011 at 12:08 AM
Hi All,
I have a unique requirement. I have a scenerio which i have to run multiple times in parallel with different user inputs.
Eg Suppose user inputs A,B,C then i have to run the same scenerio 3 times with input filter as A B and C respectively.
If user inputs A,B,C, and D then i have to run the same scenerio 4 times with inputs A B C and D.
Does any one know a way to achieve this.
Thanks in advance for your suggestions…
Regards
julho 14, 2011 at 7:16 AM
Please looks into this http://odiexperts.com/interface-parallel-execution-a-new-solution. If you are loading into the same target table , since you cannot use the same C$ and I$ table for all the interface.
In case they are different make sure you are loading the child first and then the parent . Also make use of OdiChilWaitForSession
junho 13, 2011 at 4:06 AM
Hi Cezar,
I need to make this type of process, but can not figure out to do with.
1) Input a table with the list of files that I upload.
2) There are 30 different files, and each is necessary for an interface.
I would like to implement a process that reads from the table of file names and addresses in parallel mode of loading the correct interface.
BR
Antonio
junho 13, 2011 at 7:09 AM
Hi antonio,
Thanks for visiting us. Have a look at this post http://odiexperts.com/interface-parallel-execution-a-new-solution for handling interface pararelly feeding the same table.
I am not sure if parallel loading is going to yield the right result but you can try this way. Have a variable x and provide set incrementing value 1,2,3 and so on to it and next call a refresh variable so that it can go and pick up the right file name pointing to right sequence and feeding the interface .
Flow of package will be something like this
set var (x) -> refresh var (y) -> interface – > set var(x) refresh var (y) -> interface and so on.
Hope this helps.