Compiler settings for new installation

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

U
Participant
Posts: 230
Joined: Tue Apr 17, 2007 8:23 pm
Location: Singapore

Compiler settings for new installation

Post by U »

I am trying to configure Information Server 8.5. I have installed Microsoft Visual Studio C++ 2005 Express compiler then successfully installed Information Server 8.5.

My question is what the correct values should be set for APT_COMPILER, APT_LINKER, APT_COMPILE_OPTIONS and APT_LINKER_OPTIONS environment variables.

The installer has picked up cxx from the MKS Toolkit, which I don't believe can be correct (else why would IBM require installation of a Microsoft compiler?).

Do any other environment variables, such as PATH and INCLUDE, also need to be configured and, if so, how?

(This is my first attempt to install on a Windows platform.)

Thank you for your time.
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

Cxx for your APT_COMPILER, APT_LINKER is correct value. What do you have in the other two parameters? Do you have something like -W/TP -W/dll....in there? Try to run a simple parallel job with transformer stage in it. The job will fail if the compiler is wrong.
U
Participant
Posts: 230
Joined: Tue Apr 17, 2007 8:23 pm
Location: Singapore

Post by U »

Thank you for quick response.

APT_COMPILER and APT_LINKER are cxx
APT_COMPILEOPT is -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -W/Zc:wchar_t-
APT_LINKOPT is -s -W/dll -W/base:0x50000000 -W/Zc:wchar_t-

(This is a 32-bit Windows server.) A job with a Transformer stage does not compile, which promped this thread.
U
Participant
Posts: 230
Joined: Tue Apr 17, 2007 8:23 pm
Location: Singapore

Post by U »

Here is the compiler output.

Code: Select all

Output from transformer compilation follows:

##I IIS-DSEE-TFCN-00001 03:58:28(000) <main_program> 
IBM WebSphere DataStage Enterprise Edition 8.5.0.5746 
Copyright (c) 2001, 2005-2008 IBM Corporation. All rights reserved
 


##I IIS-DSEE-TFCN-00006 03:58:28(001) <main_program> conductor uname: -s=Windows_NT; -r=2; -v=5; -n=AU04UAP306QAN32; -m=Pentium
##I IIS-DSEE-TOSH-00002 03:58:28(002) <main_program> orchgeneral: loaded
##I IIS-DSEE-TOSH-00002 03:58:28(003) <main_program> orchsort: loaded
##I IIS-DSEE-TOSH-00002 03:58:28(004) <main_program> orchstats: loaded
##W IIS-DSEE-TOSH-00049 03:58:28(007) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E IIS-DSEE-TBLD-00076 03:58:33(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 20,480.
##E IIS-DSEE-TFSR-00019 03:58:33(001) <main_program> Could not check all operators because of previous error(s)
##W IIS-DSEE-TFTM-00012 03:58:33(002) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
##I IIS-DSEE-TBLD-00000 03:58:33(003) <main_program> Error when checking composite operator: Output from subprocess: C:\IBM\InformationServer\Server\PXEngine\include\apt_util/keylookup.h(1151) : warning C4251: 'APT_KeyLookupRange::rangeOptions_' : class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'APT_KeyLookupRange'
        with
        [
            _Ty=APT_KeyLookupRange::rangeOption
        ]
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss o
##I IIS-DSEE-TBLD-00000 03:58:33(004) <main_program> Error when checking composite operator: Output from subprocess: f data
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4800: 'unsigned __int64' : forcing value to bool 'true' or 'false' (performance warning)
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(186) : w
##I IIS-DSEE-TBLD-00000 03:58:33(005) <main_program> Error when checking composite operator: Output from subprocess: arning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(186) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(187) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
C:\IBM\Inf
##I IIS-DSEE-TBLD-00000 03:58:33(006) <main_program> Error when checking composite operator: Output from subprocess: ormationServer\Server\Projects\SANDPIT\RT_BP2.O\V0S6_InstallTest002_xfmrSampleData.C(214) : warning C4101: 'inSchema_i' : unreferenced local variable
C:\IBM\InformationServer\Server\Projects\SANDPIT\RT_BP2.O\V0S6_InstallTest002_xfmrSampleData.C(206) : warning C4101: 'output' : unreferenced local variable
C:\IBM\InformationServer\Server\Projects\SANDPIT\RT_BP2.O\V0S6_InstallTest002_xfmrSampleData.C(201) : warning C4101: 'input' : unreferenced local variable

