File update issue

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
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

File update issue

Post by myukassign »

I got a problem in updating file by multiple sequncers.

Enviorment
========

JobA open sequnetial FileA and hash in to HashA then using a transformer increment a field value then update FileA again.

When I run jobA individually, there is no issue. Its running successfully. But this JobA is a common job for me and it is using in many sequncers.

The problem is, when at a time two sequncers call JobA then it willtry to write the FileA at a time. Then an error will be thrown.

Can anyone help me how to handle this issue?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

This is an operating system restriction (not a DataStage issue) - only one writer at a time to a file.

You need to work around that restriction. Maybe with files with the process ID as part of the file name. Certainly with parameterized file names.
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