error compiling transformer stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Svengiyil
Participant
Posts: 25
Joined: Tue May 05, 2009 12:16 am

error compiling transformer stage

Post by Svengiyil »

Hi,

I have a requirement to generate a fixed width file with just the header and trailer, i.e header will display current date and trailer would display "Record Count=0000000000".

For this I tried to use a transformer with two output files one for the header and the other for the trailer, and thoght of finally combining it into a single output file by running the after job sub routine.

However the issue here is, there is a compilation error saying "errror compiling parallel transformer" because there is no input link to the transformer.But this works in server job.

How do i proceed in parallel job?

Thanks,
Svengiyil
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

In PX, you cannot start with a tx.

Include a row generator or take a link after the aggregator used for trailer record.
Svengiyil
Participant
Posts: 25
Joined: Tue May 05, 2009 12:16 am

Post by Svengiyil »

Thanks Sainath,

I used the row generator stage as input and it works fine now.
Post Reply