Error while compling the stage

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
hargun
Participant
Posts: 188
Joined: Mon May 16, 2011 7:41 pm
Location: United States

Error while compling the stage

Post by hargun »

Hi,

i am getting the error while compiling the job.

In the transformer stage i am declaring the header in transformer stage .

'<soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">' :
'<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/ ... xt-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ ... ty-1.0.xsd">' :
'<wsse:UsernameToken wsu:Id="UsernameToken-1">' : '<wsse:Username>' :psda_BTS_WebService_End_Point.pvWSID: '</wsse:Username>' :
'<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/ ... sswordText">'
:psda_BTS_WebService_End_Point.pvWSPassword: '</wsse:Password>' :
'<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/ ... se64Binary">
':'MFCHfjGtE69N8xilnEYxgA==':'</wsse:Nonce>':'<wsu:Created>':CurrentDate():'T':CurrentTimeMS():'Z':'</wsu:Created>':'</wsse:UsernameToken>' : '</wsse:Security>' : '</soapenv:Header>'

The design of job is

Code: Select all

seqfil................transformer.........xml output stage.........peek stage
Output from transformer compilation follows:

##I IIS-DSEE-TFCN-00001 21:37:46(000) <main_program>
IBM InfoSphere DataStage Enterprise Edition 8.7.0.6366
Copyright (c) 2001, 2005-2011 IBM Corporation. All rights reserved



##I IIS-DSEE-TFCN-00006 21:37:46(001) <main_program> conductor uname: -s=AIX; -r=1; -v=7; -n=tsadsen; -m=00F769A74C00
##I IIS-DSEE-TOSH-00002 21:37:46(002) <main_program> orchgeneral: loaded
##I IIS-DSEE-TOSH-00002 21:37:46(003) <main_program> orchsort: loaded
##I IIS-DSEE-TOSH-00002 21:37:46(004) <main_program> orchstats: loaded
##W IIS-DSEE-TOSH-00049 21:37:46(007) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E IIS-DSEE-TBLD-00076 21:37:49(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256.
##E IIS-DSEE-TFSR-00019 21:37:49(001) <main_program> Could not check all operators because of previous error(s)
##W IIS-DSEE-TFTM-00012 21:37:49(002) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
##W IIS-DSEE-TFEV-00025 21:37:49(003) <transform> Error when checking composite operator: Converting ustring to string using codepage ISO-8859-1.
##W IIS-DSEE-TFEV-00023 21:37:49(004) <transform> Error when checking composite operator: Implicit conversion from source type "UString" to result type "String".
##W IIS-DSEE-TFEV-00025 21:37:49(005) <transform> Error when checking composite operator: Converting ustring to string using codepage ISO-8859-1.
##W IIS-DSEE-TFEV-00023 21:37:49(006) <transform> Error when checking composite operator: Implicit conversion from source type "UString" to result type "String".
##W IIS-DSEE-TBLD-00000 21:37:49(007) <main_program> Error when checking composite operator: Output from subprocess: "/opt/Projects/dsDistributedSupport/DistributedSupport/RT_BP88.O/V10S0_CopyOfpar_BTS_Process_Bankruptcy_File_test121_xfm_Add_Data.C", line 416.131: 1540-0868 (S) A string literal must end before the end of the source line.

##W IIS-DSEE-TBLD-00000 21:37:49(008) <main_program> Error when checking composite operator: Output from subprocess: "/opt/Projects/dsDistributedSupport/DistributedSupport/RT_BP88.O/V10S0_CopyOfpar_BTS_Process_Bankruptcy_File_test121_xfm_Add_Data.C", line 417.12: 1540-0825 (W) The character "\" is not allowed.
"/opt/Projects/dsDistributedSupport/DistributedSupport/RT_BP88.O/V10S0_CopyOfpar_BTS_Process_Bankruptcy_File_test121_xfm_Add_Data.C", line 423.144: 1540-0868 (S) A string literal must end before the end of the source line.
"/opt/Projects/dsDistributedSupport/DistributedSupport/RT_BP88.O/V10S0_CopyOfpar_BTS_Process_B
##W IIS-DSEE-TBLD-00000 21:37:49(009) <main_program> Error when checking composite operator: Output from subprocess: ankruptcy_File_test121_xfm_Add_Data.C", line 424.3: 1540-0868 (S) A string literal must end before the end of the source line.

