Transformer compilation error
Moderators: chulett, rschirm, roy
Transformer compilation error
I tried to compile parallel job which has row gen-->transformer-->peek and iam getting the following error msg
Output from transformer compilation follows:
##I TFCN 000001 22:36:11(000) <main_program>
Ascential DataStage(tm) Enterprise Edition 7.5
Copyright (c) 2004, 1997-2004 Ascential Software Corporation.
All Rights Reserved
##I TOSH 000002 22:36:11(001) <main_program> orchgeneral: loaded
##I TOSH 000002 22:36:11(002) <main_program> orchsort: loaded
##I TOSH 000002 22:36:11(003) <main_program> orchstats: loaded
##E TBLD 000000 22:36:12(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 65280
##E TFSR 000019 22:36:12(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 22:36:12(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 22:36:12(003) <main_program> Error when checking composite operator: Output from subprocess: Exec failed: No such file or directory
##I TFCP 000008 22:36:12(004) <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/ram/RT_BP1.O/V0S6_test_tx_Transformer_6.C -o C:/Ascential/DataStage/Projects/ram/RT_BP1.O/V0S6_test_tx_Transformer_6.tmp.o
##E TCOS 000029 22:36:12(005) <main_program> Creation of step finished with status = FAILED (test_tx.Transformer_6)
*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S6_test_tx_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
I installed MSVC 2003 first and later datastage server on windows platform with service pack 2.I uninstalled MSVC and datastage and reinstalled but the problem is not resolved.What might be the reason?
Output from transformer compilation follows:
##I TFCN 000001 22:36:11(000) <main_program>
Ascential DataStage(tm) Enterprise Edition 7.5
Copyright (c) 2004, 1997-2004 Ascential Software Corporation.
All Rights Reserved
##I TOSH 000002 22:36:11(001) <main_program> orchgeneral: loaded
##I TOSH 000002 22:36:11(002) <main_program> orchsort: loaded
##I TOSH 000002 22:36:11(003) <main_program> orchstats: loaded
##E TBLD 000000 22:36:12(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 65280
##E TFSR 000019 22:36:12(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 22:36:12(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 22:36:12(003) <main_program> Error when checking composite operator: Output from subprocess: Exec failed: No such file or directory
##I TFCP 000008 22:36:12(004) <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/ram/RT_BP1.O/V0S6_test_tx_Transformer_6.C -o C:/Ascential/DataStage/Projects/ram/RT_BP1.O/V0S6_test_tx_Transformer_6.tmp.o
##E TCOS 000029 22:36:12(005) <main_program> Creation of step finished with status = FAILED (test_tx.Transformer_6)
*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S6_test_tx_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
I installed MSVC 2003 first and later datastage server on windows platform with service pack 2.I uninstalled MSVC and datastage and reinstalled but the problem is not resolved.What might be the reason?
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Also, manually enter the command from the command line and see what the error message is.
Code: Select all
cxx -O -IC:/Ascential/DataStage/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c C:/Ascential/DataStage/Projects/ram/RT_BP1.O/V0S6_test_tx_Transformer_6.C -o C:/Ascential/DataStage/Projects/ram/RT_BP1.O/V0S6_test_tx_Transformer_6.tmp.o
Hi Ray,ray.wurlod wrote:What values do the following environment variables in the project have?
APT_COMPILER
APT_COMPILE_OPTIONS
APT_LINKER
APT_LINKER_OPTIONS ...
The values for compiler environment variables are as below
APT_COMPILER=cxx
APT_COMPILEOPT=-W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c
APT_LINKER=cxx
APT_LINKER_OPTIONS =-W/TP -W/dll -W/base:0x50000000
Thanks
ArndW wrote:Also, manually enter the commandCode: Select all
cxx -O -IC:/Ascential/DataStage/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c C:/Ascential/DataStage/Projects/ram/RT_BP1.O/V0S6_test_tx_Trans ...[/quote] I executed the command cxx -O -IC:/Ascential/DataStage/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c C:/Ascential/DataStage/Projects/ram/RT_BP1.O/V0S13_test_tx_Transformer_13.C -o C:/Ascential/DataStage/Projects/ram/RT_BP1.O/V0S13_test_tx_Transformer_13.tmp.o from command line and it gave me the error message cxx: file 'C:/PROGRA~1/MKSTOO~1/etc/cxx.ccg': The system cannot find the file sp ecified
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: