MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FTP timeout in case of larger size file
Goto page 1, 2  Next
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
radkrish
Beginner


Joined: 12 Aug 2005
Posts: 102
Topics: 19

PostPosted: Wed Aug 31, 2005 10:57 pm    Post subject: FTP timeout in case of larger size file Reply with quote

Actually i searched for similar kind of topic in this forum.no luck.couldnt get the exact keyword to search it.So posting it here.

I need to FTP 5 files into the same path with different filename in the same step.
Each file is having 58000 csv formatted records in it.When I do a FTP on all these files to the server,I got a error saying CONNECTION CLOSED.
The sysout showed me that the first file was transferred successfully.When it comes to the second file,it erred out.

Iam sure that there is no space problem in the server.Its the problem with FTP time.Is there any time parameter that we can set upto MAX limit so that all the 5 files will be posted in to the server successfully?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Thu Sep 01, 2005 3:56 am    Post subject: Reply with quote

Quote:

Iam sure that there is no space problem in the server.Its the problem with FTP time.Is there any time parameter that we can set upto MAX limit so that all the 5 files will be posted in to the server successfully?


radkrish,

what are the error messages?[

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
radkrish
Beginner


Joined: 12 Aug 2005
Posts: 102
Topics: 19

PostPosted: Thu Sep 01, 2005 4:00 am    Post subject: Reply with quote

FTP Return Code = 27550, Error Code = 00000
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Thu Sep 01, 2005 4:05 am    Post subject: Reply with quote

radkrish,

You need to post the messages starting with EZxxxxxx.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
radkrish
Beginner


Joined: 12 Aug 2005
Posts: 102
Topics: 19

PostPosted: Thu Sep 01, 2005 4:24 am    Post subject: Reply with quote

Kolusu,

here is the error message

EZA1735I FTP Return Code = 27550, Error Code = 00000
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Thu Sep 01, 2005 4:32 am    Post subject: Reply with quote

Radkrish,

Message EZA1735I is issued when EXIT was specified at client start.

Check this link for a detailed explanation of the message

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1C721/SPTJM00209

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
radkrish
Beginner


Joined: 12 Aug 2005
Posts: 102
Topics: 19

PostPosted: Thu Sep 01, 2005 4:35 am    Post subject: Reply with quote

First file was posted successfully.
In mid of second file,it was terminated.I want to post 5 files.It was stopping after transmitting first file.
How do i rectify it?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Thu Sep 01, 2005 6:57 am    Post subject: Reply with quote

Radkrish,

Post your FTP JCL along with your FTP control cards.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
radkrish
Beginner


Joined: 12 Aug 2005
Posts: 102
Topics: 19

PostPosted: Thu Sep 01, 2005 7:09 am    Post subject: Reply with quote

kolusu,

can you tell me how to rectify this?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Thu Sep 01, 2005 7:19 am    Post subject: Reply with quote

Radkrish,

You got to understand one thing that we are communicating via web. I just cannot solve your problem without knowing what you are doing. I asked you to post the JCL and you came back asking for a solution without posting any details.

You are just wasting my time as well as your time. Post detailed information on what you're trying to accomplish. Do not make people guess what you mean. This will give you a much better chance of getting a good answer to your question.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
radkrish
Beginner


Joined: 12 Aug 2005
Posts: 102
Topics: 19

PostPosted: Thu Sep 01, 2005 11:43 pm    Post subject: Reply with quote

kolusu,

you misunderstood.I didnt see your reply.the timedifference between ur posts and mine is around 10 minutes.I composed it earlier and submitted after 10minutes.so was the confusion.
Sorry for the inconvenience caused.
FTP step:

Code:
//AAAJ55   EXEC PGM=FTP,                                     
//            PARM='(EXIT',                                 
//            COND=(0,NE)                                   
//*                                                         
//INPUT        DD  DSN=AAAAA.CCC.BBBB(AAAJ55T),         
//            DISP=SHR                                       
//*                                                         
//SYSPRINT     DD  SYSOUT=*                                 




FTP CONTROL CARD:

Code:
server name                               
userid passwd
CD \SHARED\CCC\BBB\TEST                 
PUT 'AAAA.WQDN.BBBB' 2005FILES-SHOP1.CSV 
PUT 'AAAA.WQDN.BBBB' 2005FILES-SHOP2.CSV
PUT 'AAAA.WQDN.BBBB' 2005FILES-SHOP3.CSV
PUT 'AAAA.WQDN.BBBB' 2005FILES-SHOP4.CSV
PUT 'AAAA.WQDN.BBBB' 2005FILES-SHOP5.CSV
CLOSE                                         
QUIT                                         
END                                           
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Fri Sep 02, 2005 6:42 am    Post subject: Reply with quote

radkrish,

Why do you have the same file 'AAAA.WQDN.BBBB' 5 times? Do you want make multiple copies of the same file?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
radkrish
Beginner


Joined: 12 Aug 2005
Posts: 102
Topics: 19

PostPosted: Fri Sep 02, 2005 8:12 am    Post subject: Reply with quote

Just for example i gave like that.
Consider it for different files.


'AAAA.WQDN.BBBB1'
'AAAA.WQDN.BBBB2'
'AAAA.WQDN.BBBB3'
'AAAA.WQDN.BBBB4'
'AAAA.WQDN.BBBB5'
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Fri Sep 02, 2005 8:25 am    Post subject: Reply with quote

radkrish,

Your control looks ok. Make sure that the mentioned files are available before your ftp job runs.

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
radkrish
Beginner


Joined: 12 Aug 2005
Posts: 102
Topics: 19

PostPosted: Fri Sep 02, 2005 8:40 am    Post subject: Reply with quote

yes,kolusu.All are available.
Pls look at this sysout

Quote:

EZA1450I IBM FTP CS V1R4
EZA1772I FTP: EXIT has been set.
EZA1456I Connect to ?
EZA1736I server name
EZA1554I Connecting to: server name
port: 21.
220 server name Microsoft FTP Service (Version 5.0).
EZA1459I NAME (server name):
EZA1701I >>> USER userid
331 Password required for passwd
EZA1701I >>> PASS
230-Welcome to the FTP Server.
230 User userid logged in.
EZA1736I CD \SHARED\CCC\BBB\TEST
EZA1701I >>> CD \SHARED\CCC\BBB\TEST
250 CWD command successful.
EZA1460I Command:
EZA1736I PUT 'AAAA.WQDN.BBBB1' 2005FILES-SHOP1.CSV
EZA1701I >>> SITE FIXrecfm 141 LRECL=141 RECFM=FB BLKSIZE=1410
500 'SITE FIXrecfm 141 LRECL=141 RECFM=FB BLKSIZE=1410': command not understood
EZA1701I >>> PORT portid
200 PORT command successful.
ZA1701I >>> STOR 2005FILES-SHOP1.CSV
150 Opening ASCII mode data connection for WQX12-R1_20050902063951.CSV.
226 Transfer complete.
EZA1617I 5152 bytes transferred in 0.005 seconds. Transfer rate 1030.40 Kbytes/
EZA1736I PUT 'AAAA.WQDN.BBBB2' 2005FILES-SHOP2.CSV
EZA1701I >>> SITE FIXrecfm 141 LRECL=141 RECFM=FB BLKSIZE=1410
500 'SITE FIXrecfm 141 LRECL=141 RECFM=FB BLKSIZE=1410': command not understood
EZA1701I >>> PORT portid
200 PORT command successful.
ZA1701I >>> STOR 2005FILES-SHOP2.CSV
550 2005FILES-SHOP2.CSV : Access is denied.
EZA1735I FTP Return Code = 27550, Error Code = 00000
EZA1701I >>> QUIT
221 Goodbye
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group