Hi DataStage gurus,
I have a problem compiling parallel transformer.
Output from transformer compilation follows:
##I TFCN 000001 10:15:51(000) <main_program>
Ascential DataStage(tm) Enterprise Edition 7.5.2
Copyright (c) 2004, 1997-2004 Ascential Software Corporation.
All Rights Reserved
##I TUTL 000031 10:15:51(001) <main_program> The open files limit is 100; raising to 1000.
##I TOSH 000002 10:15:52(000) <main_program> orchgeneral: loaded
##I TOSH 000002 10:15:52(001) <main_program> orchsort: loaded
##I TOSH 000002 10:15:52(002) <main_program> orchstats: loaded
##I TFSC 000001 10:15:52(005) <main_program> APT configuration file: /ascential/Ascential/Projects/GDW_POC/GDW_POC.apt
##I TFSC 000000 10:15:52(006) <main_program>
This step has no datasets.
It has 1 operator:
op0[1p] {(sequential APT_CombinedOperatorController:
(APT_LicenseCountOp in APT_LicenseOperator)
(APT_LicenseCheckOp in APT_LicenseOperator)
) on nodes (
node1[op0,p0]
)}
It runs 1 process on 1 node.
##W TFPA 000017 10:15:52(007) <main_program> Warning: the value of the PWD environment variable (/ascential/Ascential/DataStage/DSEngine/bin) does not appear to be a synonym for the current working directory (/ascential/Ascential/Projects/GDW_POC). The current working directory will be used, but if your ORCHESTRATE job does not start up correctly, you should set your PWD environment variable to a value that will work on all nodes of your system.
##I TFPM 000201 10:15:53(000) <APT_CombinedOperatorController,0> APT_PMPlayer: new Player running, PID = 19373
##W TCOS 000049 10:15:53(000) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##I TCOS 000000 10:15:53(001) <main_program> Echo:
transform -inputschema record
(
PARTY_ID:int32;
PARTY_NUMBER:nullable ustring[max=30];
CREATION_DATE:nullable string[max=19];
LAST_ORDERED_DATE:nullable string[max=19];
COUNTRY:nullable ustring[max=60];
LOAD_START_TS:nullable string[max=19];
CTRL_CD:nullable ustring[1];
PARTY_FIRST_PURCHASE_DT:nullable string[max=10];
SOURCE_SYSTEM_ID:int32;
PARTY_TYPE_CD:string[6];
inRec:*;
)
-outputschema record
(
PARTY_ID:int32;
SOURCE_SYSTEM_ID:int32;
PARTY_TYPE_CD:string[6];
PARTY_NBR:ustring[max=250];
PARTY_FIRST_PURCHASE_DT:nullable string[max=10];
COUNTRY_CD:nullable ustring[6];
CREATE_DT:string[max=10];
END_DT:string[max=10];
AUDIT_ID:int32;
outRec:*;
)
-outputschema record
(
PARTY_ID:int32;
SOURCE_SYSTEM_ID:int32;
PARTY_TYPE_CD:string[6];
PARTY_NBR:ustring[max=250];
PARTY_FIRST_PURCHASE_DT:nullable string[max=10];
COUNTRY_CD:nullable ustring[6];
CREATE_DT:string[max=10];
END_DT:string[max=10];
AUDIT_ID:int32;
outRec:*;
)
-expressionfile RT_SC157/V0S9_GDWStgCustPrtyLoad1_Transformer_9.trx
-flag compile
-compiler '/opt/SUNWspro/bin/CC'
-compileopt '-dalign -O -PIC -library=iostream -c'
-linker '/opt/SUNWspro/bin/CC'
-linkopt '-G -library=iostream'
-name V0S9_GDWStgCustPrtyLoad1_Transformer_9
-dir /ascential/Ascential/Projects/GDW_POC/RT_BP157.O
##W TCOS 000049 10:15:53(002) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E TBLD 000000 10:15:53(004) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256.
##E TFSR 000019 10:15:53(005) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 10:15:53(006) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
##W TFCP 000000 10:15:53(007) <transform> Error when checking composite operator: Implicit conversion from source type "String" to result type "UString".
##W TFCP 000000 10:15:53(008) <transform> Error when checking composite operator: Implicit conversion from source type "String" to result type "UString".
##W TFCP 000000 10:15:53(009) <transform> Error when checking composite operator: Implicit conversion from source type "String" to result type "UString".
##W TFCP 000025 10:15:53(010) <transform> Error when checking composite operator: Converting ustring to string using codepage ISO-8859-1.
##W TFCP 000000 10:15:53(011) <transform> Error when checking composite operator: Implicit conversion from source type "UString" to result type "String".
##W TFCP 000025 10:15:53(012) <transform> Error when checking composite operator: Converting ustring to number.
##W TFCP 000000 10:15:53(013) <transform> Error when checking composite operator: Implicit conversion from source type "UString" to result type "Int32".
##W TFCP 000025 10:15:53(014) <transform> Error when checking composite operator: Converting ustring to number.
##W TFCP 000000 10:15:53(015) <transform> Error when checking composite operator: Implicit conversion from source type "UString" to result type "Int32".
##W TFCP 000025 10:15:53(016) <transform> Error when checking composite operator: Converting ustring to number.
##W TFCP 000000 10:15:53(017) <transform> Error when checking composite operator: Implicit conversion from source type "UString" to result type "Int32".
##W TFCP 000025 10:15:53(018) <transform> Error when checking composite operator: Converting ustring to string using codepage ISO-8859-1.
##W TFCP 000000 10:15:53(019) <transform> Error when checking composite operator: Implicit conversion from source type "UString" to result type "String".
##W TFCP 000025 10:15:53(020) <transform> Error when checking composite operator: Converting ustring to number.
##W TFCP 000000 10:15:53(021) <transform> Error when checking composite operator: Implicit conversion from source type "UString" to result type "Int32".
##W TFCP 000025 10:15:53(022) <transform> Error when checking composite operator: Converting ustring to number.
##W TFCP 000000 10:15:53(023) <transform> Error when checking composite operator: Implicit conversion from source type "UString" to result type "Int32".
##W TFCP 000025 10:15:53(024) <transform> Error when checking composite operator: Converting ustring to number.
##W TFCP 000000 10:15:53(025) <transform> Error when checking composite operator: Implicit conversion from source type "UString" to result type "Int32".
##W TBLD 000000 10:15:53(026) <main_program> Error when checking composite operator: Output from subprocess: Notice: The Early Access serial number will expire in -7 days.
In order to purchase the product, visit http://www.sun.com/forte/buy.html
or contact your Forte Tools reseller.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/rtti.h", line 7: Error: Could not open include file<strings.h>.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/rtti.h", line 8: Error: Could not open include file<string.h>.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/rtti.h", line 9: Error: Could not op
##W TBLD 000000 10:15:53(027) <main_program> Error when checking composite operator: Output from subprocess: en include file<stdlib.h>.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/rtti.h", line 257: Error: The function "strlen" must have a prototype.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/rtti.h", line 257: Error: The function "strlen" must have a prototype.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/rtti.h", line 257: Error: Cannot use int to initialize char*.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/rtti.h", line 258: Error: The function "strcpy" m
##W TBLD 000000 10:15:53(028) <main_program> Error when checking composite operator: Output from subprocess: ust have a prototype.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/rtti.h", line 259: Error: The function "strlen" must have a prototype.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/rtti.h", line 260: Error: The function "strlen" must have a prototype.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/rtti.h", line 261: Error: The function "strlen" must have a prototype.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/rtti.h", line 261: Error: The function "strle
##W TBLD 000000 10:15:53(029) <main_program> Error when checking composite operator: Output from subprocess: n" must have a prototype.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/rtti.h", line 262: Error: The function "strlen" must have a prototype.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/rtti.h", line 262: Error: The function "strlen" must have a prototype.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/condition.h", line 390: Error: Could not open include file<strings.h>.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/fast_alloc.h", line 11: Error: Could not
##W TBLD 000000 10:15:53(030) <main_program> Error when checking composite operator: Output from subprocess: open include file<stddef.h>.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/fast_alloc.h", line 12: Error: Could not open include file<assert.h>.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/fast_alloc.h", line 337: Error: The function "memset" must have a prototype.
"/ascential/Ascential/DataStage/PXEngine/include/apt_util/fast_alloc.h", line 636: Error: The function "memset" must have a prototype.
"/ascential/Ascential/DataStage/PXEngine/include/unicode/platform.h", line 145: Error
##W TBLD 000000 10:15:53(031) <main_program> Error when checking composite operator: Output from subprocess: : Could not open include file<inttypes.h>.
"/ascential/Ascential/DataStage/PXEngine/include/unicode/umachine.h", line 167: Error: int8_t is not defined.
"/ascential/Ascential/DataStage/PXEngine/include/unicode/utf.h", line 167: Error: int32_t is not defined.
"/ascential/Ascential/DataStage/PXEngine/include/unicode/utf8.h", line 47: Error: "," expected instead of "utf8_countTrailBytes_2_2".
"/ascential/Ascential/DataStage/PXEngine/include/unicode/utf8.h", line 61: Error: ")" expected instead of "*".
"/ascent
##W TBLD 000000 10:15:53(032) <main_program> Error when checking composite operator: Output from subprocess: ial/Ascential/DataStage/PXEngine/include/unicode/utf8.h", line 63: Error: int32_t is not defined.
"/ascential/Ascential/DataStage/PXEngine/include/unicode/utf8.h", line 64: Error: s is not defined.
Compilation aborted, too many Error messages.
##I TFCP 000000 10:15:53(033) <transform> Error when checking composite operator: /opt/SUNWspro/bin/CC -KPIC -O -I/ascential/Ascential/DataStage/PXEngine/include -dalign -O -PIC -library=iostream -c /ascential/Ascential/Projects/GDW_POC/RT_BP157.O/V0S9_GDWStgCustPrtyLoad1_Transformer_9.C -o /ascential/Ascential/Projects/GDW_POC/RT_BP157.O/V0S9_GDWStgCustPrtyLoad1_Transformer_9.tmp.o.
##E TCOS 000029 10:15:53(034) <main_program> Creation of a step finished with status = FAILED. (GDWStgCustPrtyLoad1.Transformer_9)
*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S9_GDWStgCustPrtyLoad1_Transformer_9 transform operator.
0003: //
0004:
0005: // define our input/output link names
0006: inputname 0 DSLink5;
0007: outputname 0 DSLink121;
0008: outputname 1 DSLink120;
0009:
0010: global {
0011: // Job parameter declaration
0012: ustring FUTURE_DT;
0013: ustring AUDIT_ID_PARTY_I;
0014: ustring AUDIT_ID_PARTY_U;
0015: ustring AUDIT_ID_PARTY_D;
0016: }
0017:
0018: initialize {
0019: // define our row rejected variable
0020: int8 RowRejected0;
0021:
0022: // define our null set variable
0023: int8 NullSetVar0;
0024:
0025: // declare our intermediate variables for this section
0026: ustring InterVar0_0;
0027: ustring InterVar0_2;
0028: ustring InterVar0_4;
0029:
0030: // initialise constant values which require conversion
0031: InterVar0_0 = "D";
0032: InterVar0_2 = "I";
0033: InterVar0_4 = "U";
0034: }
0035:
0036: mainloop {
0037: // initialise our row rejected variable
0038: RowRejected0 = 1;
0039:
0040: // declare our intermediate variables for this section
0041: string InterVar0_1;
0042: int32 InterVar0_3;
0043: int32 InterVar0_5;
0044: int32 InterVar0_6;
0045:
0046: // evaluate columns (no constraints) for link: DSLink121
0047: DSLink121.PARTY_NBR = DSLink5.PARTY_NUMBER;
0048: if (null(DSLink5.PARTY_FIRST_PURCHASE_DT)) {
0049: DSLink121.PARTY_FIRST_PURCHASE_DT = left_substring(DSLink5.LAST_ORDERED_DATE , 10);
0050: } else {
0051: DSLink121.PARTY_FIRST_PURCHASE_DT = DSLink5.PARTY_FIRST_PURCHASE_DT;
0052: }
0053: //;
0054: DSLink121.COUNTRY_CD = DSLink5.COUNTRY;
0055: DSLink121.CREATE_DT = left_substring(DSLink5.CREATION_DATE , 10);
0056: if ((DSLink5.CTRL_CD == InterVar0_0)) {
0057: DSLink121.END_DT = left_substring(DSLink5.LOAD_START_TS , 10);
0058: } else {
0059: InterVar0_1 = FUTURE_DT;
0060: DSLink121.END_DT = InterVar0_1;
0061: }
0062: //;
0063: if ((DSLink5.CTRL_CD == InterVar0_2)) {
0064: InterVar0_3 = AUDIT_ID_PARTY_I;
0065: DSLink121.AUDIT_ID = InterVar0_3;
0066: } else {
0067: if ((DSLink5.CTRL_CD == InterVar0_4)) {
0068: InterVar0_5 = AUDIT_ID_PARTY_U;
0069: DSLink121.AUDIT_ID = InterVar0_5;
0070: } else {
0071: InterVar0_6 = AUDIT_ID_PARTY_D;
0072: DSLink121.AUDIT_ID = InterVar0_6;
0073: }
0074: //;
0075: }
0076: //;
0077: writerecord 0;
0078: RowRejected0 = 0;
0079: // evaluate columns (no constraints) for link: DSLink120
0080: DSLink120.PARTY_NBR = DSLink5.PARTY_NUMBER;
0081: if (null(DSLink5.PARTY_FIRST_PURCHASE_DT)) {
0082: DSLink120.PARTY_FIRST_PURCHASE_DT = left_substring(DSLink5.LAST_ORDERED_DATE , 10);
0083: } else {
0084: DSLink120.PARTY_FIRST_PURCHASE_DT = DSLink5.PARTY_FIRST_PURCHASE_DT;
0085: }
0086: //;
0087: DSLink120.COUNTRY_CD = DSLink5.COUNTRY;
0088: DSLink120.CREATE_DT = left_substring(DSLink5.CREATION_DATE , 10);
0089: if ((DSLink5.CTRL_CD == InterVar0_0)) {
0090: DSLink120.END_DT = left_substring(DSLink5.LOAD_START_TS , 10);
0091: } else {
0092: InterVar0_1 = FUTURE_DT;
0093: DSLink120.END_DT = InterVar0_1;
0094: }
0095: //;
0096: if ((DSLink5.CTRL_CD == InterVar0_2)) {
0097: InterVar0_3 = AUDIT_ID_PARTY_I;
0098: DSLink120.AUDIT_ID = InterVar0_3;
0099: } else {
0100: if ((DSLink5.CTRL_CD == InterVar0_4)) {
0101: InterVar0_5 = AUDIT_ID_PARTY_U;
0102: DSLink120.AUDIT_ID = InterVar0_5;
0103: } else {
0104: InterVar0_6 = AUDIT_ID_PARTY_D;
0105: DSLink120.AUDIT_ID = InterVar0_6;
0106: }
0107: //;
0108: }
0109: //;
0110: writerecord 1;
0111: RowRejected0 = 0;
0112: }
0113:
0114: finish {
0115: }
0116:
*** End of Internal Generated Transformer Code
Error compiling parallel transformer
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The crux of the problem is in this event.
Your compiler licence "free period" appears to have expired. Contact Sun for a replacement.Notice: The Early Access serial number will expire in -7 days.
In order to purchase the product, visit http://www.sun.com/forte/buy.html
or contact your Forte Tools reseller.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.