Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I want to concatenate the file's name of my tFileOutputDelimited component, with the command :
"D:/SPC/ResultFile/((String)globalMap.get("tFileList_1_CURRENT_FILE")).csv"It's an evidence that it's wrong because I have 2 errors :
- Synthax error on token "tFileList_1_CURRENT_FILE", Invalid AssignmentOperator
- The left-hand sign of an assignment must be a variable
Can you help me, please ?
Best regards
BastienM
Try this......
"D:/SPC/ResultFile/"+((String)globalMap.get("tFileList_1_CURRENT_FILE"))+".csv"
If you are using the tFileList component, you can get the full path with the filename so will not need to concatenate....unless this is actually a file in another folder (a mirrored folder or something similar).
Try this......
"D:/SPC/ResultFile/"+((String)globalMap.get("tFileList_1_CURRENT_FILE"))+".csv"
If you are using the tFileList component, you can get the full path with the filename so will not need to concatenate....unless this is actually a file in another folder (a mirrored folder or something similar).
Thank you.
Best regards
BastienM