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
 

 

FTP Problem from z/OS to Linux

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
hyuzen

New User


Joined: 10 Jul 2005
Posts: 58

PostPosted: Fri Aug 28, 2009 10:39 am    Post subject: FTP Problem from z/OS to Linux
Reply with quote

Hi all,

We set a VPN tunnel between z/OS and Linux for FTP. Eventually we manages to do ftp small sized files from M/F to linux but we still suffering not doing ftp big size files. He is jcl and trace from z/OS

JCL

//FTP EXEC PGM=FTP,REGION=4096K,COND=(0,NE),PARM='(EXIT TRACE'
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD *
IP ADDRESS
USERID
PASSWORD
LCD ''
BIN
PUT TXXX.DYYMMDD.ZIP TEST01.ZIP
QUIT
//SYSPRINT DD SYSOUT=*


TRACE

1 EZA1736I FTP 172.16.20.25 (EXIT TRACE
GU4877 dspyFixLevel: Fix Level: NONEFND Data: EZBOECPR
GU4877 dspyFixLevel: Fix Level: Ü Data: EZAAE061 20060501104800010100
GU4877 dspyFixLevel: Fix Level: HIP6190 Data: EZAFTPCV EZAFTPC1 EZAFTPDA EZAFTPF4
GU4877 dspyFixLevel: Fix Level: Ü Data: EZAFTPGA EZAFTPG1 EZAFTPMA EZAFTPMB
GU4877 dspyFixLevel: Fix Level: Ü Data: EZAFTPMC EZAFTPMU EZAFTPMW EZAFTPMZ
GU4877 dspyFixLevel: Fix Level: Ü Data: EZBCRSTK EZBMSGMC EZBMSGMI EZBMSGPL
GU4877 dspyFixLevel: Fix Level: Ü Data: EZBPAGLU EZBPAINX EZBWTOCR EZBWTODM
GU4877 dspyFixLevel: Fix Level: Ü Data: EZAFTPCD EZAFTPCK EZAFTPCR EZAFTPCT
GU4877 dspyFixLevel: Fix Level: Ü Data: EZAFTPEA EZAFTPEJ EZAFTPER EZAFTPFU
GU4877 dspyFixLevel: Fix Level: Ü Data: EZAFTPGU EZAFTPMD EZAFTPMY EZAFTPNX
GU4877 dspyFixLevel: Fix Level: Ü Data: EZAFTPNY EZAFTPPC EZBMSTCC
GU4877 dspyFixLevel: Fix Level: UK26102 Data: EZAFTPMQ
GU4877 dspyFixLevel: Fix Level: UK26184 Data: EZAFTPCZ
GU4877 dspyFixLevel: Fix Level: UK28030 Data: EZAFTPMG
GU4877 dspyFixLevel: Fix Level: UK28837 Data: EZAITUTI
GU4877 dspyFixLevel: Fix Level: UK30210 Data: EZAFTPCP
GU4877 dspyFixLevel: Fix Level: UK31353 Data: EZAFTPNC
GU4877 dspyFixLevel: Fix Level: UK32954 Data: EZAFTPCB
GU4877 dspyFixLevel: Fix Level: UK37731 Data: EZAFTPIO EZAFTPMV
GU4877 dspyFixLevel: Fix Level: UK38013 Data: EZAFTPSC
GU4877 dspyFixLevel: Fix Level: UK38460 Data: EZAFTPCX
GU4877 dspyFixLevel: Fix Level: UK38942 Data: EZAFTPCL EZAFTPCY EZAFTPFC
GU4877 dspyFixLevel: Fix Level: UK39541 Data: EZAFTPCU
GU4877 dspyFixLevel: Fix Level: UK39929 Data: EZAFTPED EZAFTPEP EZAFTPET EZAFTPMF
GU4877 dspyFixLevel: Fix Level: Ü Data: EZAFTPMK
GU4877 dspyFixLevel: Fix Level: UK40830 Data: EZAFTPGV
GU4877 dspyFixLevel: Fix Level: UK41042 Data: EZAFTPCA EZAFTPCG EZAFTPTI EZAFTPTO
GU4877 dspyFixLevel: Fix Level: UK41152 Data: EZAFTPCC
GU4877 dspyFixLevel: Fix Level: UK42380 Data: EZAFTPMR
GU4877 dspyFixLevel: Fix Level: 64/ 64 Data: OBJECTS PROCESSED. AV-BUFR: 0003547
EP1069 read_ftpdata: entered
EP0458 init_config_defaults: entered
EZY2640I Using 'TCPIP.FTP.DATA' for local site configuration parameters.
EP0653 processStatement: entered
EP0653 processStatement: entered
EP0653 processStatement: entered
EA0884 blocksize: entered
EP0653 processStatement: entered
EA1426 conddisp: entered
EP0653 processStatement: entered
EA0949 bufno: entered
EP0653 processStatement: entered
ED0742 directory: entered
EP0653 processStatement: entered
EP0653 processStatement: entered
ED1212 filetype: entered
EP0653 processStatement: entered
EZYFT47I 'TCPIP.FTP.DATA' file, line 55: Ignoring keyword ÜINACTIVEÜ.
EP0653 processStatement: entered
EZYFT47I 'TCPIP.FTP.DATA' file, line 56: Ignoring keyword ÜJESLRECLÜ.
EP0653 processStatement: entered
EZYFT47I 'TCPIP.FTP.DATA' file, line 57: Ignoring keyword ÜJESINTERFACELEVELÜ.
EP0653 processStatement: entered
EZYFT47I 'TCPIP.FTP.DATA' file, line 58: Ignoring keyword ÜJESPUTGETTOÜ.
EP0653 processStatement: entered
EZYFT47I 'TCPIP.FTP.DATA' file, line 59: Ignoring keyword ÜJESRECFMÜ.
EP0653 processStatement: entered
EJ0953 lrecl: entered
EP0653 processStatement: entered
EJ2013 primary: entered
EP0653 processStatement: entered
ER0128 recfm: entered
EP0653 processStatement: entered
ER0538 sbdataconn: entered
EP0653 processStatement: entered
ER0838 secondary: entered
EP0653 processStatement: entered
ER2207 spacetype: entered
EP0653 processStatement: entered
EP0653 processStatement: entered
ER2280 sqlcol: entered
EP0653 processStatement: entered
EZYFT47I 'TCPIP.FTP.DATA' file, line 80: Ignoring keyword ÜSTARTDIRECTORYÜ.
EP0653 processStatement: entered
CY2426 ftpSocks: entered
CY2319 findSocks: entered
CY1014 ftpStart: start parm and ftp.data processing is complete
GU1125 chkVerRel: system information for SYSB: z/OS version 1 release 9 (2094)
EZYFT26I Using 7-bit conversion derived from 'ISO8859-1' and 'IBM-1047' for the control connection.
EZYFT31I Using TCPIP.MYCOMP.TCPXLBIN for FTP translation tables for the data connection.
EP2308 set_dbcs_langs: __ipdbcs() returned 0 parms from LOADDBCSTABLES statement(s)
EZA1450I IBM FTP CS V1R9
EZA1466I FTP: using TCPIP
EZA1772I FTP: EXIT has been set.
EZYFT18I Using catalog '/usr/lib/nls/msg/C/ftpdmsg.cat' for FTP messages.
CY1329 ftpStart: socket() failed on AF_INET6 - EDC8114I Address family not supported. (errno2=0x112B0000)
CY1337 ftpStart: client operating in IPv4 only mode
CZ0267 ftpOpen: entered
SC0455 initConnection: entered
SC0900 initIPv4Connection: entered
CY3091 access_via_socks_server: entered
EZA1554I Connecting to: 172.16.20.25 port: 21.
220 CrossFTP Server ready for new user.
CZ0451 ftpOpen: no security mechanism is specified
CZ1497 rnetrc: Check the Host name using 172.16.20.25
CZ1507 rnetrc: host is already a name.
CZ1516 rnetrc: gethostname() returned with sysb
CZ1559 rnetrc: gethostname() returned with sysb
CZ1586 rnetrc: The host name found in NETRC is 172.16.20.25
CZ1604 rnetrc: tokval is already a name(IPv4 Only).
CZ1646 rnetrc: hostp=172.16.20.25 tokval=172.16.20.25
EZA1701I >>> USER myuserid
331 User name okay, need password for myuserid.
EZA1701I >>> PASS
230 User logged in, proceed.
CU2861 write_smf_record: entered with type -2.
CU1845 write_smfTable_record_119: entered with table index 1.
CU1662 subtype_103: entered
CU1720 build_security_section: entered
EZA1460I Command:
EZA1736I LCD ''
PC0351 parseCmd: subcommand: LCD
PC0376 parseCmd: parameter 1: ''
EZA2083I Local directory set to null string.
EZA1460I Command:
EZA1736I BIN
PC0351 parseCmd: subcommand: BIN
EZA1701I >>> TYPE I
200 Command TYPE okay.
EZA1460I Command:
EZA1736I DIR
PC0351 parseCmd: subcommand: DIR
EZA1701I >>> TYPE A
200 Command TYPE okay.
SC1319 initDsConnection: entered
EZA1701I >>> PORT 10,200,4,2,37,42
200 Command PORT okay.
EZA1701I >>> LIST
150 File status okay; about to open data connection.
SC1760 accDsConnection: entered
EZA2284I drw------- 3 user group 0 Aug 26 12:59 DATA
EZA2284I -rw------- 1 user group 0 Aug 27 15:33 TEST01.ZIP
SC2467 dataClose: entered
226 Closing data connection.
EZA1701I >>> TYPE I
200 Command TYPE okay.
EZA1460I Command:
EZA1736I TXXX.DYYMMDD.ZIP TEST01.ZIP
PC0351 parseCmd: subcommand: PUT
PC0376 parseCmd: parameter 1: TXXX.DYYMMDD.ZIP
PC0376 parseCmd: parameter 2: TEST01.ZIP
CP0517 put: F=1 p=FSI ARTWT=00001
CP0947 sndFile: entered with foreignFile= TEST01.ZIP , localName= TXXX.DYYMMDD.ZIP
MR1361 set_filename: entered with pathname TXXX.DYYMMDD.ZIP
CP2536 mvs_sndFile: entered
CP2211 setFileAccessStructF: entered
MV0486 alloc_dasd: allocate TXXX.DYYMMDD.ZIP
MV0690 alloc_dasd: data set TXXX.DYYMMDD.ZIP allocated
MV0691 alloc_dasd: ... with ddname=SYS00007
MF0829 seq_open_file: recfm is U
MF1161 seq_open_file: ISB -> rb,recfm=*,NOSEEK for dd:SYS00007
MF1270 seq_open_file: dsType='' sfip->dsname=' TXXX.DYYMMDD.ZIP ' sfip->ontape=0 sfip->useDDname=0
MF1353 seq_open_file: stream 2228A46C has maxreclen 6160 recfm=C0, lrecl=6160, blksize=6160
EZA1701I >>> SITE VARrecfm LRECL=6160 RECFM=U BLKSIZE=6160
502 Command SITE not implemented for VARRECFM.
SC1319 initDsConnection: entered
EZA1701I >>> PORT 10,200,4,2,37,43
200 Command PORT okay.
EZA1701I >>> STOR TEST01.ZIP
150 File status okay; about to open data connection.
SC1760 accDsConnection: entered
CU2861 write_smf_record: entered with type 27.
CU2267 write_smf_record_119: entered with type 27.
TO2476 read_image: O=2 HGPES=00001 BCTE=0000 RLB=C0/6160/6160
SC3652 SETCEC code = 9
EZA2589E Connection to server interrupted or timed out. Sending data
SC3921 send_data: send() failed - EDC5120I Interrupted function call. (errno2=0x76690291)
EZA2590E send error from send_data - EDC5120I Interrupted function call. (errno2=0x76690291)
SC2467 dataClose: entered
EZA1475I Connection with 172.16.20.25 terminated
CZ1250 ftpClose: entered
MF0715 seq_close_file: file closed
GV0169 releaseFile: release ddname - SYS00007
SC2467 dataClose: entered
CP1275 sndFile: send failed (rc = -2)
EZA2603E Error sending the file
CU2861 write_smf_record: entered with type 27.
CU2267 write_smf_record_119: entered with type 27.
CU3153 write_smf_record: length of smfrecord: 224
CX0367 main: RC=-0001 cmd_in_progress=27
CX0370 main: last_reply= 150 err=10
PC0907 setClientRC: entered
PC0977 setClientRC: std_rc=27150, rc_type=STD, rc=27150
EZA1735I Std Return Code = 27150, Error Code = 00010
CZ1178 ftpQuit: entered
CZ1250 ftpClose: entered
CZ1250 ftpClose: entered
CX0501 removeAff: entered

How could I manage doing ftp big sized files from M/F to linux ?
Thanks in advance,
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 28, 2009 5:12 pm    Post subject:
Reply with quote

Possible problem 1: your DIR command shows a file with name TEST01.ZIP already on the server. Depending upon the server setup and the directory permissions, you might not be able to replace the file.

Possible problem 2: some networks limit file transfers to under a certain size. You need to get with your site support group and confirm that you are not exceeding the file size limit.

Suggestion: add SENDSITE to your FTP before the PUT command to turn off sending the SITE command since your server doesn't recognize it.
Back to top
View user's profile Send private message
hyuzen

New User


Joined: 10 Jul 2005
Posts: 58

PostPosted: Tue Sep 29, 2009 4:56 pm    Post subject:
Reply with quote

Hi Robert,

Sorry for my late response.

Client has suspended doing FTP temprorarily. So we just keep waiting.

Thanks in advance,
Back to top
View user's profile Send private message
ujjwal

New User


Joined: 20 Apr 2010
Posts: 1
Location: USA

PostPosted: Fri Apr 23, 2010 10:53 pm    Post subject: Reply to: FTP Problem from z/OS to Linux
Reply with quote

Hi,

I guess FTP was timed out because file size is very big and it took more time in transfer.

Try keeping Time out values high or simply remove it. It should work.

Ujjwal.
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 Apr 23, 2010 11:11 pm    Post subject:
Reply with quote

Ujjwal, any particular reason you think the o/p will be reading this thread seven months after their last post? And which "Time out values" (sic) are you referring to? If you read the Communications Server: IP Configuration Reference manual, there is NO value named TIMEOUT in the FTP configuration parameters -- so what value did you mean? There is a TLSTIMEOUT parameter, DATACTTIME, DATATIMEOUT, and other parameters relating to control timing as well as transfer waits. You must be able to specify exactly which of the parameters you were referring to -- and it would be good to tell why you think changing that particular parameter will fix the problem (especially since you have no way of knowing whether a router configuration issue is involved, as well).
Back to top
View user's profile Send private message
hyuzen

New User


Joined: 10 Jul 2005
Posts: 58

PostPosted: Fri Apr 30, 2010 5:19 pm    Post subject:
Reply with quote

Hi All,

Sorry for my late response. Eventually we found the reason what makes the problem: Network security settings. If any file bigger than 7 MB is transfered as ftp via internet to a location, the network security settings sense this transfer as an attack and terminates connection.

Best regards,

Huseyin
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 Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts Who can recomend or to know a PL1 com... Miguel Fernandez DB2 0 Tue Feb 14, 2017 1:42 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am


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