One Star

Tcreatetemporaryfile

Hi!!
I have a question , how to create some temporary files associated with many iterations i.e temporary files with values.
Thanks in advance!!
Scotty from Madagascar!!
3 REPLIES
Community Manager

Re: Tcreatetemporaryfile

Hello
You can design your job in two ways, please see the sreenshots.
About the usage of tFlowToIterate, please read 4016.
Feel free to post your questions!!
Best regards

shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Tcreatetemporaryfile

Hi Shong,
Is it possible to store the output from a tMap to a temp file and use the temp file for furthur operations, afet which the temp file is automatically discarded?
I tried giving to output of a tMap to a tCreateTempFile, but it is not possible to drop the link to it.
Regards,
Luckie
Community Manager

Re: Tcreatetemporaryfile

Hi Shong,
Is it possible to store the output from a tMap to a temp file and use the temp file for furthur operations, afet which the temp file is automatically discarded?
I tried giving to output of a tMap to a tCreateTempFile, but it is not possible to drop the link to it.
Regards,
Luckie

Hi
Yes, it is possible, however, you should create the temporary file before using it, for example:
tCreateTempFile
|
onsubjobok
|
tFileInputDelimited--main--tMap---main-->tFileOuputDelimited(set the file path to the temporary file)
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business