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

Default FTP options


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

Global Moderator


Joined: 28 Aug 2007
Posts: 1744
Location: Tirupur, India

PostPosted: Fri Aug 25, 2017 5:58 am
Reply with quote

Hi,
Could you please let me know where to find the default options for FTP server.

For example, If we dont specifiy a record length of a file being sent, FTP automatically choose a LRECL and RECFM. Also the default line separators like LF or CRLF or NL. Where can we find the default values.

Thanks,
Vasanth.S
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 25, 2017 7:12 am
Reply with quote

Look at SYS1.TCPPARMS (or whatever it is called on your system). There is usually one or two members related to FTP in the data set (out of what can be quite a few members). Member FTPSDATA of SEZAINST is the server data configuration source while member FTCDATA of SEZAINST is the client data configuration source.

Start by looking at your TCPIP started task to see which configuration members are used. Something important to be aware of from www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.halz001/ftpconfigstatementsinftpdata.htm :
Quote:
FTP configuration statements in Use [URL] BBCode for External Links

The Use [URL] BBCode for External Links configuration data set is optional. The FTP daemon searches for this data set during initialization.

The FTP server search order is:

A data set specified by the //SYSFTPD DD statement
ftpserve_job_name.FTP.DATA
/etc/ftp.data
SYS1.TCPPARMS(FTPDATA)
hlq.FTP.DATA data set

As shown in Table 1, the FTP client uses one of the following search orders to obtain the local site parameter values:
Table 1. FTP client search orders
TSO shell

-f
SYSFTPD DD statement
tso_prefix.FTP.DATA
userid.FTP.DATA
/etc/ftp.data
SYS1.TCPPARMS(FTPDATA) data set
tcpip_hlq.FTP.DATA file


UNIX System Services shell

-f
$HOME/ftp.data
userid.FTP.DATA
/etc/ftp.data
SYS1.TCPPARMS(FTPDATA) data set
tcpip_hlq.FTP.DATA file
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1744
Location: Tirupur, India

PostPosted: Sat Aug 26, 2017 1:49 am
Reply with quote

Thanks Robert, I will check this out.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts Change Default Scroll Setting TSO/ISPF 1
No new posts Define default volume for DSN storage... JCL & VSAM 8
No new posts JDBC Driver -Default Values DB2 1
No new posts Default attributes for undeclared SYS... PL/I & Assembler 3
Search our Forums:

Back to Top