Page 1 of 1

TurnKey 4 and FTP?

Posted: Wed Jan 30, 2019 9:17 am
by jeffmt_2684
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:

Code: Select all

"Connected to DESKTOP-MTC79OU.
220 *** MVS38j FTP Daemon on TK4- ***
500 Huh?
User (DESKTOP-MTC79OU:(none)):"
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:

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 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!

Re: TurnKey 4 and FTP?

Posted: Wed Jan 30, 2019 8:48 pm
by Anuj Dhawan

Re: TurnKey 4 and FTP?

Posted: Sun Feb 03, 2019 7:12 am
by jeffmt_2684
Thanks Anuj. I did try some of the different suggestions there, but I am still getting access denied. Looking further into it and asking around it looks like I wouldn't be able to FTP directly from the temp file location of the JES SPOOL file. I am just going to output the job to a dataset and transfer it from there.

Thanks!