TurnKey 4 and FTP?

Hercules, z390, zCOBOL, CBT Tape Files.
Post Reply
User avatar
jeffmt_2684
New Member
Posts: 4
Joined: Wed Jan 30, 2019 9:00 am

TurnKey 4 and FTP?

Post 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!
Last edited by Anuj Dhawan on Wed Jan 30, 2019 7:41 pm, edited 1 time in total.
Reason: Edited code tags and moved to Hercules Forum.
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: TurnKey 4 and FTP?

Post by Anuj Dhawan »

Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
User avatar
jeffmt_2684
New Member
Posts: 4
Joined: Wed Jan 30, 2019 9:00 am

Re: TurnKey 4 and FTP?

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

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Hercules, z390, zCOBOL, CBT Tape Files.”