Compilation error while using 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
attili
Charter Member
Charter Member
Posts: 15
Joined: Sun Aug 13, 2006 10:06 am

Compilation error while using Transformer stage

Post by attili »

Hello DS Gurus,

I am getting the following errors while compiling a job using a transformer stage

Output from transformer compilation follows:

##I TFCN 000001 10:06:05(000) <main_program>
Ascential DataStage(tm) Enterprise Edition 7.5
Copyright (c) 2004, 1997-2004 Ascential Software Corporation.
All Rights Reserved


##I TOSH 000002 10:06:05(001) <main_program> orchgeneral: loaded
##I TOSH 000002 10:06:06(000) <main_program> orchsort: loaded
##I TOSH 000002 10:06:06(001) <main_program> orchstats: loaded
##E TBLD 000000 10:06:07(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256
##E TFSR 000019 10:06:07(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 10:06:07(002) <transform> Error when checking composite operator: The number of reject datasets "0"is less than the number of input datasets "1".
##I TFCP 000008 10:06:07(003) <transform> Error when checking composite operator: cxx -O -IC:/Ascential/DataStage/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c C:/Ascential/DataStage/Projects/dstage/RT_BP2.O/V0S6_temp1_Transformer_6.C -o C:/Ascential/DataStage/Projects/dstage/RT_BP2.O/V0S6_temp1_Transformer_6.tmp.o
##I TBLD 000000 10:06:07(004) <main_program> Error when checking composite operator: Output from subprocess: Compiler "cl" not found.

##E TCOS 000029 10:06:07(005) <main_program> Creation of step finished with status = FAILED (temp1.Transformer_6)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S6_temp1_Transformer_6 transform operator.
0003: //
0004:
0005: // define our input/output link names
0006: inputname 0 DSLink5;
0007: outputname 0 DSLink8;
0008:
0009: initialize {
0010: // define our row rejected variable
0011: int8 RowRejected0;
0012:
0013: // define our null set variable
0014: int8 NullSetVar0;
0015:
0016: }
0017:
0018: mainloop {
0019: // initialise our row rejected variable
0020: RowRejected0 = 1;
0021:
0022: // evaluate columns (no constraints) for link: DSLink8
0023: writerecord 0;
0024: RowRejected0 = 0;
0025: }
0026:
0027: finish {
0028: }
0029:
*** End of Internal Generated Transformer Code

ENV SET AS:
APT_COMPILEOPT---> -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c
APT_COMPILER------> cxx
APT_LINKER----------> cxx
APT_LINKOPT------> -W/TP -W/dll -W/base:0x50000000

Thanks in Advance
Attili
...Skill and confidence are an unconquered army
kris
Participant
Posts: 160
Joined: Tue Dec 09, 2003 2:45 pm
Location: virginia, usa

Re: Compilation error while using Transformer stage

Post by kris »

Use serach, you will find 20 different posts.

Choose the right compiler
Install your compiler first then DS.
~Kris
Post Reply