DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
puliram
Participant



Joined: 28 Apr 2008
Posts: 20

Points: 150

Post Posted: Mon Jan 29, 2018 8:53 pm Reply with quote    Back to top    

DataStage® Release: 11x
Job Type: Parallel
OS: Unix
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
ray.wurlod

Premium Poster
Participant

Group memberships:
Premium Members, Inner Circle, Australia Usergroup, Server to Parallel Transition Group

Joined: 23 Oct 2002
Posts: 54432
Location: Sydney, Australia
Points: 295212

Post Posted: Mon Jan 29, 2018 9:16 pm Reply with quote    Back to top    

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 dete ...

_________________
RXP Services Ltd
Melbourne | Canberra | Sydney | Hong Kong | Hobart | Brisbane
currently hiring: Canberra, Sydney and Melbourne (especially seeking good business analysts)
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours