On my copy, which may be as old as 1.2 or 1.1, FTP is available automagically once the tcp/ip stack initializes. And just as a tip, you have to set up something like this in ADCD.Z110S.TCPPARMS(PROFILE):
DEVICE CTCDEVICE CTC E20
LINK CTCLINK CTC 1 CTCDEVICE
HOME 192.168.0.210 CTCLINK
ROUTE 192.168.0.1 255.255.255.0 = CTCLINK MTU DEFAULTSIZE
ROUTE DEFAULT 192.168.0.25 CTCLINK MTU DEFAULTSIZE
This depends of course on how you set up the CTC in Hercules and your local addresses, etc. This file, BTW, has most of the stack initialization stuff in it, including some lines like:
FTPD JOBNAME FTPD1 ; FTP Server
LPSERVE ; LPD Server
NAMESRV ; Domain Name Server
NCPROUT ; NCPROUTE Server
PORTMAP ; Portmap Server
; OROUTED ; RouteD Server
; RXSERVE ; Remote Execution Server
; SMTP ; SMTP Server
; OSNMPD ; SNMP Agent Server
; SNMPQE ; SNMP Client
; TCPIPX25 ; X25 Server
Which I believe tells (some part of) zOS to start the FTP daemon. You should also see a section where port numbers are assigned, etc. If your ADCD is configfuredd like mine, a lot of the system config stuff is in ADCD datasets which get appended to the SYS1 datasets. That took me a while of poking about to establish.
And then finally, you should see FTPD being started up on the zOS console. Once itâs up you should be able to send and receive files.
2 Avenue de Peterhof
Post by Matteo Ferrari ***@yahoo.com [hercules-390]
Found a copy on internet some years ago and using for personal use to study Z/OS.
I would like to setup FTP service and explore connection to DB2 on Z via a client on my mac.
zOSâs impletation of FTP includes a JES interface that you can use to submit jobs to JES and get the sysout back. I have a Python script that does all that. Submitting a job to JES, even a simple br14, willl give you confidence that a) zOS works and b) your network interface wrks as well..
Iâm running zOS under Hercules on an iMac.
BTW, ADCD 1.9? Do you have connections with IBM?
2 Avenue de Peterhof
Post by ***@yahoo.com [hercules-390]
doing some tests to run Z/OS 1.9 ADCD for learning purposes on Hercules and it looks like working really well.
I would like to do some tests using FTP and connecting to DB2 DB9G from an external host.
I am running Hercules on Linux on a MacBook.
Do you have any suggestion on what to do to make both services work? Both on Hercules configuration and inside Z/OS ?
Thx a lot