Error: Field already present in the output interface schema.

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
yousuff1710
Participant
Posts: 56
Joined: Fri Sep 21, 2007 9:10 am
Location: Bangalore

Error: Field already present in the output interface schema.

Post by yousuff1710 »

Hi All,

We are doing testing for a convertion project.
While running a job I got a strange following error:
main_program: APT_StatReducer:field IMPO_FSPR_EME_RES_OP_EUR11 is already present in the output interface schema.
This is first time I am facing such an error. I am working on same.
Meanwhile if anybody can give some ideas/inputs, that will be appreciable.

Thanks in advance,
Yusuf
mikegohl
Premium Member
Premium Member
Posts: 97
Joined: Fri Jun 13, 2003 12:50 pm
Location: Chicago
Contact:

Post by mikegohl »

Are you using RCP?
Michael Gohl
yousuff1710
Participant
Posts: 56
Joined: Fri Sep 21, 2007 9:10 am
Location: Bangalore

Post by yousuff1710 »

No, RCP is disabled in job-level.
yousuff1710
Participant
Posts: 56
Joined: Fri Sep 21, 2007 9:10 am
Location: Bangalore

Post by yousuff1710 »

No, RCP is disabled in job-level.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

What stage type is generating this error?
abhishekraj
Participant
Posts: 2
Joined: Sun Dec 04, 2005 11:29 am
Contact:

Post by abhishekraj »

yousuff1710 wrote:No, RCP is disabled in job-level.
Check whether RCP is enabled at the stage level.
Are you using an aggregrator stage? Make sure the input schema field IMPO_FSPR_EME_RES_OP_EUR11 is not used in "Column for calculation".
Regards,
Abhishek Rajendran,
Syntel
yousuff1710
Participant
Posts: 56
Joined: Fri Sep 21, 2007 9:10 am
Location: Bangalore

Post by yousuff1710 »

Hi Arndw,

The log is not showing the stage in which error is generated. The error is like:-
main_program: APT_StatReducer:field IMPO_FSPR_EME_RES_OP_EUR11 is already present in the output interface schema.

Abhishek,

Yes, I am using aggregator stage: Here the input schema field for IMPO_FSPR_EME_RES_OP_EUR11 is IMPO_FSPR_EME_RES_OP_EUR1.
Here, aggragator is doing Sum(IMPO_FSPR_EME_RES_OP_EUR1) & its output col. is IMPO_FSPR_EME_RES_OP_EUR11.

Thanks for your replies.
yousuff1710
Participant
Posts: 56
Joined: Fri Sep 21, 2007 9:10 am
Location: Bangalore

Post by yousuff1710 »


Thanks guys for all your inputs.
This issue has been resolved.
The issue was in aggregator stage but everything was ok in stage - I mean mapping, properties......
So, I deleted the stage and newly inserted stage & did mappings. Its working fine now.
I dont know what was the problem; may be job was corrupted (it sounds funny :oops: :oops: :oops:
yousuff1710
Participant
Posts: 56
Joined: Fri Sep 21, 2007 9:10 am
Location: Bangalore

Post by yousuff1710 »


Also I did all those changes taking copy of original job.
After modiications I deleted original & renamed the copy job back to original.
mpav6450
Participant
Posts: 1
Joined: Tue Jun 10, 2008 12:46 am
Location: Prague

Post by mpav6450 »

The issue occurs in situations when you incorrectly use the Aggregator stage. It means when you use one output column for more then one calculation (for example will sum up Reveue and Costs and both of them will store into one column RevenueSum.

Martin Pavlik, IBM
Post Reply