Read And Wirte the same named pipe in different jobs

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
vipshiva
Participant
Posts: 26
Joined: Thu Sep 28, 2006 4:48 am

Read And Wirte the same named pipe in different jobs

Post by vipshiva »

Hi,

i have used wirte and read the same named pipe with multiple input link in the different jobs. in this case the jobs has been running state only.....


Can someone please help me in debugging the issue
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Only if you can report a problem.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vipshiva
Participant
Posts: 26
Joined: Thu Sep 28, 2006 4:48 am

Post by vipshiva »

Hi,

We are trying to first write to a named pipe file using one job and then read from the same named pipe file using another job having multiple input links in the job which writes.

In the above case the job which writes aborts with a broken pipe error and the screenshot for the error we get is attached in this

can you please help?

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

Post by chulett »

There's no attachment and no way to 'attach' anything anyhow. For a screenshot, you'd need to host it somewhere - and there are numerous free images hosting services - and then use Img or URL tags to link it into a post.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The named pipe mechanism requires that you have both a writer process and a reader process running at the same time. You have timeout or wait attributes that control how much time you have available before you get a "broken pipe".

So a question would be "are you certain you are running the 2 jobs at the same time?" and that you are using the same physical fifo file.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

There are two threads on this subject - here is the other. Has some of the background left out of this one.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply