Page 1 of 1

Enterprise Transformer compile error (DSEE7.5.1A, HP-UNIX)

Posted: Wed Jul 19, 2006 9:34 am
by lynnliu
Hi,

my job is row generator--->transformer---->peek,

i got the compile error as follows.

Code: Select all

Output from transformer compilation follows:

##I TFCN 000001 19:02:45(000) <main_program> 
Ascential DataStage(tm) Enterprise Edition 7.5.1A
Copyright (c) 2004, 1997-2004 Ascential Software Corporation.
All Rights Reserved

##I TOSH 000002 19:02:46(000) <main_program> orchgeneral: loaded
##I TOSH 000002 19:02:46(001) <main_program> orchsort: loaded
##I TOSH 000002 19:02:46(002) <main_program> orchstats: loaded
##I TFSC 000001 19:02:46(005) <main_program> APT configuration file: /opt/datastage/Ascential/DataStage/Configurations/default.apt
##W TCOS 000049 19:02:47(000) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E TBLD 000000 19:02:50(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256.
##E TFSR 000019 19:02:50(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 19:02:50(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 19:02:50(003) <main_program> Error when checking composite operator: Output from subprocess: Error 175: "/opt/datastage/Ascential/DataStage/PXEngine/include/apt_util/basicstring.h", line 1212 # Bitfield 'padChar_' width must be an integer constant expression.
##W TBLD 000000 19:02:50(004) <main_program> Error when checking composite operator: Output from subprocess: 
        C padChar_ : sizeof(C)*8;  // 8(char) or 16(UChar) bits
                     ^^^^^^^^^^^                               

##I TFCP 000000 19:02:50(005) <transform> Error when checking composite operator: /opt/aCC/bin/aCC    -L/opt/datastage/Ascential/DataStage/Projects/DEMO/RT_BP14.O/ -L/opt/datastage/Ascential/DataStage/PXEngine/lib -L/opt/datastage/Ascential/DataStage/PXEngine/user_lib -b -Wl,+s -Wl,+vnocompatwarnings -lorchhpux -lorchcorehpux -lorchbuildophpux /opt/datastage/Ascential/DataStage/Projects/DEMO/RT_BP14.O/V0S1_testTr_Transformer_1.tmp.o -o /opt/datastage/Ascential/DataStage/Projects/DEMO/RT_BP14.O/V0S1_testTr_Transformer_1.sl.
##W TBLD 000000 19:02:50(006) <main_program> Error when checking composite operator: Output from subprocess: Error 175: "/opt/datastage/Ascential/DataStage/PXEngine/include/apt_util/basicstring.h", line 1218 # Bitfield 'extra_' width must be an integer constant expression.
##W TBLD 000000 19:02:50(007) <main_program> Error when checking composite operator: Output from subprocess: 
        unsigned extra_ : 27-sizeof(C)*8; // Unused space fills out to 32
                          ^^^^^^^^^^^^^^                                 

##W TBLD 000000 19:02:50(008) <main_program> Error when checking composite operator: Output from subprocess: Error 175: "/opt/datastage/Ascential/DataStage/PXEngine/include/apt_util/basicstring.h", line 1212 # Bitfield 'padChar_' width must be an integer constant expression.
##W TBLD 000000 19:02:50(009) <main_program> Error when checking composite operator: Output from subprocess: 
    
##W TBLD 000000 19:02:50(010) <main_program> Error when checking composite operator: Output from subprocess:     C padChar_ : sizeof(C)*8;  // 8(char) or 16(UChar) bits
                     ^^^^^^^^^^^                               

##W TBLD 000000 19:02:50(011) <main_program> Error when checking composite operator: Output from subprocess: Error 175: "/opt/datastage/Ascential/DataStage/PXEngine/include/apt_util/basicstring.h", line 1218 # Bitfield 'extra_' width must be an integer constant expression.
##W TBLD 000000 19:02:50(012) <main_program> Error when checking composite operator: Output from subprocess: 
    
##W TBLD 000000 19:02:50(013) <main_program> Error when checking composite operator: Output from subprocess:     unsigned extra_ : 27-sizeof(C)*8; // Unused space fills out to 32
                          ^^^^^^^^^^^^^^                                 

##W TBLD 000000 19:02:50(014) <main_program> Error when checking composite operator: Output from subprocess: aCC: warning 1913: `/opt/datastage/Ascential/DataStage/Projects/DEMO/RT_BP14.O/V0S1_testTr_Transformer_1.tmp.o' does not exist or cannot be read

##W TBLD 000000 19:02:50(015) <main_program> Error when checking composite operator: Output from subprocess: /usr/ccs/bin/ld: Can't open /opt/datastage/Ascential/DataStage/Projects/DEMO/RT_BP14.O/V0S1_testTr_Transformer_1.tmp.o
/usr/ccs/bin/ld: No such file or directory

##E TCOS 000029 19:02:50(016) <main_program> Creation of a step finished with status = FAILED. (testTr.Transformer_1)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S1_testTr_Transformer_1 transform operator.
0003: //
0004: 
0005: // define our input/output link names
0006: inputname 0 DSLink3;
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
what parameters i need to check?

Thanks!

Re: Enterprise Transformer compile error (DSEE7.5.1A, HP-UNI

Posted: Wed Jul 19, 2006 9:42 am
by Krazykoolrohit
lynnliu wrote:
##W TBLD 000000 19:02:50(010) <main_program> Error when checking composite operator: Output from subprocess: C padChar_ : sizeof(C)*8; // 8(char) or 16(UChar) bits
^^^^^^^^^^^
can you relate any of your fields to this? any transformations? if yes, please post the details.

Posted: Wed Jul 19, 2006 5:25 pm
by ray.wurlod
Please confirm that this is a BASIC Transformer, not a regular Transformer stage.

Posted: Wed Jul 19, 2006 7:55 pm
by lynnliu
It is a regular transformer stage

I just wanted to try whether transformer work or not after installation, so the job is very simple, one coulmn(aa: char(2), not null) in RowGenerator, directly map in transformer.

Posted: Wed Jul 19, 2006 8:46 pm
by ray.wurlod
Are you certain? References to basicstring.h and RT_BP14.O in the messages do not inspire confidence.

Posted: Wed Jul 19, 2006 9:13 pm
by lynnliu
hi, ray.
i created a new parallel job, drag transformer from the palette.
i checked its Target properties, showing the Stage type name as CTransformerStage.
so it is a regular transformer?

Posted: Wed Jul 19, 2006 11:58 pm
by lynnliu
The problem solved. The reason is c++ compiler
It works good when upgrading acc3.55 to acc6.0.
thanks all