Hello guys I am getting the error when job is executed from command prompt Following is the structure of my job:
tFileList-->tFileInputXML-->tExtractDelimitedFields-->tFilterRow-->TMap--> tOracleOutout -->tFileOutputDelimited Exception in thread "main" java.lang.Error: Unresolved compilation problems: Syntax error on tokens, delete these tokens job runs from Talend but not from command prompt
hi,
seems that you have a 'delimiter' open and not closed (or inverse)
First have a look on
those example To find which one , open your job and looks at the code ; on the right border you sould have a "red pointer" , click on it and you got the mistake
Propably a String parameters in a field without quote
++
laurent
Thanks laurent, But the java code shows no error and works perfect inside the Talend-UI, so is there any thing else that needs to handle? Thanks, Yogesh
hi, seems that you have a 'delimiter' open and not closed (or inverse) Propably a String parameters in a field without quote ++ laurent
As reference for others, I was using a Microsoft SQL component for which strings must be enclosed
between double quotes ( " ) instead of simple quotes ( ' ).
Escaping the string quotes did the job for me ( \" )
Thanks
Hi guys, another reference for others, I also received the message "Syntax error on tokens, delete these tokens". Reason: There was one empty row within my tSplitRow component. Therefore the java code was like this: "rowTmp_tSplitRow_1.ColumnName = ;" which results in an error message. Solution: I've just deleted the empty line in tSplitRow. Hope this helps.