View previous topic :: View next topic |
Author |
Message |
radkrish Beginner
Joined: 12 Aug 2005 Posts: 102 Topics: 19
|
Posted: Wed Aug 31, 2005 10:57 pm Post subject: FTP timeout in case of larger size file |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Thu Sep 01, 2005 3:56 am Post subject: |
|
|
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 |
|
|
radkrish Beginner
Joined: 12 Aug 2005 Posts: 102 Topics: 19
|
Posted: Thu Sep 01, 2005 4:00 am Post subject: |
|
|
FTP Return Code = 27550, Error Code = 00000 |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Thu Sep 01, 2005 4:05 am Post subject: |
|
|
radkrish,
You need to post the messages starting with EZxxxxxx.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
radkrish Beginner
Joined: 12 Aug 2005 Posts: 102 Topics: 19
|
Posted: Thu Sep 01, 2005 4:24 am Post subject: |
|
|
Kolusu,
here is the error message
EZA1735I FTP Return Code = 27550, Error Code = 00000 |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
radkrish Beginner
Joined: 12 Aug 2005 Posts: 102 Topics: 19
|
Posted: Thu Sep 01, 2005 4:35 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Thu Sep 01, 2005 6:57 am Post subject: |
|
|
Radkrish,
Post your FTP JCL along with your FTP control cards.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
radkrish Beginner
Joined: 12 Aug 2005 Posts: 102 Topics: 19
|
Posted: Thu Sep 01, 2005 7:09 am Post subject: |
|
|
kolusu,
can you tell me how to rectify this? |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Thu Sep 01, 2005 7:19 am Post subject: |
|
|
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 |
|
|
radkrish Beginner
Joined: 12 Aug 2005 Posts: 102 Topics: 19
|
Posted: Thu Sep 01, 2005 11:43 pm Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Fri Sep 02, 2005 6:42 am Post subject: |
|
|
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 |
|
|
radkrish Beginner
Joined: 12 Aug 2005 Posts: 102 Topics: 19
|
Posted: Fri Sep 02, 2005 8:12 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Fri Sep 02, 2005 8:25 am Post subject: |
|
|
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 |
|
|
radkrish Beginner
Joined: 12 Aug 2005 Posts: 102 Topics: 19
|
Posted: Fri Sep 02, 2005 8:40 am Post subject: |
|
|
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 |
|
|
|
|