Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
StringHandling.LEFT(((String)globalMap.get("tFileList_1_CURRENT_FILE")),6)+".csv"
Can someone please help out with the solution to this last issue/problem.
Thanks
Hi,
tFileList_1_NB_FILE parameter can give the file count under a folder. You can store the details in a context variable if needed for later use such as appending the number to file extension.
Warm Regards,
Nikhil Thampi
Actually iam using file name as :-
"D:/Talend/CSV_Output/PrimarySalesAggData_AnalysisTeam_"+TalendDate.formatDate("yyyy-MM",TalendDate.getCurrentDate())+".csv" (it is working for me)
It is working up to this month if iam running this job toady i want the file name as previous month likePrimarySalesAggData_AnalysisTeam_201908
How to achieve this and while extracting to s3 iam giving key as
"PrimarySalesAggData_AnalysisTeam_"+TalendDate.formatDate("yyyy-MM",TalendDate.getCurrentDate())"
but iam getting error as string literal is not properly close by double quotes.
can someone help me