Transformer compilation 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
attili
Charter Member
Charter Member
Posts: 15
Joined: Sun Aug 13, 2006 10:06 am

Transformer compilation error

Post by attili »

I am trying to compile a sample job (sequential file to sequential file) and I am encountering this error.

Output from transformer compilation follows:

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


##I TOSH 000002 08:27:54(001) <main_program> orchgeneral: loaded
##I TOSH 000002 08:27:54(002) <main_program> orchsort: loaded
##I TOSH 000002 08:27:54(003) <main_program> orchstats: loaded
##E TBLD 000000 08:27:55(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256
##E TFSR 000019 08:27:55(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 08:27:55(002) <transform> Error when checking composite operator: The number of reject datasets "0"is less than the number of input datasets "1".
##W TBLD 000000 08:27:55(003) <main_program> Error when checking composite operator: Output from subprocess: cxx: file 'D:/PROGRA~1/MKSTOO~1/etc/cxx.ccg': The system cannot find the file specified.

##I TFCP 000008 08:27:55(004) <transform> Error when checking composite operator: cxx -O -ID:/ascential/datastage/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c d:/ascential/datastage/Projects/dstage/RT_BP1.O/V0S2_Untitled1_Transformer_2.C -o d:/ascential/datastage/Projects/dstage/RT_BP1.O/V0S2_Untitled1_Transformer_2.tmp.o
##E TCOS 000029 08:27:55(005) <main_program> Creation of step finished with status = FAILED (Untitled1.Transformer_2)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S2_repos_Transformer_2 transform operator.
0003: //
0004:
0005: // define our input/output link names
0006: inputname 0 DSLink4;
0007: outputname 0 DSLink5;
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: DSLink5
0023: DSLink5.Transaction_Date = DSLink4.Transaction_Date;
0024: DSLink5.InterState_MOU = DSLink4.InterState_MOU;
0025: DSLink5.IntraState_MOU = DSLink4.IntraState_MOU;
0026: DSLink5.International_MOU = DSLink4.International_MOU;
0027: writerecord 0;
0028: RowRejected0 = 0;
0029: }
0030:
0031: finish {
0032: }
0033:
*** End of Internal Generated Transformer Code


Thanks in Advance.
...Skill and confidence are an unconquered army
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The MKS Toolkit C++ compiler is not supported. You need to install the correct compiler before installing DataStage server. Search the forum for details.

The file that could not be found ('D:/PROGRA~1/MKSTOO~1/etc/cxx.ccg') is part of MKS Toolkit.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Hemant_Kulkarni
Premium Member
Premium Member
Posts: 50
Joined: Tue Jan 02, 2007 1:40 am

Re: Transformer compilation error

Post by Hemant_Kulkarni »

The cxx.ccg is in the folder
c:\Progra~1\MKSToo~1\etc\nutccg even i am facing the same problem. Tried copying the files from nutccg directory to etc, but no luck. Also the PATH env variable is set correctly. I am using MS VS 2005.

Any clue. Please advice.

Regards,
Hemant_K (N)
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Then you must make sure that your search paths find the Visual Studio .NET executables before they find the MKS Toolkit executables.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Hemant_Kulkarni
Premium Member
Premium Member
Posts: 50
Joined: Tue Jan 02, 2007 1:40 am

Re: Transformer compilation error

Post by Hemant_Kulkarni »

Thanks for the reply...
In the PATH variable it is pointing first to VC++ 2005 ... any other vairable that need to be changed or any Project specific variable to modified. Please clarify.

Thanks Much.
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

For 7.5x2 EE version, you must use VS .Net 2003 C++ compiler.
Post Reply