View previous topic :: View next topic
|
Author |
Message |
nithyaroslin
New User
Joined: 29 Jan 2008 Posts: 14 Location: Chennai
|
|
|
|
Hi,
I want to ftp thousands of files to the unix server. But whenever the ftp step encounters the file which is not found, it fails with following error and doesn't ftp the files following the current one. What should i do to ftp all the files even if one of the files in the sequence is not present.
Code: |
EZA1735I Std Return Code = 27000, Error Code = 00018
|
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Verify the files exist before starting the transfer. . .? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
I really have to question a business process requiring file transfer of thousands of files -- really question it!
If the thousands of files have common high level qualifiers, and the file names are compatible on the two systems, you could use the MPUT command of FTP to transfer the entire set of files without individually identifying each one. |
|
Back to top |
|
|
nithyaroslin
New User
Joined: 29 Jan 2008 Posts: 14 Location: Chennai
|
|
|
|
Hi,
The current business logic is written completely in REXX, which is invoked by a job.
1. Retrieving a file from unix which contains all the bounced email details.
2. These details are read one by one from the PS file. These details will tell us the PDS and its member details.
3. We are checking for the existance of member
4. Generating FTP card for the existing members
These job runs at the most for one minute if we have less number of records(around 50) in the PS file. But if the records are more(10,000 records or more), the job runs for more than 2 hours.
So I thought if we remove the existance check, the job may take less time. So before doing that, I tried to ftp the file which does not exist. But the FTP is failing. Can anyone guide me to improve the performance as this current logic is costing more. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
3. We are checking for the existance of member |
How is this being done?
If the process is run using only steps 1, 2, and 4 - how long does it take for 10,000 entries? |
|
Back to top |
|
|
|