Page 1 of 1

Compilation Error

Posted: Sat Jun 16, 2007 5:03 pm
by elitehawk
I've installed DS EE 7.5x2. Prior to installing DS Server I had Visual Studi0 2005 installed with Visual C++ in C:\Program Files\Microsoft Visual Studio 8\VC folder.

I read that I'm supposed to have Visual Studio C++ .Net 2003 installed as a pre-requisite. My questions:

Doesn't DS EE support Visual Studio 2005 C++ compiler?
Does anybody has any experience with running DS server with Visual Studio 2005 C++ compiler?

Should I uninstall all Visual Studio 2005 components and install Visual Studio .Net 2003?

Below is the error message I'm getting:

##I TOSH 000002 16:42:26(001) <main_program> orchgeneral: loaded
##I TOSH 000002 16:42:26(002) <main_program> orchsort: loaded
##I TOSH 000002 16:42:26(003) <main_program> orchstats: loaded
##E TBLD 000000 16:42:27(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256
##E TFSR 000019 16:42:27(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 16:42:27(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 16:42:27(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/Training/RT_BP1.O/V0S1_Test1_Transformer_1.C -o C:/Ascential/DataStage/Projects/Training/RT_BP1.O/V0S1_Test1_Transformer_1.tmp.o
##I TBLD 000000 16:42:27(004) <main_program> Error when checking composite operator: Output from subprocess: Compiler "cl" not found.

##E TCOS 000029 16:42:27(005) <main_program> Creation of step finished with status = FAILED (Test1.Transformer_1)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S1_repos_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: DSLink4.ENUM = DSLink3.EMPNO;
0024: DSLink4.ENAME = DSLink3.ENAME;
0025: writerecord 0;
0026: RowRejected0 = 0;
0027: }
0028:
0029: finish {
0030: }
0031:
*** End of Internal Generated Transformer Code

Posted: Sat Jun 16, 2007 6:13 pm
by vmcburney
The 7.5.2X install was tested and certified for Windows 2003 so the compile options are for that version. You could try switching to the 2005 C++ compile options that get set by the DataStage 8 install and let us know if this works on DataStage 7 installs:

Code: Select all

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-

Posted: Mon Jun 18, 2007 8:02 pm
by elitehawk
I tried the parameter values you provided -- didn't work. I installed Visual Studio .Net 2003 and then reset the environment variable that I modified without re-installing the DataStage again and it started working. My job was simple; just an ODBC stage, Transformer, and Sequenetial Stage. It was giving me errors while compiling the job but now it is working fine. Thanks!!