##I IIS-DSEE-TBLD-00079 03:58:33(007) <transform> Error when checking composite operator: cxx    -LC:/IBM/InformationServer/Server/Projects/SANDPIT/RT_BP2.O/ -LC:/IBM/InformationServer/Server/PXEngine/lib -LC:/IBM/InformationServer/Server/PXEngine/user_lib -s -W/dll -W/base:0x50000000 -W/Zc:wchar_t- -lliborchnt -lliborchcorent -lliborchbuildopnt C:/IBM/InformationServer/Server/Projects/SANDPIT/RT_BP2.O/V0S6_InstallTest002_xfmrSampleData.tmp.o -o C:/IBM/InformationServer/Server/Projects/SANDPIT/RT_BP2.O/V0S6_InstallTest002_xfmrSampleData.dll.
##I IIS-DSEE-TBLD-00000 03:58:33(008) <main_program> Error when checking composite operator: Output from subprocess: LINK : fatal error LNK1104: cannot open file 'uuid.lib'

##E IIS-DSEE-TCOS-00029 03:58:33(009) <main_program> Creation of a step finished with status = FAILED. (InstallTest002.xfmrSampleData)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S6_InstallTest002_xfmrSampleData transform operator.
0003: //
0004: 
0005: // define our input/output link names
0006: inputname 0 SampleData_IN;
0007: outputname 0 SampleData_OUT;
0008: 
0009: initialize {
0010: 	// define our control variables
0011: 	int8 RowRejected0;
0012: 	int8 NullSetVar0;
0013: 
0014: }
0015: 
0016: mainloop {
0017: 
0018: 	// initialise the rejected row variable
0019: 	RowRejected0 = 1;
0020: 
0021: 	// evaluate columns (no constraints) for link: SampleData_OUT
0022: 	SampleData_OUT.Column004 = trimc_string(SampleData_IN.Column004);
0023: 	writerecord 0;
0024: 	RowRejected0 = 0;
0025: }
0026: 
0027: finish {
0028: }
0029: 
*** End of Internal Generated Transformer Code
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

I barely remember for Microsoft Visual Studio C++ 2005 Express compiler, there is some extra code or step that you have to tweak. Hopefully you have the installation pdf file to check.

I am using VS C++ 2003 and the
APT_COMPILEOPT is -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c
APT_LINKOPT is -W/TP -W/dll -W/base:0x50000000
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

I found the documentation and please do the following:

4. Select Parallel → Compiler → APT_COMPILEOPT and delete the string -W/Zc:wchar_t- from the end of the existing setting in the Value field.
5. Select Parallel → Compiler → APT_LINKOPT and delete the string -W/Zc:wchar_t- from the end of the existing setting in the Value field.

Hopefully this will solve your compiler's problem.
U
Participant
Posts: 230
Joined: Tue Apr 17, 2007 8:23 pm
Location: Singapore

Post by U »

Unfortunately, this change has has no effect. Here is the compiler output with the change in place.

Code: Select all

Output from transformer compilation follows:

##I IIS-DSEE-TFCN-00001 06:48:45(000) <main_program> 
IBM WebSphere DataStage Enterprise Edition 8.5.0.5946 
Copyright (c) 2001, 2005-2008 IBM Corporation. All rights reserved
 


##I IIS-DSEE-TFCN-00006 06:48:45(001) <main_program> conductor uname: -s=Windows_NT; -r=2; -v=5; -n=AU05UAP040QAN32; -m=Pentium
##I IIS-DSEE-TOSH-00002 06:48:45(002) <main_program> orchgeneral: loaded
##I IIS-DSEE-TOSH-00002 06:48:45(003) <main_program> orchsort: loaded
##I IIS-DSEE-TOSH-00002 06:48:45(004) <main_program> orchstats: loaded
##W IIS-DSEE-TOSH-00049 06:48:45(007) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E IIS-DSEE-TBLD-00076 06:48:46(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 20,480.
##E IIS-DSEE-TFSR-00019 06:48:46(001) <main_program> Could not check all operators because of previous error(s)
##W IIS-DSEE-TFTM-00012 06:48:46(002) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
##I IIS-DSEE-TBLD-00000 06:48:46(003) <main_program> Error when checking composite operator: Output from subprocess: E:\APPS\IBM\InformationServer\Server\PXEngine\include\apt_util/keylookup.h(1151) : warning C4251: 'APT_KeyLookupRange::rangeOptions_' : class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'APT_KeyLookupRange'
        with
        [
            _Ty=APT_KeyLookupRange::rangeOption
        ]
