Pular para o conteúdo

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.

image

Continue fazendo isso para que toda a Interface seja executada paralela e forneça o seguinte como definido acima.

image

Passo 3 –  Finally call the odiwaitforchildsession

image

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.

4 Comments

  1. 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

  2. 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

    • 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.

Deixe um comentário

Required fields are marked *.


Este site utiliza o Akismet para reduzir spam. Saiba como seus dados em comentários são processados.