Error writing to pipe: Interrupted system call

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
kausmone
Participant
Posts: 39
Joined: Fri Sep 21, 2007 1:47 am
Location: Prague

Error writing to pipe: Interrupted system call

Post by kausmone »

Hello,

I have a server job performing a Teradata Multiload using TDMLoad stage. Source data is in a flat file. The job has been running fine for months, scheduled at a frequencey of every 10 minutes. Recently however, every once in a while it aborts with the below message

Code: Select all

Could not write row to data file in stage <jobname>.<mload stagename>
Error writing to pipe: Interrupted system call
I tried re-running the job with the same source data on the advise of a colleague and it worked on every occasion. Today the job again aborted, and a re-run failed with the same error. I recompiled the job and it executed fine, and has been running fine once again since then, but this trial-and-error approach bothers...

I tried searching the forum if anyone has faced a similar problem but didnt find any related posts. Can someone help in understanding what the problem is please, and whether there really is no solution other than the no-brainer compile+rerun?

Thanks,
kaus
kausmone
Participant
Posts: 39
Joined: Fri Sep 21, 2007 1:47 am
Location: Prague

Post by kausmone »

Another job in the same project doing a similar MLOAD aborted today with the same reason. And it executed successfully on a re-run. Has anyone encountered similar behavior before?
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

Did you specify the data file in the MLoad option ? , try running it with pipes option check in the general tab. should solve the problem
kausmone
Participant
Posts: 39
Joined: Fri Sep 21, 2007 1:47 am
Location: Prague

Post by kausmone »

Thanks, I will try that.. but what exactly was the problem?
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

More of a OS level problem. As far as i can get it i think when you try to run it with the sequence the job aborts and then when you manually run it it works just fine ? in that case you might want to see if the user which is created when running the sequence has rights to write to a file on the system. Because in the method you selected a temp data file will be created in which all the data will be extracted before loading it into TD.
Apart from this you might also want to check the buffering in your job. how big is the flat file ?
kausmone
Participant
Posts: 39
Joined: Fri Sep 21, 2007 1:47 am
Location: Prague

Post by kausmone »

The file's not too big, a few hundred records, about 500 kbytes. When I rerun, I actually rerun the entire process, so I am not sure if it is an access issue. And like I said, it doesn't abort all the time, only once in a while...
Post Reply