Help understanding the named pipes

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
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Your design under DS7+ would connect the two streams in the design using an IPC stage, which is nothing more than a pipe.

The creation of the named pipe happens via a before-job or before- transformer routine? If it's before-job then that happens before either stream beings. If it's before-transformer, then it must be on the writer stream and thru luck that happens to be the first transformer started. You have no control over which transformer has its process started first when there are two independent streams.

Your job should be changed to just use an IPC stage and no named pipe.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
rcil
Charter Member
Charter Member
Posts: 70
Joined: Sat Jun 05, 2004 1:37 am

Post by rcil »

Thanks Ken.

The pipe file is created before the job starts using the mkfifo command but not as before job routine.

As I said the first job design writes to it and the seconds read from it. Do you think it is pure luck that the first job runs first as there is no control which one starts first?
Thanks,
RCil
Post Reply