##I IIS-DSEE-TBLD-00079 21:37:49(010) <transform> Error when checking composite operator: /usr/vacpp/bin/xlC_r -O -I/opt/IBM/InformationServer/Server/PXEngine/include -O -q64 -c /opt/Projects/dsDistributedSupport/DistributedSupport/RT_BP88.O/V10S0_CopyOfpar_BTS_Process_Bankruptcy_File_test121_xfm_Add_Data.C -o /opt/Projects/dsDistributedSupport/DistributedSupport/RT_BP88.O/V10S0_CopyOfpar_BTS_Process_Bankruptcy_File_test121_xfm_Add_Data.tmp.o.
##E IIS-DSEE-TCOS-00029 21:37:49(011) <main_program> Creation of a step finished with status = FAILED. (CopyOfpar_BTS_Process_Bankruptcy_File_test121.xfm_Add_Data)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V10S0_CopyOfpar_BTS_Process_Bankruptcy_File_test121_xfm_Add_Data transform operator.
0003: //
0004:
0005: // define our input/output link names
0006: inputname 0 lnk_Banko_Input;
0007: outputname 0 lnk_Request_Data;
0008:
0009: global {
0010: // Job parameter declaration
0011: ustring TRANSFORMER_psda_BTS_WebService_End_Point_pvWSID;
0012: ustring TRANSFORMER_psda_BTS_WebService_End_Point_pvWSPassword;
0013: }
0014:
0015: initialize {
0016: // define our control variables
0017: int8 RowRejected0;
0018: int8 NullSetVar0;
0019:
0020: // declare our intermediate variables for this section
0021: string InterVar0_0;
0022: string InterVar0_1;
0023: string InterVar0_2;
0024: string InterVar0_3;
0025: string InterVar0_5;
0026: string InterVar0_6;
0027: string InterVar0_8;
0028: string InterVar0_9;
0029: string InterVar0_10;
0030: string InterVar0_11;
0031: string InterVar0_12;
0032: string InterVar0_13;
0033: string InterVar0_14;
0034: string InterVar0_15;
0035: string InterVar0_16;
0036: string InterVar0_17;
0037: string InterVar0_18;
0038: string InterVar0_19;
0039: string InterVar0_20;
0040: string InterVar0_21;
0041: string InterVar0_22;
0042: string InterVar0_23;
0043:
0044: // initialise constant values which require conversion
0045: InterVar0_0 = "<soapenv:Header xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">";
0046: InterVar0_1 = "<wsse:Security xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/ ... xt-1.0.xsd\"
xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/ ... ty-1.0.xsd\">";
0047: InterVar0_2 = "<wsse:UsernameToken wsu:Id=\"UsernameToken-1\">";
0048: InterVar0_3 = "<wsse:Username>";
0049: InterVar0_5 = "</wsse:Username>";
0050: InterVar0_6 = "<wsse:Password Type=\"http://docs.oasis-open.org/wss/2004/01/ ... sswordText\">";
0051: InterVar0_8 = "</wsse:Password>";
0052: InterVar0_9 = "<wsse:Nonce EncodingType=\"http://docs.oasis-open.org/wss/2004/01/ ... se64Binary\">
";
0053: InterVar0_10 = "MFCHfjGtE69N8xilnEYxgA==";
0054: InterVar0_11 = "</wsse:Nonce>";
0055: InterVar0_12 = "<wsu:Created>";
0056: InterVar0_13 = "T";
0057: InterVar0_14 = "Z";
0058: InterVar0_15 = "</wsu:Created>";
0059: InterVar0_16 = "</wsse:UsernameToken>";
0060: InterVar0_17 = "</wsse:Security>";
0061: InterVar0_18 = "</soapenv:Header>";
0062: InterVar0_19 = "datastg";
0063: InterVar0_20 = "RACF";
0064: InterVar0_21 = "DataStage Process";
0065: InterVar0_22 = "false";
0066: InterVar0_23 = "true";
0067: }
0068:
0069: mainloop {
0070:
0071: // declare our intermediate variables for this section
0072: string InterVar0_4;
0073: string InterVar0_7;
0074:
0075: // initialise the rejected row variable
0076: RowRejected0 = 1;
0077:
0078: // evaluate columns (no constraints) for link: lnk_Request_Data
0079: InterVar0_4 = TRANSFORMER_psda_BTS_WebService_End_Point_pvWSID;
0080: InterVar0_7 = TRANSFORMER_psda_BTS_WebService_End_Point_pvWSPassword;
0081: lnk_Request_Data.HEADER = ((((((((((((((((((((InterVar0_0 + InterVar0_1) + InterVar0_2) + InterVar0_3) + InterVar0_4) + InterVar0_5) + InterVar0_6) + InterVar0_7) + InterVar0_8) + InterVar0_9) + InterVar0_10) + InterVar0_11) + InterVar0_12) + string_from_date(current_date())) + InterVar0_13) + string_from_time(current_time("support_microsecond"))) + InterVar0_14) + InterVar0_15) + InterVar0_16) + InterVar0_17) + InterVar0_18);
0082: lnk_Request_Data.UserId = InterVar0_19;
0083: lnk_Request_Data.UserIdType = InterVar0_20;
0084: lnk_Request_Data.UserName = InterVar0_21;
0085: lnk_Request_Data.InclTabInfoInd = InterVar0_22;
0086: lnk_Request_Data.InclAlertsInd = InterVar0_22;
0087: lnk_Request_Data.ExclClosedAcctsInd = InterVar0_23;
0088: lnk_Request_Data.InclCIPRequiredInd = InterVar0_22;
0089: lnk_Request_Data.InclFraudRequiredInd = InterVar0_22;
0090: lnk_Request_Data.InclFatalRequiredInd = InterVar0_22;
0091: lnk_Request_Data.InclODOptionsEligibleInd = InterVar0_22;
0092: writerecord 0;
0093: RowRejected0 = 0;
0094: }
0095:
0096: finish {
0097: }
0098:
*** 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 »

