Precompilation failed as duplicate environmentvariable found
Moderators: chulett, rschirm, roy
Precompilation failed as duplicate environmentvariable found
I have a job that needs a parameter.So I included the parameter in a parameter set and tried executing the job.Even though the parameter is in parameter set,the job aborts in stages wherever this parameter is used.Then I included the parametr in job defi eventhough its defined in parameter set.Then the job shows as "precompilation failed as duplicate environment variable found".
What may be the reason for this?
Thanks and regards .......
What may be the reason for this?
Thanks and regards .......
-
- Premium Member
- Posts: 536
- Joined: Thu Oct 11, 2007 1:48 am
- Location: Bangalore
Hi,
Just remove that parameter from job and try to run.
Just remove that parameter from job and try to run.
Thanks
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
-
- Premium Member
- Posts: 376
- Joined: Sat Jan 07, 2012 12:25 pm
- Location: Piscataway
Did you compile the job after adding the parameter to the parameter set?
Jerome
Data Integration Consultant at AWS
Connect With Me On LinkedIn
Life is really simple, but we insist on making it complicated.
Data Integration Consultant at AWS
Connect With Me On LinkedIn
Life is really simple, but we insist on making it complicated.
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
As the parameter is already part of a parameter set, there is no need to also add it to the job parameters: you have discovered what will happen when you do so.
What errors did you receive originally? Those are the errors you need to resolve. Perhaps it's how you reference the parameter or the data contained within in?
Regards,
What errors did you receive originally? Those are the errors you need to resolve. Perhaps it's how you reference the parameter or the data contained within in?
Regards,
- james wiles
All generalizations are false, including this one - Mark Twain.
All generalizations are false, including this one - Mark Twain.
-
- Participant
- Posts: 50
- Joined: Tue Jan 19, 2010 4:14 am
And you have yet to provide us with what that error is. Also, it would be of help to know the value present in the variable and how you reference that variable in your job.But that time the job is getting aborted
Regards,
- james wiles
All generalizations are false, including this one - Mark Twain.
All generalizations are false, including this one - Mark Twain.