Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Want to ftp multiple files, but facing the following error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Want to ftp multiple files, but facing the following error
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

Site Director


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

PostPosted: Thu Aug 06, 2009 9:33 pm    Post subject:
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: 8055
Location: East Dubuque, Illinois, USA

PostPosted: Fri Aug 07, 2009 2:26 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed Aug 12, 2009 1:14 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us