Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Default FTP options

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

Global Moderator


Joined: 28 Aug 2007
Posts: 1528
Location: Chennai

PostPosted: Fri Aug 25, 2017 5:58 am    Post subject: Default FTP options
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: 8188
Location: East Dubuque, Illinois, USA

PostPosted: Fri Aug 25, 2017 7:12 am    Post subject: Reply to: Default FTP options
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 https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.halz001/ftpconfigstatementsinftpdata.htm :
Quote:
FTP configuration statements in FTP.DATA

The FTP.DATA 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: 1528
Location: Chennai

PostPosted: Sat Aug 26, 2017 1:49 am    Post subject:
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    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 Default Message in Rexx cvnlynn CLIST & REXX 9 Wed Aug 02, 2017 12:38 am
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm
No new posts DB2 Unload format options Susanta DB2 2 Fri Aug 12, 2016 5:42 pm
No new posts force windows ftp client user to defa... meykh2014 All Other Mainframe Topics 0 Sun Feb 14, 2016 12:57 pm
No new posts Endevor - Compiler Options. Chetan Kumar Mainframe Interview Questions 4 Tue Oct 20, 2015 6:32 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us