Hi guys [:)].
I have a problem and I'd like all of you to help me resolving this item.
Running a server job wich generates sequential files in the DataStage server, some of those files have 0 (cero) bytes. Logically this is fine because of the process itself. But I don't want these files with (cero) 0 bytes to be generated [:(].
Does anybody know how can I avoid the generation of files with 0 (cero) bytes ?[?]
Thanks in advance [:D]
Avoiding the generation of files with 0 bytes
Moderators: chulett, rschirm, roy
If Steve's advise doesn't work out and you can't avoid getting zero byte files, look into something like this.
Setup an after job (or after stage) routine to call a script that checks a file for a size of zero and deletes it if found. Pass in the path as a parameter. At worst case, they will be gone when the job finishes. [:D]
-craig
Setup an after job (or after stage) routine to call a script that checks a file for a size of zero and deletes it if found. Pass in the path as a parameter. At worst case, they will be gone when the job finishes. [:D]
-craig