E:\APPS\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possi
##I IIS-DSEE-TBLD-00000 06:48:46(004) <main_program> Error when checking composite operator: Output from subprocess: ble loss of data
E:\APPS\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
E:\APPS\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4800: 'unsigned __int64' : forcing value to bool 'true' or 'false' (performance warning)
E:\APPS\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop
##I IIS-DSEE-TBLD-00000 06:48:46(005) <main_program> Error when checking composite operator: Output from subprocess: /transformbase.h(186) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
E:\APPS\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(186) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
E:\APPS\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(187) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int'
##I IIS-DSEE-TBLD-00000 06:48:46(006) <main_program> Error when checking composite operator: Output from subprocess: , possible loss of data
F:\IBM\InformationServer\Server\Projects\SANDPIT\RT_BP2.O\V0S6_TestJob02_xfmrTestData.C(207) : warning C4101: 'output' : unreferenced local variable
F:\IBM\InformationServer\Server\Projects\SANDPIT\RT_BP2.O\V0S6_TestJob02_xfmrTestData.C(202) : warning C4101: 'input' : unreferenced local variable

##I IIS-DSEE-TBLD-00079 06:48:46(007) <transform> Error when checking composite operator: cxx    -LF:/IBM/InformationServer/Server/Projects/SANDPIT/RT_BP2.O/ -LE:/APPS/IBM/InformationServer/Server/PXEngine/lib -LE:/APPS/IBM/InformationServer/Server/PXEngine/user_lib -s -W/dll -W/base:0x50000000 -lliborchnt -lliborchcorent -lliborchbuildopnt F:/IBM/InformationServer/Server/Projects/SANDPIT/RT_BP2.O/V0S6_TestJob02_xfmrTestData.tmp.o -o F:/IBM/InformationServer/Server/Projects/SANDPIT/RT_BP2.O/V0S6_TestJob02_xfmrTestData.dll.
##I IIS-DSEE-TBLD-00000 06:48:46(008) <main_program> Error when checking composite operator: Output from subprocess: LINK : fatal error LNK1104: cannot open file 'uuid.lib'

##E IIS-DSEE-TCOS-00029 06:48:46(009) <main_program> Creation of a step finished with status = FAILED. (TestJob02.xfmrTestData)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S6_TestJob02_xfmrTestData transform operator.
0003: //
0004: 
0005: // define our input/output link names
0006: inputname 0 TestData_IN;
0007: outputname 0 TestData_OUT;
0008: 
0009: initialize {
0010: 	// define our control variables
0011: 	int8 RowRejected0;
0012: 	int8 NullSetVar0;
0013: 
0014: }
0015: 
0016: mainloop {
0017: 
0018: 	// initialise the rejected row variable
0019: 	RowRejected0 = 1;
0020: 
0021: 	// evaluate columns (no constraints) for link: TestData_OUT
0022: 	TestData_OUT.Col4 = trimc_string(TestData_IN.Col4);
0023: 	writerecord 0;
0024: 	RowRejected0 = 0;
0025: }
0026: 
0027: finish {
0028: }
0029: 
*** End of Internal Generated Transformer Code
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

I still see the -s -W/dll -W/base:0x50000000.

You should put -W/TP -W/dll -W/base:0x50000000 in the APT_LINKOPT.
U
Participant
Posts: 230
Joined: Tue Apr 17, 2007 8:23 pm
Location: Singapore

Post by U »

Here are the values currently set for the project.

Code: Select all

