TurnKey 4 and FTP?
Posted: Wed Jan 30, 2019 9:17 am
I am trying to refresh on Assembly Language (learned it as an undergrad 10 yrs ago) and doing so with TK4 Hercules installed using ZOS/370.
I am trying to FTP the files located in OUTLIST from the UTILITIES of the RFE menu option of MVS TK4.
This would be JES output from an assembled job. From the HERCULES cmd line I start the FTP server by running, "/start ftpd,srvport=2100"
Then using Windows 10 cmd, I attempt to access by calling, "ftp> open localhost 2100"
I get a response of:
Running DIR, I can see the file I would like to get, "-r-xr-xr-x 1 user group 1024 Jan 27 2019 SYS19027.T063014.RA000.HERC01.JOB00096"
when I run a get on it, a password is requested and whatever I enter (including CUL8TR the default Hercules pw) it will accept it and say I am now logged in. But my attempts to FTP the output responds like so:
I am also using Vista TN3270 to log in. I can transfer files to and from the system with that, but I don't know how to access the job outputs with it. What member would the temporary job file, "SYS19027.T063014.RA000.HERC01.JOB00096" be in? I couldn't find it, so I was trying to use FTP. The closest I have come is creating a dataset as non partitioned and setting the jcl to output to that. I can transfer that file, but it's not the same as the jes output located in OUTLIST.
I apologize if this is vague, but I am just trying to get a good setup to be able to write the program and view the output in notepad, but do it with Hercules. I have already spent a few wasted nights researching, and trying different ways to do this without luck. .
Any suggestions? Thank you!
I am trying to FTP the files located in OUTLIST from the UTILITIES of the RFE menu option of MVS TK4.
This would be JES output from an assembled job. From the HERCULES cmd line I start the FTP server by running, "/start ftpd,srvport=2100"
Then using Windows 10 cmd, I attempt to access by calling, "ftp> open localhost 2100"
I get a response of:
Code: Select all
"Connected to DESKTOP-MTC79OU.
220 *** MVS38j FTP Daemon on TK4- ***
500 Huh?
User (DESKTOP-MTC79OU:(none)):"
when I run a get on it, a password is requested and whatever I enter (including CUL8TR the default Hercules pw) it will accept it and say I am now logged in. But my attempts to FTP the output responds like so:
Code: Select all
ftp> get SYS19027.T063014.RA000.HERC01.JOB00096
200 PORT command successful
550 SYS19027.T063014.RA000.HERC01.JOB00096: 13
ftp> get JOB00096
200 PORT command successful
553 JOB00096: Access denied.
ftp> GET 'JOB00096'
200 PORT command successful
553 'JOB00096': Access denied.
I apologize if this is vague, but I am just trying to get a good setup to be able to write the program and view the output in notepad, but do it with Hercules. I have already spent a few wasted nights researching, and trying different ways to do this without luck. .
Any suggestions? Thank you!