When i try to compile the Transformer, i get this error
Code: Select all
Cl not Found
Code: Select all
warning C4244: '=' : Conversion from 'APT_Int64' to 'Int', Possible Data Loss
Thanks in Advance.
[/code]
Moderators: chulett, rschirm, roy
Code: Select all
Cl not Found
Code: Select all
warning C4244: '=' : Conversion from 'APT_Int64' to 'Int', Possible Data Loss
Code: Select all
Output from transformer compilation follows:
##I TFCN 000001 15:58:49(000) <main_program>
Ascential DataStage(tm) Enterprise Edition 7.5
Copyright (c) 2004, 1997-2004 Ascential Software Corporation.
All Rights Reserved
##I TOSH 000002 15:58:49(001) <main_program> orchgeneral: loaded
##I TOSH 000002 15:58:49(002) <main_program> orchsort: loaded
##I TOSH 000002 15:58:49(003) <main_program> orchstats: loaded
##W TFPA 000012 15:58:49(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 15:58:50(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256
##E TFSR 000019 15:58:50(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 15:58:50(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 15:58:50(003) <transform> Error when checking composite operator: Converting number to string
##W TFCP 000000 15:58:50(004) <transform> Error when checking composite operator: Implicit conversion from source type "UInt64" to result type "String".
##I TFCP 000008 15:58:50(005) <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/PXJobs/RT_BP1.O/V0S1_PXTest_Transformer_1.C -o C:/Ascential/DataStage/Projects/PXJobs/RT_BP1.O/V0S1_PXTest_Transformer_1.tmp.o
##I TBLD 000000 15:58:50(006) <main_program> Error when checking composite operator: Output from subprocess: Compiler "cl" not found.
##E TCOS 000029 15:58:50(007) <main_program> Creation of step finished with status = FAILED (PXTest.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 DSLink4;
0008: outputname 1 DSLink6;
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: DSLink4
0036: if ((null(DSLink2.Field001) == InterVar0_0))
0037: {
0038: writerecord 0;
0039: RowRejected0 = 0;
0040: }
0041: // evaluate constraint and columns for link: DSLink6
0042: InterVar0_1 = RowRejected0;
0043: if (InterVar0_1)
0044: {
0045: DSLink6.Field001 = DSLink2.Field001;
0046: DSLink6.Field002 = DSLink2.Field002;
0047: writerecord 1;
0048: RowRejected0 = 0;
0049: RowCount0_1 = RowCount0_1 + 1;
0050: }
0051: }
0052:
0053: finish {
0054: // Log warnings for any reject links
0055: string LogMsg0;
0056: string LogLink0;
0057: if (RowCount0_1 > 0) {
0058: LogMsg0 = RowCount0_1;
0059: LogLink0 = " rows written to reject link: ";
0060: LogMsg0 = LogMsg0 + LogLink0;
0061: LogLink0 = "DSLink6";
0062: LogMsg0 = LogMsg0 + LogLink0;
0063: print_message(LogMsg0);
0064: }
0065:
0066: }
0067:
*** End of Internal Generated Transformer Code
The problem is that no compiler is avaliable to DataStage.maffan76 wrote:Code: Select all
##I TBLD 000000 15:58:50(006) <main_program> Error when checking composite operator: Output from subprocess: Compiler "cl" not found.
This does not mean that DataStage can find the compiler.maffan76 wrote:Eric,
The compiler is available coz when i compiled the c Code from Command Line
Code: Select all
Output from transformer compilation follows:
##I TFCN 000001 09:53:29(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:53:29(001) <main_program> orchgeneral: loaded
##I TOSH 000002 09:53:30(000) <main_program> orchsort: loaded
##I TOSH 000002 09:53:30(001) <main_program> orchstats: loaded
##E TBLD 000000 09:53:42(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 40192
##E TFSR 000019 09:53:42(001) <main_program> Could not check all operators because of previous error(s)