APT_COMPILER   cxx
APT_LINKER     cxx
APT_COMPILEOPT -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c
APT_LINKOPT    -W/TP -W/dll -W/base:0x50000000
The same error (I think) still happens. We've contacted support, but they've been slow to respond.

Code: Select all

Output from transformer compilation follows:

##I IIS-DSEE-TFCN-00001 23:25:21(000) <main_program> 
IBM WebSphere DataStage Enterprise Edition 8.5.0.5946 
Copyright (c) 2001, 2005-2008 IBM Corporation. All rights reserved
 


##I IIS-DSEE-TFCN-00006 23:25:21(001) <main_program> conductor uname: -s=Windows_NT; -r=2; -v=5; -n=AU05UAP040QAN32; -m=Pentium
##I IIS-DSEE-TOSH-00002 23:25:21(002) <main_program> orchgeneral: loaded
##I IIS-DSEE-TOSH-00002 23:25:21(003) <main_program> orchsort: loaded
##I IIS-DSEE-TOSH-00002 23:25:21(004) <main_program> orchstats: loaded
##W IIS-DSEE-TOSH-00049 23:25:21(007) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E IIS-DSEE-TBLD-00076 23:25:25(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 20,480.
##E IIS-DSEE-TFSR-00019 23:25:25(001) <main_program> Could not check all operators because of previous error(s)
##W IIS-DSEE-TFTM-00012 23:25:25(002) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
##I IIS-DSEE-TBLD-00000 23:25:25(003) <main_program> Error when checking composite operator: Output from subprocess: E:\APPS\IBM\InformationServer\Server\PXEngine\include\apt_util/keylookup.h(1151) : warning C4251: 'APT_KeyLookupRange::rangeOptions_' : class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'APT_KeyLookupRange'
        with
        [
            _Ty=APT_KeyLookupRange::rangeOption
        ]
E:\APPS\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possi
##I IIS-DSEE-TBLD-00000 23:25:25(004) <main_program> Error when checking composite operator: Output from subprocess: ble loss of data
E:\APPS\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
E:\APPS\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4800: 'unsigned __int64' : forcing value to bool 'true' or 'false' (performance warning)
E:\APPS\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop
##I IIS-DSEE-TBLD-00000 23:25:25(005) <main_program> Error when checking composite operator: Output from subprocess: /transformbase.h(186) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
E:\APPS\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(186) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
E:\APPS\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(187) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int'
##I IIS-DSEE-TBLD-00000 23:25:25(006) <main_program> Error when checking composite operator: Output from subprocess: , possible loss of data
F:\IBM\InformationServer\Server\Projects\SANDPIT\RT_BP2.O\V0S6_TestJob02_xfmrTestData.C(207) : warning C4101: 'output' : unreferenced local variable
F:\IBM\InformationServer\Server\Projects\SANDPIT\RT_BP2.O\V0S6_TestJob02_xfmrTestData.C(202) : warning C4101: 'input' : unreferenced local variable

##I IIS-DSEE-TBLD-00079 23:25:25(007) <transform> Error when checking composite operator: cxx    -LF:/IBM/InformationServer/Server/Projects/SANDPIT/RT_BP2.O/ -LE:/APPS/IBM/InformationServer/Server/PXEngine/lib -LE:/APPS/IBM/InformationServer/Server/PXEngine/user_lib -W/TP -W/dll -W/base:0x50000000 -lliborchnt -lliborchcorent -lliborchbuildopnt F:/IBM/InformationServer/Server/Projects/SANDPIT/RT_BP2.O/V0S6_TestJob02_xfmrTestData.tmp.o -o F:/IBM/InformationServer/Server/Projects/SANDPIT/RT_BP2.O/V0S6_TestJob02_xfmrTestData.dll.
##I IIS-DSEE-TBLD-00000 23:25:25(008) <main_program> Error when checking composite operator: Output from subprocess: LINK : fatal error LNK1104: cannot open file 'uuid.lib'

