Project Level parameter used in Transformer- compile Error

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
kashif007
Premium Member
Premium Member
Posts: 216
Joined: Wed Jun 07, 2006 5:48 pm
Location: teaneck

Project Level parameter used in Transformer- compile Error

Post by kashif007 »

Hi all

I am not able to compile a job. The reason for it not getting compiled is since I have one of my column value coming from the "Job Parameter" and that job parameter is defined at project level. If the value is defined as Job level parameter then I am able to run the job successfully but when I am using a project level paramater value in the transformer stage it is not compiling and throughing error at the transformer stage. Could anyone please suggest how can I get a value defined as "Project level Parameter" as a value for a column in the transformer.
Regards
Kashif Khan
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Post by JoshGeorge »

Use GetEnvironment(%envvar%) to get around this issue.

EX: GetEnvironment('APT_CONFIG_FILE')

This has been discussed earlier in this forum. This is a bug and a fix is available for this. For more details see THIS link.
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
Post Reply