Transformer Compilation error

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
vskr72
Premium Member
Premium Member
Posts: 128
Joined: Wed Apr 28, 2004 9:36 pm

Transformer Compilation error

Post by vskr72 »

We just started using DS parallel jobs and I have a windows 2003 test box where I just started creating some sample jobs. When I created a parallel job with transformer I get an error and I have no clue where to start. Can anyone pls guide me?

Output from transformer compilation follows:

##I IIS-DSEE-TFCN-00001 13:40:43(000) <main_program>
IBM WebSphere DataStage Enterprise Edition 8.1.0.4987
Copyright (c) 2001, 2005-2008 IBM Corporation. All rights reserved

##I IIS-DSEE-TFCN-00006 13:40:43(001) <main_program> conductor uname: -s=Windows_NT; -r=2; -v=5; -n=EA165; -m=Pentium
##I IIS-DSEE-TOSH-00002 13:40:43(002) <main_program> orchgeneral: loaded
##I IIS-DSEE-TOSH-00002 13:40:43(003) <main_program> orchsort: loaded
##I IIS-DSEE-TOSH-00002 13:40:43(004) <main_program> orchstats: loaded
##W IIS-DSEE-TOSH-00049 13:40:44(000) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E IIS-DSEE-TBLD-00076 13:40:54(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 40,192.
##E IIS-DSEE-TFSR-00019 13:40:54(001) <main_program> Could not check all operators because of previous error(s)
##W IIS-DSEE-TFTM-00012 13:40:54(002) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
##I IIS-DSEE-TBLD-00000 13:40:54(003) <main_program> Error when checking composite operator: Output from subprocess: C:/Program Files/Microsoft Visual Studio 9.0/VC/include\exception(85) : warning C4985: 'strcpy_s': attributes not present on previous declaration.
C:/PROGRA~1/MKSTOO~1/include\string.h(67) : see declaration of 'strcpy_s'
C:\IBM\InformationServer\Server\PXEngine\include\apt_util/keylookup.h(1148) : warning C4251: 'APT_KeyLookupRange::rangeOptions_' : class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'APT_KeyLookupRange'
with
[
_Ty=APT
##I IIS-DSEE-TBLD-00000 13:40:54(004) <main_program> Error when checking composite operator: Output from subprocess: _KeyLookupRange::rangeOption
]
C:\IBM\InformationServer\Server\Projects\EESDM\RT_BP6.O\V0S20_P_Test_Elig_Transformer_20.C(185) : warning C4101: 'output' : unreferenced local variable
C:\IBM\InformationServer\Server\Projects\EESDM\RT_BP6.O\V0S20_P_Test_Elig_Transformer_20.C(179) : warning C4101: 'input' : unreferenced local variable

##I IIS-DSEE-TBLD-00079 13:40:54(005) <transform> Error when checking composite operator: cxx -LC:/IBM/InformationServer/Server/Projects/EESDM/RT_BP6.O/ -LC:/IBM/InformationServer/Server/PXEngine/lib -LC:/IBM/InformationServer/Server/PXEngine/user_lib -s -W/dll -W/base:0x50000000 -W/Zc:wchar_t- -lliborchnt -lliborchcorent -lliborchbuildopnt C:/IBM/InformationServer/Server/Projects/EESDM/RT_BP6.O/V0S20_P_Test_Elig_Transformer_20.tmp.o -o C:/IBM/InformationServer/Server/Projects/EESDM/RT_BP6.O/V0S20_P_Test_Elig_Transformer_20.dll.
##I IIS-DSEE-TBLD-00000 13:40:54(006) <main_program> Error when checking composite operator: Output from subprocess: LINK : fatal error LNK1181: cannot open input file 'kernel32.lib'

##E IIS-DSEE-TCOS-00029 13:40:54(007) <main_program> Creation of a step finished with status = FAILED. (P_Test_Elig.Transformer_20)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the transform operator.
0003: //
0004:
0005: // define our input/output link names
0006: inputname 0 DSLink10;
0007: outputname 0 EADW_Test18;
0008: outputname 1 DSLink21;
0009:
0010: initialize {
0011: // define our row rejected variable
0012: int8 RowRejected0;
0013:
0014: // define our null set variable
0015: int8 NullSetVar0;
0016:
0017: }
0018:
0019: mainloop {
0020: // initialise our row rejected variable
0021: RowRejected0 = 1;
0022:
0023: // evaluate columns (no constraints) for link: EADW_Test18
0024: EADW_Test18.EDG_TRACE_ID = DSLink10.EDG_TRACE_ID;
0025: EADW_Test18.RECERT_IND = DSLink10.RECERT_IND;
0026: EADW_Test18.PACKET_RECEIVED_DT = DSLink10.REVIEW_PACKET_RECEIVED_DT;
0027: writerecord 0;
0028: RowRejected0 = 0;
0029: // evaluate columns (no constraints) for link: DSLink21
0030: writerecord 1;
0031: RowRejected0 = 0;
0032: }
0033:
0034: finish {
0035: }
0036:
*** End of Internal Generated Transformer Code
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Is your C++ compiler properly licensed?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vskr72
Premium Member
Premium Member
Posts: 128
Joined: Wed Apr 28, 2004 9:36 pm

Transformer Compilation error

Post by vskr72 »

ray.wurlod wrote:Is your C++ compiler properly licensed? ...
I think so. I downloaded it from MS site. It had a free download i guess. I did the following:

1. Installed Windows Platform SDK for 2003
2. Installed Visual C++ 2005 Express Edition
3. Installed IS
4. Set the path to the APT_Linker and APT_Compiler to C:\PROGRA~1\MKSTOO~1\mksnt\cxx.exe
5. Set the value of APT_Comileopt to -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c
6. Set the APT_Linkopt to -s -W/dll -W/base:0x50000000
7. Set the INCLUDE in the system env variable to C:\Program Files\Microsoft Platform SDK\Include\.;C:\Program Files\Microsoft Visual Studio 8\VC\include
8. Set the LIB system env variable to C:\Program Files\Microsoft Platform SDK\Lib\.;C:\Program Files\Microsoft Visual Studio 8\VC\lib

IS there anything else that I need to do to avoid this error with the transformer. Other jobs without the transformer work file.

Appreciate your help.

Satish
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

When you mark a thread as resolved the custom is to make a post indictating HOW it was resolved, to assist future searchers.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kelvin_hk
Participant
Posts: 2
Joined: Thu Sep 18, 2008 9:33 am

Post by kelvin_hk »

May I know the solution?? I got the same error message. Thank you very much.

Kelvin
Kelvin Ngai
Hong Kong S.A.R. China
kelvin.chosau@gmail.com
ankesh
Participant
Posts: 8
Joined: Wed May 16, 2007 3:05 pm
Location: Mumbai

Post by ankesh »

I am getting the same error.Please share the solution.


Regards
Ankesh
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Please start a new thread as this topic is closed and resolved and it very doubtful that you error is identical, otherwise the solution here would have solved your problem as well.
Post Reply