##E IIS-DSEE-TCOS-00029 23:25:25(009) <main_program> Creation of a step finished with status = FAILED. (TestJob02.xfmrTestData)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S6_TestJob02_xfmrTestData transform operator.
0003: //
0004: 
0005: // define our input/output link names
0006: inputname 0 TestData_IN;
0007: outputname 0 TestData_OUT;
0008: 
0009: initialize {
0010: 	// define our control variables
0011: 	int8 RowRejected0;
0012: 	int8 NullSetVar0;
0013: 
0014: }
0015: 
0016: mainloop {
0017: 
0018: 	// initialise the rejected row variable
0019: 	RowRejected0 = 1;
0020: 
0021: 	// evaluate columns (no constraints) for link: TestData_OUT
0022: 	TestData_OUT.Col4 = trimc_string(TestData_IN.Col4);
0023: 	writerecord 0;
0024: 	RowRejected0 = 0;
0025: }
0026: 
0027: finish {
0028: }
0029: 
*** End of Internal Generated Transformer Code
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

fatal error LNK1104: cannot open file 'uuid.lib'. You need to install Windows Platform SDK for 2003 R2, which provides uuid.lib. What a pain!

I am glad that I use Microsoft Visual C++ .NET 2003; don't have to go through all this.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

If you have installed the SDK, make sure that your LIB and INCLUDE environment variables include the Lib and Include folder (respectively) for the SDK. You may need to restart your server.

Code: Select all

C:\Documents and Settings\raywurlod>echo %LIB%
E:\DB\DB2\SQLLIB\LIB;E:\APPS\ProgramFiles\Microsoft Platform SDK for Windows Server 2003 R2\Lib

C:\Documents and Settings\raywurlod>echo %INCLUDE%
E:\DB\DB2\SQLLIB\INCLUDE;E:\DB\DB2\SQLLIB\LIB;E:\APPS\ProgramFiles\Microsoft Platform SDK for Windows Server 2003 R2\Include

C:\Documents and Settings\raywurlod>
Last edited by ray.wurlod on Thu May 26, 2011 10:50 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
U
Participant
Posts: 230
Joined: Tue Apr 17, 2007 8:23 pm
Location: Singapore

Post by U »

Thank you all! It's now working.

Based on advice from support, the following project environment variable values were set.

Code: Select all

APT_COMPILER   cxx 
APT_LINKER     cxx 
APT_COMPILEOPT -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -W/Zc:wchar_t-
APT_LINKOPT    -s -W/dll -W/base:0x50000000 -W/Zc:wchar_t-
LIB and INCLUDE were changed to include the SDK folders. I think that was the main thing to do.
U
Participant
Posts: 230
Joined: Tue Apr 17, 2007 8:23 pm
Location: Singapore

Post by U »

We've now installed 8.7 on Windows Server 2008 (64-bit) and, with the same environment variable settings, are again failing to compile. The compilation error from the Transformer stage is below. Any advice is appreciated. Thank you for your time.
Compiler wrote:Output from transformer compilation follows:

##I IIS-DSEE-TFCN-00001 11:40:46(000) <main_program>
IBM InfoSphere DataStage Enterprise Edition 8.7.0.6118
Copyright (c) 2001, 2005-2011 IBM Corporation. All rights reserved



##I IIS-DSEE-TFCN-00006 11:40:46(001) <main_program> conductor uname: -s=Windows_NT; -r=1; -v=6; -n=SYD02H270IV; -m=Pentium
##I IIS-DSEE-TOSH-00002 11:40:46(002) <main_program> orchgeneral: loaded
##I IIS-DSEE-TOSH-00002 11:40:46(003) <main_program> orchsort: loaded
##I IIS-DSEE-TOSH-00002 11:40:46(004) <main_program> orchstats: loaded
##W IIS-DSEE-TOSH-00049 11:40:46(007) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E IIS-DSEE-TBLD-00076 11:40:47(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256.
##E IIS-DSEE-TFSR-00019 11:40:47(001) <main_program> Could not check all operators because of previous error(s)
##W IIS-DSEE-TFTM-00012 11:40:47(002) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
##I IIS-DSEE-TBLD-00079 11:40:47(003) <transform> Error when checking composite operator: cxx -O -IE:/IBM/InformationServer/Server/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -W/Zc:wchar_t- E:/IBM/InformationServer/Server/Projects/Do_Not_Use/RT_BP3.O/V0S6_GenerateFastTrackImportFile_xfmrReformat.C -o E:/IBM/InformationServer/Server/Projects/Do_Not_Use/RT_BP3.O/V0S6_GenerateFastTrackImportFile_xfmrReformat.tmp.o.
##I IIS-DSEE-TBLD-00000 11:40:47(004) <main_program> Error when checking composite operator: Output from subprocess: Compiler "cl" not found.

