You are not logged in.
Announcement
Unanswered posts
|
OK.
When you will have a little more time. Come back to the forum. We will see together why it's not working with your job.
See you.
Sorry for this but we are near the dead line of the project and lot of thing seem not to work ...
I just repeat I use exactly the same thing but on TIS not TOS ... so I don't think it is about my job... I try lot of times before disturbing you in the forum !!!
So never mind I find another solution ...
So if we listen to you, despite plegall's very detailed job, the
pffff
and
f....
tFileDelete and tFileRowCount and tFileList component are not working.
I really hope that you will discover the problem in your job, but, as far as I'm concerned, I will not even try to help you until you take the time to respect the rules of this forum, and particularly the rule #5....
SORRY but I am on TIS 2.4.1 r16077 and thr delete file doesn't work .....
I've checked with TOS 2.4.1 (and it works the same with TOS concerning code generation), and it works.
I find a solution using GLOBAL VARIABLE !!! and the tfile properties pffff
You are very nice but I m using TIS 2.4.1 NOW and we are not going to change now !!
So Is there a possibility to do that ???
I have some other problem with this f... component : tFileRowCount.... when i put an IF branch on it with a delete file the file is not DELETED
I want to check if files is empty or not and if it is empty I delete IT ... easy no ?
In the if branch:
((Integer)globalMap.get("tFileRowCount_2_COUNT"))==0
The file EXIST and it is empty !!!
THE WORST:
I put the same condition with a tmessage box and The message box appear !!!
Other informaition I'm using contaxt variable to pass the path of the file and the name of the file :
context.Local_Descente + "/" +context.sFichierCourant + ".TXT"
But with a path like that:
"D:/Projets/Interfaces/Catalogue/Alice Client CI36/descente/ENTREC123.TXT"
The file is not deleted EITHER !!! ![]()
![]()
Is it a problem whith branch iterate ??? I don't know
any other solution ??
Thanks a lot !!!
With Talend Open Studio 3.0.1, Java project, I correctly have 0 lines with tFileRowCount and the size is 0 with tFileProperties.
NO !!!
I just want to know if a FILE (toto.txt) is empty or not in talend ... ???
I test with the component tFileProperties but it dosesn't work !!
Thanks
fwalle, you mean you're creating a component and you want to test the emptiness of a property field from the JET template, or are you in a tJava component code?
No body ??
No thing ???
oopss I make a mistake
I want to say I need to know if a FILE is empty or not ... sorry
So I try the componenet properties of a FILE and the field size is always at null...
Sorry again
Hello
Please upload some screenshot of your job.
Best regards
shong
I need to test if a field is empty ...
i try the field size of the component poperties but it always return null...
TIS 2.4.1 r16077