Page 1 of 2
Tranformer compilation error
Posted: Wed Oct 19, 2005 1:02 am
by maffan76
Hi,
I am facing an error while trying to compile a very basic parallel Job
Code: Select all
File --- > Transfomer --- > TD Stage
i get the follwoing error
Code: Select all
Output from transformer compilation follows:
##I TFCN 000001 09:51:38(000) <main_program>
Ascential DataStage(tm) Enterprise Edition 7.5
Copyright (c) 2004, 1997-2004 Ascential Software Corporation.
All Rights Reserved
##I TOSH 000002 09:51:38(001) <main_program> orchgeneral: loaded
##I TOSH 000002 09:51:38(002) <main_program> orchsort: loaded
##I TOSH 000002 09:51:38(003) <main_program> orchstats: loaded
##W TFPA 000012 09:51:38(006) <main_program> Warning: the PWD environment variable is not defined. Remote process startup may be unsuccessful as a result.If your ORCHESTRATE job does not start up correctly, please set your PWD variable to a value that will work on all nodes of your system.
##E TBLD 000000 09:51:39(000) <main_program> [u]Error when checking composite operator: Subprocess command failed with exit status 256[/u]
##E TFSR 000019 09:51:39(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 09:51:39(002) <transform> [u]Error when checking composite operator: The number of reject datasets "0"is less than the number of input datasets "1".[/u]##I TFCP 000008 09:51:39(003) <transform> Error when checking composite operator: [u]cxx -O -ID:/Ascential/DataStage/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c D:/Ascential/DataStage/Projects/PX/RT_BP3.O/V0S1_Transform_Transformer_1.C -o D:/Ascential/DataStage/Projects/PX/RT_BP3.O/V0S1_Transform_Transformer_1.tmp.o[/u]##I TBLD 000000 09:51:39(004) <main_program> Error when checking composite operator: Output from subprocess: Compiler "cl" not found.
##E TCOS 000029 09:51:39(005) <main_program> Creation of step finished with status = FAILED (Transform.Transformer_1)
*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S1_Transform_Transformer_1 transform operator.
0003: //
0004:
0005: // define our input/output link names
0006: inputname 0 DSLink2;
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;
0025: }
0026:
0027: finish {
0028: }
0029:
*** End of Internal Generated Transformer Code
Secondly i when i took out the 3rd Underlined compiler command and ran it on command prompt. i got the following message
Code: Select all
D:\Program Files\Microsoft Visual C++ Toolkit 2003\include\stdlib.h(185) : warning C4005: 'errno' : macro redefinition
C:/Program Files\MKS Toolkit\include\nutc\errno.h(32) : see previous definition of 'errno'
D:\Program Files\Microsoft Visual C++ Toolkit 2003\include\stdlib.h(428) : warning C4005: 'sys_errlist' : macro redefinition
C:/Program Files\MKS Toolkit\include\nutc\errlist.h(36) : see previous definition of 'sys_errlist'
D:\Program Files\Microsoft Visual C++ Toolkit 2003\include\stdlib.h(429) : warning C4005: 'sys_nerr' : macro redefinition
C:/Program Files\MKS Toolkit\include\nutc\errlist.h(37) : see previous definition of 'sys_nerr'
D:\Ascential\DataStage\PXEngine\include\apt_util\ints.h(58) : error C2146: syntax error : missing ';' before identifier 'APT_UInt64'
D:\Ascential\DataStage\PXEngine\include\apt_util\ints.h(58) : error C2501: 'APT_UInt64' : missing storage-class or type specifiers
D:\Ascential\DataStage\PXEngine\include\apt_util\ints.h(59) : error C2146: syntax error : missing ';' before identifier 'APT_Int64'
D:\Ascential\DataStage\PXEngine\include\apt_util\ints.h(59) : error C2501: 'APT_Int64' : missing storage-class or type specifiers
D:\Program Files\Microsoft Visual C++ Toolkit 2003\include\ctype.h(107) : error C2375: '_tolower' : redefinition; different linkage
D:\Ascential\DataStage\PXEngine\include\apt_util\condition.h(333) : see declaration of '_tolower'
D:\Program Files\Microsoft Visual C++ Toolkit 2003\include\ctype.h(108) : error C2375: '_toupper' : redefinition; different linkage
D:\Ascential\DataStage\PXEngine\include\apt_util\condition.h(334) : see declaration of '_toupper'
D:\Program Files\Microsoft Visual C++ Toolkit 2003\include\ostream(604) : fatal error C1903: unable to recover from previous error(s); stopping compilation
can please someone explain me whats going wrong over here, the first 2 underlined errors i am unable to undertand and about the third one is it a wrong compiler version or is there any switch of compiler missing.
I am running this on a laptop with Win XP SP2
Thanks in advance.
Posted: Wed Oct 19, 2005 1:06 am
by maffan76
sorry about the underline tag problem as i put those but it did not work the 3 errors are as follow
Error when checking composite operator: Subprocess command failed with exit status 256
Error when checking composite operator: The number of reject datasets "0"is less than the number of input datasets "1".
Error when checking composite operator: The number of reject datasets "0"is less than the number of input datasets "1".##I TFCP 000008 09:51:39(003) <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/PX/RT_BP3.O/V0S1_Transform_Transformer_1.C -o D:/Ascential/DataStage/Projects/PX/RT_BP3.O/V0S1_Transform_Transformer_1.tmp.o
Thanks
Posted: Wed Oct 19, 2005 1:08 am
by ray.wurlod
It wants your Transformer stage to have a rejects (other/log) output link.
Posted: Wed Oct 19, 2005 1:31 am
by maffan76
And what about this Error
"Error when checking composite operator: Subprocess command failed with exit status 256"
and the compiler error.
Posted: Wed Oct 19, 2005 4:52 am
by Eric
maffan76from subprocess: Compiler "cl" not found.
Did you have a compiler installed before you installed DataStage?
The error would imply that datastage cannot find a compiler.
Posted: Wed Oct 19, 2005 5:19 am
by maffan76
Yes, i Uninstalled everything and then installed according ot the instruction and now i am getting this error
Code: Select all
Output from transformer compilation follows:
##I TFCN 000001 13:43:00(000) <main_program>
Ascential DataStage(tm) Enterprise Edition 7.5
Copyright (c) 2004, 1997-2004 Ascential Software Corporation.
All Rights Reserved
##I TOSH 000002 13:43:00(001) <main_program> orchgeneral: loaded
##I TOSH 000002 13:43:00(002) <main_program> orchsort: loaded
##I TOSH 000002 13:43:00(003) <main_program> orchstats: loaded
##W TFPA 000012 13:43:01(000) <main_program> Warning: the PWD environment variable is not defined. Remote process startup may be unsuccessful as a result.If your ORCHESTRATE job does not start up correctly, please set your PWD variable to a value that will work on all nodes of your system.
##E TBLD 000000 13:43:02(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 512
##E TFSR 000019 13:43:02(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 13:43:02(002) <transform> Error when checking composite operator: The number of reject datasets "0"is less than the number of input datasets "1".
##W TFCP 000025 13:43:02(003) <transform> Error when checking composite operator: Converting number to string
##W TFCP 000000 13:43:02(004) <transform> Error when checking composite operator: Implicit conversion from source type "UInt64" to result type "String".
##I TFCP 000008 13:43:02(005) <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/PXJobs/RT_BP1.O/V0S1_ParallelTransform_Transformer_1.C -o D:/Ascential/DataStage/Projects/PXJobs/RT_BP1.O/V0S1_ParallelTransform_Transformer_1.tmp.o
##I TBLD 000000 13:43:02(006) <main_program> Error when checking composite operator: Output from subprocess: D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(89) : error C2039: 'ostream' : is not a member of 'operator``global namespace'''
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(89) : error C2143: syntax error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(89) : error C2501: 'ostream' : missing storage-class or type specifiers
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(89) : error C2059: syntax error : ','
D:\Ascen
##I TBLD 000000 13:43:02(007) <main_program> Error when checking composite operator: Output from subprocess: tial\DataStage\PXEngine\include\apt_util\basicstring.h(90) : error C2143: syntax error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(90) : error C2501: 'ostream' : missing storage-class or type specifiers
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(90) : error C2059: syntax error : ','
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(92) : error C2039: 'istream' : is not a member of 'operator``global namespace'''
D:\Ascential\Dat
##I TBLD 000000 13:43:02(008) <main_program> Error when checking composite operator: Output from subprocess: aStage\PXEngine\include\apt_util\basicstring.h(92) : error C2143: syntax error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(92) : error C2501: 'istream' : missing storage-class or type specifiers
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(92) : error C2059: syntax error : ','
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(93) : error C2143: syntax error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util
##I TBLD 000000 13:43:02(009) <main_program> Error when checking composite operator: Output from subprocess: \basicstring.h(93) : error C2501: 'istream' : missing storage-class or type specifiers
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(93) : error C2059: syntax error : ','
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(892) : error C2143: syntax error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(1286) : see reference to class template instantiation 'APT_BasicString<C>' being compiled
D:\Ascential\DataStage\PXEngine\includ
##I TBLD 000000 13:43:02(010) <main_program> Error when checking composite operator: Output from subprocess: e\apt_util\basicstring.h(892) : error C2433: 'ostream' : 'friend' not permitted on data declarations
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(892) : error C2063: 'ostream' : not a function
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(892) : error C2061: syntax error : identifier 'ostream'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(892) : error C2501: 'APT_BasicString<C>::operator`<<'' : missing storage-class or type specifiers
D:\Ascential\Data
##I TBLD 000000 13:43:02(011) <main_program> Error when checking composite operator: Output from subprocess: Stage\PXEngine\include\apt_util\basicstring.h(892) : error C2805: binary 'operator <<' has too few parameters
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(893) : error C2143: syntax error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(893) : error C2433: 'ostream' : 'friend' not permitted on data declarations
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(893) : error C2063: 'ostream' : not a function
D:\Ascential\DataStage\PXEng
##I TBLD 000000 13:43:02(012) <main_program> Error when checking composite operator: Output from subprocess: ine\include\apt_util\basicstring.h(893) : error C2061: syntax error : identifier 'ostream'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(893) : error C2501: 'APT_BasicString<C>::operator`<<'' : missing storage-class or type specifiers
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2143: syntax error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2433: 'istream' : 'friend' not permitted on data declaratio
##I TBLD 000000 13:43:02(013) <main_program> Error when checking composite operator: Output from subprocess: ns
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2063: 'istream' : not a function
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2061: syntax error : identifier 'istream'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2501: 'APT_BasicString<C>::operator`>>'' : missing storage-class or type specifiers
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2805: binary 'operator >>' has too few
##I TBLD 000000 13:43:02(014) <main_program> Error when checking composite operator: Output from subprocess: parameters
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(907) : error C2143: syntax error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(907) : error C2433: 'istream' : 'friend' not permitted on data declarations
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(907) : error C2063: 'istream' : not a function
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(907) : error C2061: syntax error : identifier 'istream'
D:\Asc
##I TBLD 000000 13:43:02(015) <main_program> Error when checking composite operator: Output from subprocess: ential\DataStage\PXEngine\include\apt_util\basicstring.h(907) : error C2501: 'APT_BasicString<C>::operator`>>'' : missing storage-class or type specifiers
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(892) : error C2143: syntax error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\string.h(20) : see reference to class template instantiation 'APT_BasicString<C>' being compiled
with
[
C=char
]
D:\Ascential\DataStage\
##I TBLD 000000 13:43:02(016) <main_program> Error when checking composite operator: Output from subprocess: PXEngine\include\apt_util\basicstring.h(892) : error C2433: 'ostream' : 'friend' not permitted on data declarations
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(892) : error C2063: 'ostream' : not a function
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(892) : error C2061: syntax error : identifier 'ostream'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(892) : error C2501: 'APT_BasicString<C>::operator`<<'' : missing storage-class or type specifiers
##I TBLD 000000 13:43:02(017) <main_program> Error when checking composite operator: Output from subprocess: with
[
C=char
]
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(892) : error C2805: binary 'operator <<' has too few parameters
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(893) : error C2143: syntax error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(893) : error C2433: 'ostream' : 'friend' not permitted on data declarations
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(893)
##I TBLD 000000 13:43:02(018) <main_program> Error when checking composite operator: Output from subprocess: : error C2063: 'ostream' : not a function
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(893) : error C2061: syntax error : identifier 'ostream'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(893) : error C2501: 'APT_BasicString<C>::operator`<<'' : missing storage-class or type specifiers
with
[
C=char
]
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2143: syntax error : missing ';' before '&'
D:\Ascent
##I TBLD 000000 13:43:02(019) <main_program> Error when checking composite operator: Output from subprocess: ial\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2433: 'istream' : 'friend' not permitted on data declarations
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2063: 'istream' : not a function
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2061: syntax error : identifier 'istream'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2501: 'APT_BasicString<C>::operator`>>'' : missing storage-class or type
##I TBLD 000000 13:43:02(020) <main_program> Error when checking composite operator: Output from subprocess: specifiers
with
[
C=char
]
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2805: binary 'operator >>' has too few parameters
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(907) : error C2143: syntax error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(907) : error C2433: 'istream' : 'friend' not permitted on data declarations
D:\Ascential\DataStage\PXEngine\include\apt_util\basic
##I TBLD 000000 13:43:02(021) <main_program> Error when checking composite operator: Output from subprocess: string.h(907) : error C2063: 'istream' : not a function
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(907) : error C2061: syntax error : identifier 'istream'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(907) : error C2501: 'APT_BasicString<C>::operator`>>'' : missing storage-class or type specifiers
with
[
C=char
]
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(892) : error C2143: syntax error : missing ';' before
##I TBLD 000000 13:43:02(022) <main_program> Error when checking composite operator: Output from subprocess: '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\ustring.h(37) : see reference to class template instantiation 'APT_BasicString<C>' being compiled
with
[
C=UChar
]
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(892) : error C2433: 'ostream' : 'friend' not permitted on data declarations
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(892) : error C2063: 'ostream' : not a function
D:\Ascential\DataStage\PXEngine\include\apt
##I TBLD 000000 13:43:02(023) <main_program> Error when checking composite operator: Output from subprocess: _util\basicstring.h(892) : error C2061: syntax error : identifier 'ostream'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(892) : error C2501: 'APT_BasicString<C>::operator`<<'' : missing storage-class or type specifiers
with
[
C=UChar
]
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(892) : error C2805: binary 'operator <<' has too few parameters
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(893) : error C2143: synta
##I TBLD 000000 13:43:02(024) <main_program> Error when checking composite operator: Output from subprocess: x error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(893) : error C2433: 'ostream' : 'friend' not permitted on data declarations
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(893) : error C2063: 'ostream' : not a function
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(893) : error C2061: syntax error : identifier 'ostream'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(893) : error C2501: 'APT_BasicString<C>::ope
##I TBLD 000000 13:43:02(025) <main_program> Error when checking composite operator: Output from subprocess: rator`<<'' : missing storage-class or type specifiers
with
[
C=UChar
]
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2143: syntax error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2433: 'istream' : 'friend' not permitted on data declarations
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2063: 'istream' : not a function
D:\Ascential\DataStage\PXEn
##I TBLD 000000 13:43:02(026) <main_program> Error when checking composite operator: Output from subprocess: gine\include\apt_util\basicstring.h(906) : error C2061: syntax error : identifier 'istream'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2501: 'APT_BasicString<C>::operator`>>'' : missing storage-class or type specifiers
with
[
C=UChar
]
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(906) : error C2805: binary 'operator >>' has too few parameters
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(907) : er
##I TBLD 000000 13:43:02(027) <main_program> Error when checking composite operator: Output from subprocess: ror C2143: syntax error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(907) : error C2433: 'istream' : 'friend' not permitted on data declarations
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(907) : error C2063: 'istream' : not a function
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(907) : error C2061: syntax error : identifier 'istream'
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(907) : error C2501: 'APT_Bas
##I TBLD 000000 13:43:02(028) <main_program> Error when checking composite operator: Output from subprocess: icString<C>::operator`>>'' : missing storage-class or type specifiers
with
[
C=UChar
]
D:\Ascential\DataStage\PXEngine\include\apt_util\identifier.h(175) : error C2039: 'ostream' : is not a member of 'std'
D:\Ascential\DataStage\PXEngine\include\apt_util\identifier.h(175) : error C2143: syntax error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\identifier.h(175) : error C2433: 'ostream' : 'friend' not permitted on data declarations
D:\A
##I TBLD 000000 13:43:02(029) <main_program> Error when checking composite operator: Output from subprocess: scential\DataStage\PXEngine\include\apt_util\identifier.h(175) : error C2501: 'ostream' : missing storage-class or type specifiers
D:\Ascential\DataStage\PXEngine\include\apt_util\identifier.h(175) : error C2039: 'ostream' : is not a member of 'std'
D:\Ascential\DataStage\PXEngine\include\apt_util\identifier.h(175) : error C2061: syntax error : identifier 'ostream'
D:\Ascential\DataStage\PXEngine\include\apt_util\identifier.h(175) : error C2501: 'APT_Identifier::operator`<<'' : missing storage-class or t
##I TBLD 000000 13:43:02(030) <main_program> Error when checking composite operator: Output from subprocess: ype specifiers
D:\Ascential\DataStage\PXEngine\include\apt_util\identifier.h(175) : error C2805: binary 'operator <<' has too few parameters
D:\Ascential\DataStage\PXEngine\include\apt_util\identifier.h(179) : error C2039: 'istream' : is not a member of 'std'
D:\Ascential\DataStage\PXEngine\include\apt_util\identifier.h(179) : error C2143: syntax error : missing ';' before '&'
D:\Ascential\DataStage\PXEngine\include\apt_util\identifier.h(179) : error C2433: 'istream' : 'friend' not permitted on data dec
##I TBLD 000000 13:43:02(031) <main_program> Error when checking composite operator: Output from subprocess: larations
D:\Ascential\DataStage\PXEngine\include\apt_util\identifier.h(179) : error C2501: 'istream' : missing storage-class or type specifiers
D:\Ascential\DataStage\PXEngine\include\apt_util\identifier.h(179) : error C2039: 'istream' : is not a member of 'std'
D:\Ascential\DataStage\PXEngine\include\apt_util\identifier.h(179) : error C2061: syntax error : identifier 'istream'
D:\Ascential\DataStage\PXEngine\include\apt_util\identifier.h(179) : error C2501: 'APT_Identifier::operator`>>'' : missing sto
##I TBLD 000000 13:43:02(032) <main_program> Error when checking composite operator: Output from subprocess: rage-class or type specifiers
D:\Ascential\DataStage\PXEngine\include\apt_util\identifier.h(179) : error C2805: binary 'operator >>' has too few parameters
D:\Ascential\DataStage\PXEngine\include\apt_util\assert.h(39) : fatal error C1083: Cannot open include file: 'sstream': No such file or directory
##E TCOS 000029 13:43:02(033) <main_program> Creation of step finished with status = FAILED (ParallelTransform.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 DSLink2;
0007: outputname 0 DSLink6;
0008: outputname 1 DSLink8;
0009:
0010: initialize {
0011: // define our row rejected variable
0012: int8 RowRejected0;
0013:
0014: // define our null set variable
0015: int8 NullSetVar0;
0016:
0017: // define and initialise each link row count variable required
0018: uint64 RowCount0_1;
0019: RowCount0_1 = 0;
0020:
0021: // declare our intermediate variables for this section
0022: int8 InterVar0_0;
0023:
0024: // initialise constant values which require conversion
0025: InterVar0_0 = 0;
0026: }
0027:
0028: mainloop {
0029: // initialise our row rejected variable
0030: RowRejected0 = 1;
0031:
0032: // declare our intermediate variables for this section
0033: int64 InterVar0_1;
0034:
0035: // evaluate constraint and columns for link: DSLink6
0036: if ((null(DSLink2.Field001) == InterVar0_0))
0037: {
0038: writerecord 0;
0039: RowRejected0 = 0;
0040: }
0041: // evaluate constraint and columns for link: DSLink8
0042: InterVar0_1 = RowRejected0;
0043: if (InterVar0_1)
0044: {
0045: writerecord 1;
0046: RowRejected0 = 0;
0047: RowCount0_1 = RowCount0_1 + 1;
0048: }
0049: }
0050:
0051: finish {
0052: // Log warnings for any reject links
0053: string LogMsg0;
0054: string LogLink0;
0055: if (RowCount0_1 > 0) {
0056: LogMsg0 = RowCount0_1;
0057: LogLink0 = " rows written to reject link: ";
0058: LogMsg0 = LogMsg0 + LogLink0;
0059: LogLink0 = "DSLink8";
0060: LogMsg0 = LogMsg0 + LogLink0;
0061: print_message(LogMsg0);
0062: }
0063:
0064: }
0065:
*** End of Internal Generated Transformer Code
now i am getting different kind of errors.
any help in this regard?
i am using winXP SP2 and installed latest visual C++ .NET 2003 Compiler downloaded from Microsoft Site.
Posted: Fri Oct 21, 2005 5:53 am
by Eric
Do you have visual studio 6 also installed?
D:\Ascential\DataStage\PXEngine\include\apt_util\basicstring.h(89) : error C2039: 'ostream' : is not a member of 'operator``global namespace'''
That error sounds like the .NET compiler is not being used???
Posted: Fri Oct 21, 2005 12:34 pm
by lstsaur
Hi Affan,
7.5X2 EE Windows is only supported on Windows 2003 server. However, I got it worked on Windows XP SP1. Since you are using Windows XP SP2, you need to apply the patch from Ascential for Windows XP SP2.
Good luck.
Posted: Fri Oct 21, 2005 12:52 pm
by ucf007
It's works on win2k also,
in your case you need to fix some parameters for the MKS Toolkit...
Posted: Sat Oct 22, 2005 12:55 am
by maffan76
Thanks everyone for the replies, i'll give it a shot and secondly can you please tell me that what kind of parameters fixes would be required and what will be the names/values of those parameters.
Thanks in Advance.
Posted: Sat Oct 29, 2005 2:27 am
by maffan76
Hi all,
After fighting with the installation of 7.5x2 finally i succeeded in installing the verison but the OS is windows 2003.
Here are the details, i followed exactly the instruction given in the installation document except one thing, when i installed the VC++ .NET i avoided any spaces in the installation path of the VC++ .NET.
and it worked
![Cool 8)](./images/smilies/icon_cool.gif)
MKSToolkit parameters
Posted: Wed Nov 09, 2005 1:19 am
by dxp
ucf007 wrote:It's works on win2k also,
in your case you need to fix some parameters for the MKS Toolkit...
hi
what r the parameters to be fixed in MKSToolkit.
i am unable to compile transformer.
i have 7.5x2 on windows2003, installed visualstudio 6
thanks in advance
dxp.
Posted: Wed Nov 09, 2005 2:48 am
by ray.wurlod
One of the MKS Toolkit requirements is a temporary directory. Either change the TEMP and TMP environment variables to point to a directory that exists, or create a /tmp (not the same as Temp) directory on what is the current drive when DataStage processes run (on my system it happens to be D:\tmp).
Posted: Wed Nov 09, 2005 4:14 am
by dxp
ray.wurlod wrote:One of the MKS Toolkit requirements is a temporary directory. Either change the TEMP and TMP environment variables to point to a directory that exists, or create a /tmp (not the same as Temp) directory on what is the current drive when DataStage processes run (on my system it happens to be D:\tmp).
Hi ray,
from one of ur posts, I rectified this '\tmp' problem. its ok.
on windows2003, VisualStudio .NET is must?...
I installed VisualStudio 6.
my primary drive is C, my DS7.5x2 is in D drive, VisualStudio 6 is in C drive.
will it give problems?
or i have to set env variables?
anyway i will go thru install/upgrade guide.....after experimenting i will post again.
thanks.
dxp.
Posted: Wed Nov 09, 2005 4:40 am
by maffan76
Shoudl not be a problem as one of my windows xp system DS is on D drive and Visual C++ is on C Drive.
Secondly i think you would need Visual C++ .NET as its specifically mentioned in the intall document.