##E IIS-DSEE-TCOS-00029 11:40:47(005) <main_program> Creation of a step finished with status = FAILED. (GenerateFastTrackImportFile.xfmrReformat)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S6_GenerateFastTrackImportFile_xfmrReformat transform operator.
0003: //
0004:
0005: // define our input/output link names
0006: inputname 0 Worksheet_IN;
0007: outputname 0 FastTrack_OUT;
0008:
0009: initialize {
0010: // define our control variables
0011: int8 RowRejected0;
0012: int8 NullSetVar0;
0013:
0014: // declare our intermediate variables for this section
0015: string InterVar0_0;
0016: string InterVar0_2;
0017: string InterVar0_3;
0018: string InterVar0_7;
0019: string InterVar0_8;
0020: string InterVar0_9;
0021: string InterVar0_10;
0022:
0023: // initialise constant values which require conversion
0024: InterVar0_0 = "";
0025: InterVar0_2 = " ";
0026: InterVar0_3 = ".";
0027: InterVar0_7 = "Column";
0028: InterVar0_8 = "Y";
0029: InterVar0_9 = " PRIMARY KEY";
0030: InterVar0_10 = "Imported";
0031: // Stage variable declaration and initialisation
0032: string StageVar0_svSourceColumns;
0033: StageVar0_svSourceColumns = InterVar0_0;
0034: string StageVar0_svTargetColumns;
0035: StageVar0_svTargetColumns = InterVar0_0;
0036: }
0037:
0038: mainloop {
0039:
0040: // declare our intermediate variables for this section
0041: string InterVar0_1;
0042: string InterVar0_4;
0043: string InterVar0_5;
0044: string InterVar0_6;
0045:
0046: // evaluate the stage variables first
0047: if ((Worksheet_IN.Source_System > InterVar0_2)) {
0048: InterVar0_1 = (Worksheet_IN.Source_System + InterVar0_3);
0049: } else {
0050: InterVar0_1 = InterVar0_0;
0051: }
0052: if ((Worksheet_IN.Source_Table > InterVar0_2)) {
0053: InterVar0_4 = (Worksheet_IN.Source_Table + InterVar0_3);
0054: } else {
0055: InterVar0_4 = InterVar0_0;
0056: }
0057: if ((Worksheet_IN.Source_Column > InterVar0_2)) {
0058: InterVar0_5 = Worksheet_IN.Source_Column;
0059: } else {
0060: InterVar0_5 = InterVar0_0;
0061: }
0062: StageVar0_svSourceColumns = ((InterVar0_1 + InterVar0_4) + InterVar0_5);
0063: if ((Worksheet_IN.Target_Table > InterVar0_2)) {
0064: InterVar0_6 = (Worksheet_IN.Target_Table + InterVar0_3);
0065: } else {
0066: InterVar0_6 = InterVar0_0;
0067: }
0068: if ((Worksheet_IN.Target_Column > InterVar0_2)) {
0069: InterVar0_1 = Worksheet_IN.Target_Column;
0070: } else {
0071: InterVar0_1 = InterVar0_0;
0072: }
0073: StageVar0_svTargetColumns = (InterVar0_6 + InterVar0_1);
0074:
0075: // initialise the rejected row variable
0076: RowRejected0 = 1;
0077:
0078: // evaluate constraint and columns for link: FastTrack_OUT
0079: if ((Worksheet_IN.Source_Column != InterVar0_7))
0080: {
0081: FastTrack_OUT.SourceColumns = StageVar0_svSourceColumns;
0082: FastTrack_OUT.SourceBusinessTerm = InterVar0_0;
0083: FastTrack_OUT.TargetColumns = StageVar0_svTargetColumns;
0084: FastTrack_OUT.TargetBusinessTerm = InterVar0_0;
0085: FastTrack_OUT.RuleDescription = Worksheet_IN.Transformation_Rule;
0086: FastTrack_OUT.RuleExpression = InterVar0_0;
0087: FastTrack_OUT.Annotation = Worksheet_IN.Last_Changed_In;
0088: FastTrack_OUT.Join = InterVar0_0;
0089: FastTrack_OUT.Filter = InterVar0_0;
0090: if ((Worksheet_IN.Primary_Key == InterVar0_8)) {
0091: InterVar0_1 = InterVar0_9;
0092: } else {
0093: InterVar0_1 = InterVar0_0;
0094: }
0095: FastTrack_OUT.Specification = (((Worksheet_IN.Target_Type + InterVar0_2) + Worksheet_IN.Required) + InterVar0_1);
0096: FastTrack_OUT.Status = InterVar0_10;
0097: FastTrack_OUT.LastUpdatedDescription = Worksheet_IN.Last_Changed_In;
0098: FastTrack_OUT.LastUpdated = string_from_date(Worksheet_IN.Last_Updated);
0099: FastTrack_OUT.ID = InterVar0_0;
0100: FastTrack_OUT.Editor = InterVar0_0;
0101: writerecord 0;
0102: RowRejected0 = 0;
0103: }
0104: }
0105:
0106: finish {
0107: }
0108:
*** End of Internal Generated Transformer Code
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Can you please check PATH, LIB and LIBPATH environment variables?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
lmoose1
Premium Member
Premium Member
Posts: 28
Joined: Wed Sep 13, 2006 12:56 pm
Location: Kansas City

Post by lmoose1 »

We just installed 8.7 on Windows Server 2008 R2 Enterprise SP1 and are encountering transformer compile errors, too. We are using Microsoft Visual C++ 2010 Express Edition for the compiler.

Looking through this topic I'm not yet seeing how to resolve it, but I do see what information has been requested -- so I'll start by providing that. That actual compile errors are at the end.

APT_COMPILER cxx
APT_COMPILEOPT -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -W/Zc:wchar_t-
APT_LINKER cxx
APT_LINKOPT -s -W/dll -W/base:0x50000000 -W/Zc:wchar_t-

INCLUDE=d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include;
LIB=d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB;c:\Program Files(x86)\Microsoft SDKs\Windows\v7.0A\lib;
LIBPATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v3.5;d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB;

PATH=C:\Program Files (x86)\Teradata\Client\13.10\AXSMOD\;
d:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\;
d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN;
d:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools;
C:\Windows\Microsoft.NET\Framework\v4.0.30319;
C:\Windows\Microsoft.NET\Framework\v3.5;
d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\VCPackages;
c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools;
c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin;
C:\Program Files (x86)\Teradata\Client\13.10\AXSMOD\;
C:\IBM\InformationServer\Server\DSComponents\bin;
C:\Program Files (x86)\MKS Toolkit\mksnt;
C:\PROGRA~2\MKSTOO~1\bin64;
C:\PROGRA~2\MKSTOO~1\bin;
C:\PROGRA~2\MKSTOO~1\bin\X11;
C:\PROGRA~2\MKSTOO~1\mksnt;
C:\IBM\InformationServer\ASBNode\apps\jre\bin\classic;
C:\IBM\InformationServer\ASBNode\lib\cpp;
C:\IBM\InformationServer\ASBNode\apps\proxy\cpp\vc60\MT_dll\bin;
C:\Program Files (x86)\Teradata\Client\13.10\bin\;
C:\Program Files (x86)\Teradata\Client\13.10\AXSMOD\;
C:\Program Files (x86)\Teradata\client\13.10\Teradata Parallel Transporter\bin;
C:\Program Files (x86)\Teradata\client\13.10\Teradata Parallel Transporter\msg;
C:\Program Files (x86)\Teradata\Client\13.10\CLIv2\;
C:\Program Files (x86)\Teradata\Client\13.10\ODBC Driver for Teradata\Lib\;
C:\Program Files (x86)\Teradata\Client\13.10\Shared ICU Libraries for Teradata\lib\;
C:\Program Files\Teradata\Client\13.10\ODBC Driver for Teradata nt-x8664\Lib\;
C:\Program Files\Teradata\Client\13.10\Shared ICU Libraries for Teradata\lib\;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files (x86)\Java\jre6\bin;
C:\IBM\InformationServer\Server\PXEngine\bin;
C:\Windows/SysWOW64




