DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
ray.wurlod

Premium Poster
Participant

Group memberships:
Premium Members, Inner Circle, Australia Usergroup, Server to Parallel Transition Group

Joined: 23 Oct 2002
Posts: 54372
Location: Sydney, Australia
Points: 294928

Post Posted: Wed Dec 06, 2017 2:36 am Reply with quote    Back to top    

I most usually use a database sequence to generate a Batch ID. This could, for example, be invoked through a Surrogate Key Generator stage or even through a separate job.

_________________
RXP Services Ltd
Melbourne | Canberra | Sydney | Hong Kong | Hobart | Brisbane
currently hiring: Canberra, Sydney and Melbourne
Rate this response:  
Not yet rated
PaulVL



Group memberships:
Premium Members

Joined: 17 Dec 2010
Posts: 1254

Points: 8241

Post Posted: Wed Dec 06, 2017 9:26 am Reply with quote    Back to top    

I'm willing to wager a beer. That he means the user id that runs the job.

To be paid when/if we ever meet up at the Vegas conference again.
Rate this response:  
Not yet rated
Awais Dildar
Participant



Joined: 04 Dec 2017
Posts: 14

Points: 100

Post Posted: Wed Dec 06, 2017 9:56 am Reply with quote    Back to top    

"A batch ID from what I have seen is an integer to track the records being inserted/updated during Job run. Mostly for audit purposes".....This is what I really want Smile
Rate this response:  
Not yet rated
PaulVL



Group memberships:
Premium Members

Joined: 17 Dec 2010
Posts: 1254

Points: 8241

Post Posted: Wed Dec 06, 2017 10:12 am Reply with quote    Back to top    

Fudge.

Awais, also look up the term Water Mark as I believe it serves the same purpose here.
Rate this response:  
Not yet rated
chulett

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 42753
Location: Denver, CO
Points: 220316

Post Posted: Wed Dec 06, 2017 12:09 pm Reply with quote    Back to top    

If that's really all you want, then why say this?

Awais Dildar wrote:
No, I'm not looking for simple Id generation; its pretty much simple. I just wanted know the exact batch Id under which a job is being executed on daily basis for CDC.

Regardless, do you still need help with this if all you need is a surrogate that increments once per run?

_________________
-craig

Research shows that 6 out of 7 dwarves aren't happy
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours