calling multiinstance child sequence in multiinstc main seq

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
devesh_ssingh
Participant
Posts: 148
Joined: Thu Apr 10, 2008 12:47 am

calling multiinstance child sequence in multiinstc main seq

Post by devesh_ssingh »

Hi Mentors,

i am trying to achieve below things, but couldn't get idea.

seq_child---> multiinstace
seq_main--> multinstance

seq_child have series of multiinstance job which i have parametized as #invocation_id# either INTL or DOM

i am calling child in main,

now seq_main one instance need to be run weekly and one is monthly.
so if seq_main invoc_id='MONTHLY' seq_child should be passing invoc_id= INTL and
if seq_main='weekly' then SEQ_Child should be passing invoc id as =DOM

Please let me know how do i achive this.

many many thanks in advance.
devesh_ssingh
Participant
Posts: 148
Joined: Thu Apr 10, 2008 12:47 am

Post by devesh_ssingh »

Any idea?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Duplicate the invocation ID in a job parameter and test that value.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
arunkumarmm
Participant
Posts: 246
Joined: Mon Jun 30, 2008 3:22 am
Location: New York
Contact:

Post by arunkumarmm »

Why dont you just include a parameter in your main sequence to say what kind of run it is and determine what value to pass to child sequence?
Arun
Post Reply