IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Want to ftp multiple files, but facing the following error


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nithyaroslin

New User


Joined: 29 Jan 2008
Posts: 14
Location: Chennai

PostPosted: Thu Aug 06, 2009 7:03 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Thu Aug 06, 2009 9:33 pm
Reply with quote

Hello,

Verify the files exist before starting the transfer. . .?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Fri Aug 07, 2009 2:26 am
Reply with quote

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
View user's profile Send private message
nithyaroslin

New User


Joined: 29 Jan 2008
Posts: 14
Location: Chennai

PostPosted: Tue Aug 11, 2009 10:25 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Wed Aug 12, 2009 1:14 am
Reply with quote

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
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Joining files with intermittent heade... SYNCSORT 1
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts INPFIL FILES, FNAMES examples SYNCSORT 7
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts To Sort detail records in a file with... SYNCSORT 5
Search our Forums:


Back to Top