Output from transformer compilation follows:

##I IIS-DSEE-TFCN-00001 17:29:33(000) <main_program>
IBM InfoSphere DataStage Enterprise Edition 8.7.0.6118
Copyright (c) 2001, 2005-2011 IBM Corporation. All rights reserved



##I IIS-DSEE-TFCN-00006 17:29:33(001) <main_program> conductor uname: -s=Windows_NT; -r=1; -v=6; -n=ETLRED; -m=Pentium
##I IIS-DSEE-TOSH-00002 17:29:33(002) <main_program> orchgeneral: loaded
##I IIS-DSEE-TOSH-00002 17:29:33(003) <main_program> orchsort: loaded
##I IIS-DSEE-TOSH-00002 17:29:33(004) <main_program> orchstats: loaded
##W IIS-DSEE-TOSH-00049 17:29:34(000) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E IIS-DSEE-TBLD-00076 17:29:41(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 40,192.
##E IIS-DSEE-TFSR-00019 17:29:41(001) <main_program> Could not check all operators because of previous error(s)
##W IIS-DSEE-TFTM-00012 17:29:41(002) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
##I IIS-DSEE-TBLD-00000 17:29:41(003) <main_program> Error when checking composite operator: Output from subprocess: C:\IBM\InformationServer\Server\PXEngine\include\apt_util/keylookup.h(1151) : warning C4251: 'APT_KeyLookupRange::rangeOptions_' : class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'APT_KeyLookupRange'
with
[
_Ty=APT_KeyLookupRange::rangeOption
]
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss o
##I IIS-DSEE-TBLD-00000 17:29:41(004) <main_program> Error when checking composite operator: Output from subprocess: f data
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4800: 'unsigned __int64' : forcing value to bool 'true' or 'false' (performance warning)
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(186) : w
##I IIS-DSEE-TBLD-00000 17:29:41(005) <main_program> Error when checking composite operator: Output from subprocess: arning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(186) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(187) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
D:\IBM\Pro
##I IIS-DSEE-TBLD-00000 17:29:41(006) <main_program> Error when checking composite operator: Output from subprocess: jects\Solutions\Solutions\RT_BP32.O\V0S2_TestCompiler_Transformer_2.C(205) : warning C4101: 'output' : unreferenced local variable
D:\IBM\Projects\Solutions\Solutions\RT_BP32.O\V0S2_TestCompiler_Transformer_2.C(200) : warning C4101: 'input' : unreferenced local variable

##I IIS-DSEE-TBLD-00079 17:29:41(007) <transform> Error when checking composite operator: cxx -LD:/IBM/Projects/Solutions/Solutions/RT_BP32.O/ -LC:/IBM/InformationServer/Server/PXEngine/lib -LC:/IBM/InformationServer/Server/PXEngine/user_lib -s -W/dll -W/base:0x50000000 -W/Zc:wchar_t- -lliborchnt -lliborchcorent -lliborchbuildopnt D:/IBM/Projects/Solutions/Solutions/RT_BP32.O/V0S2_TestCompiler_Transformer_2.tmp.o -o D:/IBM/Projects/Solutions/Solutions/RT_BP32.O/V0S2_TestCompiler_Transformer_2.dll.
##I IIS-DSEE-TBLD-00000 17:29:41(008) <main_program> Error when checking composite operator: Output from subprocess: LINK : fatal error LNK1181: cannot open input file 'kernel32.lib'

##E IIS-DSEE-TCOS-00029 17:29:41(009) <main_program> Creation of a step finished with status = FAILED. (TestCompiler.Transformer_2)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S2_TestCompiler_Transformer_2 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 control variables
0011: int8 RowRejected0;
0012: int8 NullSetVar0;
0013:
0014: }
0015:
0016: mainloop {
0017:
0018: // initialise the rejected row variable
0019: RowRejected0 = 1;
0020:
0021: // evaluate columns (no constraints) for link: DSLink4
0022: writerecord 0;
0023: RowRejected0 = 0;
0024: }
0025:
0026: finish {
0027: }
0028:
*** End of Internal Generated Transformer Code
Post Reply