TRNSFORMER COMPILATION IN DATASTAGE7.5x2
Moderators: chulett, rschirm, roy
TRNSFORMER COMPILATION IN DATASTAGE7.5x2
Hi All,
I have installed datastage 7.5x2 in my system.But Transformer stage is not compiling even though i have installed Microsoft .net 2003 and visual studio 2005 version.
Shell i have to include any variables? Please suggest me.
I am getting following error.
##I TOSH 000002 17:59:52(001) <main_program> orchgeneral: loaded
##I TOSH 000002 17:59:52(002) <main_program> orchsort: loaded
##I TOSH 000002 17:59:53(000) <main_program> orchstats: loaded
##E TBLD 000000 17:59:53(004) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256
##E TFSR 000019 17:59:53(005) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 17:59:53(006) <transform> Error when checking composite operator: The number of reject datasets "0"is less than the number of input datasets "1".
##I TFCP 000008 17:59:53(007) <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/AC/RT_BP1.O/V0S1_TEST_TFM_Transformer_1.C -o C:/Ascential/DataStage/Projects/AC/RT_BP1.O/V0S1_TEST_TFM_Transformer_1.tmp.o
##I TBLD 000000 17:59:53(008) <main_program> Error when checking composite operator: Output from subprocess: Compiler "cl" not found.
##E TCOS 000029 17:59:53(009) <main_program> Creation of step finished with status = FAILED (TEST_TFM.Transformer_1)
*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S1_TEST_TFM_Transformer_1 transform operator.
0003: //
0004:
0005: // define our input/output link names
0006: inputname 0 DSLink3;
0007: outputname 0 DSLink4;
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: DSLink4
0023: writerecord 0;
0024: RowRejected0 = 0;
Thanks in advance.
I have installed datastage 7.5x2 in my system.But Transformer stage is not compiling even though i have installed Microsoft .net 2003 and visual studio 2005 version.
Shell i have to include any variables? Please suggest me.
I am getting following error.
##I TOSH 000002 17:59:52(001) <main_program> orchgeneral: loaded
##I TOSH 000002 17:59:52(002) <main_program> orchsort: loaded
##I TOSH 000002 17:59:53(000) <main_program> orchstats: loaded
##E TBLD 000000 17:59:53(004) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256
##E TFSR 000019 17:59:53(005) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 17:59:53(006) <transform> Error when checking composite operator: The number of reject datasets "0"is less than the number of input datasets "1".
##I TFCP 000008 17:59:53(007) <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/AC/RT_BP1.O/V0S1_TEST_TFM_Transformer_1.C -o C:/Ascential/DataStage/Projects/AC/RT_BP1.O/V0S1_TEST_TFM_Transformer_1.tmp.o
##I TBLD 000000 17:59:53(008) <main_program> Error when checking composite operator: Output from subprocess: Compiler "cl" not found.
##E TCOS 000029 17:59:53(009) <main_program> Creation of step finished with status = FAILED (TEST_TFM.Transformer_1)
*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S1_TEST_TFM_Transformer_1 transform operator.
0003: //
0004:
0005: // define our input/output link names
0006: inputname 0 DSLink3;
0007: outputname 0 DSLink4;
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: DSLink4
0023: writerecord 0;
0024: RowRejected0 = 0;
Thanks in advance.
-
- Premium Member
- Posts: 783
- Joined: Mon Jan 16, 2006 10:17 pm
- Location: Sydney, Australia
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Did you install the compiler before you installed DataStage server?
Are the compiler environment variables (APT_COMPILER, APT_COMPILE_OPTIONS, APT_LINKER, APT_LINKER_OPTIONS) set correctly?
Are the compiler environment variables (APT_COMPILER, APT_COMPILE_OPTIONS, APT_LINKER, APT_LINKER_OPTIONS) set correctly?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Hi Experts,
Thanks for your resonse.
I have installed datastage in my PC.
First i have installed compiler then i have installed datastage server.
By default compiler variables in DATASTAGE ADMINISTRATOR are coming like this.
APT_COMPILEOPT--------->W/TP -W/EHa -APT_USE_ANSI_IOSTREAMS -c
APT_COMPILER----------->cxx
APT_LINKER---------->cxx
APT_LINKOPT----------->W/TP -W/dll -W/base:0x50000000
Does i need to change path of these variables to some where?
Please suggest me i will do changes accordingly!
Thanks for your resonse.
I have installed datastage in my PC.
First i have installed compiler then i have installed datastage server.
By default compiler variables in DATASTAGE ADMINISTRATOR are coming like this.
APT_COMPILEOPT--------->W/TP -W/EHa -APT_USE_ANSI_IOSTREAMS -c
APT_COMPILER----------->cxx
APT_LINKER---------->cxx
APT_LINKOPT----------->W/TP -W/dll -W/base:0x50000000
Does i need to change path of these variables to some where?
Please suggest me i will do changes accordingly!
Try executing your compile command from the command line directly to see if that works,
Code: Select all
cxx -O -IC:/Ascential/DataStage/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c C:/Ascential/DataStage/Projects/AC/RT_BP1.O/V0S1_TEST_TFM_Transformer_1.C -o C:/Ascential/DataStage/Projects/AC/RT_BP1.O/V0S1_TEST_TFM_Transformer_1.tmp.o
Hi Arndw,
Thanks for you response.
when i ran this command
1)"C:/Ascential/DataStage/Projects/AC/RT_BP1.O/V0S1_TEST_TFM_Transformer_1.tmp.o"
It is showing can't find the file
when i ran this command
2)"IC:/Ascential/DataStage/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c "
It is going up to include folder only
when i ran this command
3)"C:/Ascential/DataStage/Projects/AC/RT_BP1.O/V0S1_TEST_TFM_Transformer_1.C -o"
It is running visual c++ 2008 express edition 2008
Even though i have installed C++ compiler 2005 version
Thanks for you response.
when i ran this command
1)"C:/Ascential/DataStage/Projects/AC/RT_BP1.O/V0S1_TEST_TFM_Transformer_1.tmp.o"
It is showing can't find the file
when i ran this command
2)"IC:/Ascential/DataStage/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c "
It is going up to include folder only
when i ran this command
3)"C:/Ascential/DataStage/Projects/AC/RT_BP1.O/V0S1_TEST_TFM_Transformer_1.C -o"
It is running visual c++ 2008 express edition 2008
Even though i have installed C++ compiler 2005 version
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Hi Ray,
I have tried with re-installation of MKSTOOLKIT. and i have changed the path of INCLUDE and LIB Environment variable to
1)
C:\Program Files\Microsoft.NET\SDK\v1.1\include\
C:\Program Files\Microsoft.NET\SDK\v1.1\Lib\
2)
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\
I hve tried in both the ways still "cxx" is not working and transformer stage not compiling.
does i need to change any thing other than this?
I have tried with re-installation of MKSTOOLKIT. and i have changed the path of INCLUDE and LIB Environment variable to
1)
C:\Program Files\Microsoft.NET\SDK\v1.1\include\
C:\Program Files\Microsoft.NET\SDK\v1.1\Lib\
2)
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\
I hve tried in both the ways still "cxx" is not working and transformer stage not compiling.
does i need to change any thing other than this?
Ray
Hi Ray,
I am getting the same error in variable setting can you please help me to solve this.
cxx -O -IC:/Ascential/DataStage/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c C:/Ascential/DataStage/Projects/rdm/RT_BP42.O/V0S9_Chaining_logic_Join_Transform_Data.C -o C:/Ascential/DataStage/Projects/rdm/RT_BP42.O/V0S9_Chaining_logic_Join_Transform_Data.tmp.o
what setting I can set to run transformer in 7.5.2 ?
I am getting the same error in variable setting can you please help me to solve this.
cxx -O -IC:/Ascential/DataStage/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c C:/Ascential/DataStage/Projects/rdm/RT_BP42.O/V0S9_Chaining_logic_Join_Transform_Data.C -o C:/Ascential/DataStage/Projects/rdm/RT_BP42.O/V0S9_Chaining_logic_Join_Transform_Data.tmp.o
what setting I can set to run transformer in 7.5.2 ?