Can you compile other jobs with Transformer stages? This error often suggests that you don't have a supported C++ compiler or that the license for the same has expired.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

If you do have a good install, then the error messages seem to point to your constants for

Code: Select all

0046: InterVar0_1 = "<wsse:Security xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\" 
 xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\">"; 
0052: InterVar0_9 = "<wsse:Nonce EncodingType=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary\"> 
 "; 
which look like they are indeed split across 2 lines in the source. How exactly are these lines defined in your job? I don't understand the trailing colons in your original post, either.
Last edited by ArndW on Sun Jun 22, 2014 11:01 am, edited 1 time in total.
hargun
Participant
Posts: 188
Joined: Mon May 16, 2011 7:41 pm
Location: United States

Post by hargun »

i am defining header as request in the transformer stage follwed bu XML output stage and WEbservice and give the values above however i corrected the header part given below but giving the same compiling error.
Any advice on this.

Code: Select all

'<soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">' :
 '<wsse:Security xmlns:wsse=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns
:wsu=
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">'
 : '<wsse:UsernameToken wsu:Id="UsernameToken-1">' : '<wsse:Username>' :
 psda_Create_Blank_Doc_WebService_End_Point.pvESSWSID : '</wsse:Username>' : 
'<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">'
 :psda_Create_Blank_Doc_WebService_End_Point.pvEssWSPassword:
 '</wsse:Password>' : '</wsse:UsernameToken>' : '</wsse:Security>' : '</soapenv:Header>'
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

It is unclear to me how you are defining these strings in the transformer. Are they stage variables? Derivations? It really looks like you've inserted a break in the definitions after the ":" concatenation character, perhaps formatting with Shift-Return?

Make a copy of the job, remove these definitions or make them short strings and see if the job compiles then, at least then we will know if we looking in the correct place.
hargun
Participant
Posts: 188
Joined: Mon May 16, 2011 7:41 pm
Location: United States

Post by hargun »

NO there are no stage variables.i am using the derivations for HEADER column created.

i have compiled the job by removing header to check whether job is compiling or not and job compile fine but after using the HEADER column again and give the derivation same error occur while compiling.There is no even break in the definition after the ":" character.

Not able to figure it out .Please help me on this.
hargun
Participant
Posts: 188
Joined: Mon May 16, 2011 7:41 pm
Location: United States

Post by hargun »

i am able to figure it out and found break in the definitions.
Thanks for help.
Post Reply