FTP Enterprise stage is creating a 0 byte file on the target server if there is no such file in the source server directory.
As there is no such file in source directory...Job obviously aborts and its doing correctly but when I see the target server directory, I see a 0 byte file
Seq File stage ------> ftp Enterprise stage
Reading file in source directory using Seq file stage and writing to a directory in target server.
Any help is really appreciated.
RK
FTP enterprise stage error
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
What do you want to happen?
Usually in these cases (when an application like FTP creates an empty file) we clean it up afterwards, for example in an after-job subroutine. Use test -z to determine whether the file is zero bytes long, and rm conditionally to delete it in this case.
Usually in these cases (when an application like FTP creates an empty file) we clean it up afterwards, for example in an after-job subroutine. Use test -z to determine whether the file is zero bytes long, and rm conditionally to delete it in this case.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.