Unique Value For Each Job Run

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

Post Reply
asitagrawal
Premium Member
Premium Member
Posts: 273
Joined: Wed Oct 18, 2006 12:20 pm
Location: Porto

Unique Value For Each Job Run

Post by asitagrawal »

Hi All,

Is there any identifier (numeric type) which is generated uniquely for each run of the Job?
That is if I run the Job 3 times, one after the other, that Id should be unique for each run.

Thx
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:? Automagic, built-in uniquely generated value? No. Something you could do? Sure.
-craig

"You can never have too many knives" -- Logan Nine Fingers
johnthomas
Participant
Posts: 56
Joined: Mon Oct 16, 2006 7:32 am

Post by johnthomas »

You may use job start timestamp or end time stamp with the job name for this
JT
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Invent a name for the sequence of unique numbers, and use one of the key management (get next value) routines from a Routine activity in the controlling job sequence.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply