You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

Hello everyone, you can save data to the console in a file at compile-time?
Thanks to everyone for the answers.
John
Offline
Hello John
Sorry, It looks I always be fuzzy on your question. compile-time? we can't output any data to console or any target before the job running.
Best regards
shong
Offline
Hello
... is this possible?
you can save data to the console in a file
Can you describe your question with more readable info? So, I know exactly what you are doing and expecting.
Best regards
shong
Offline

Then I explain ... before I changed the code of some components of TOS and I did print the data to display on the console TOS. Now I want to save these data printed on the console to a text file ... you can do it automatically?
Offline
Hello
Now I want to save these data printed on the console to a text file
What's data do you print on console? example?
Best regards
shong
Offline
Hello
Before you print the data on the console, you can put it to a global var, eg: globalMap.put("nb_tFileInputDelimited", thePrintedValue)
then using a tFlxedFlowInput to define one row, set the value of column as: (String)globalMap.get("nb_tFileInputDelimited), link it to tFileOutputDelimited, outout or append the value to a file.
Best regards
shong
Offline
Hello
Yes, you need check 'append' option on tFileOutputDelimited component.
Best regards
shong
Offline
Hello
Can you export your job and send it to me via email?
Best regards
shong
Offline
Hello
Here, i show you another method, please follow my steps as My screenshots shows.
BTW, are you a Java developer?
Best regards
shong
Offline

Thanks shong for taking the time to devote to me ... but I can not solve my main problem. Now I'll explain in detail my work:
First I am a Java programmer, and my job is to make statistics about jobs that builds. These statistics relate primarily to each component the number of rows local input and output, and overall the number of rows in input and output for the entire job.
In the end I should output these statistics (eg. GI/LO, GI/GO.....ie GlobalInput / LocalOutput ...)
Is a long time since TOS study and its features but I can not find the right path for my work ...
Thank you for your continued help.
Offline
Pages: 1