batch SID

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

balajisr
Charter Member
Charter Member
Posts: 785
Joined: Thu Jul 28, 2005 8:58 am

Post by balajisr »

mohanraj wrote:My actuall problem is like this

My job sequence contains 10 jobs and all the jobs contains 10 tables with one common column batch_SID.If I run this sequence then all the tables should get same batch serial number.
How can I achieve this?

Thanks in advance

Mohan
Have batch serial number as a job parameter in all the jobs.
loveojha2
Participant
Posts: 362
Joined: Thu May 26, 2005 12:59 am

Post by loveojha2 »

As already suggested job parameter is the way to go.

Add a routine Activity to the Master Sequence calling the server jobs. Pass the return value of the routine to all the 10 jobs as parameter.
Success consists of getting up just one more time than you fall.
Post Reply