IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SFTP connection to Mainframe


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Shinoj Vijayakumar

New User


Joined: 13 Nov 2018
Posts: 4
Location: India

PostPosted: Thu Nov 15, 2018 2:02 pm
Reply with quote

I need to have an SFTP connection to a Mainframe LPAR to transfer 4 files to and from mainframes.

1. I am successful in establishing the connection using filezilla with the server type Default(Autodetect).

2. The file system detected is HFS. I cannot see my datasets on mainframe.
When I change the server type to MVS, OS390, z/OS the connection does
not go through



How do I get the SFTP connection working?

Why do I need it? - I have an application connecting to Mainframe terminal trying to access few configuration files for editing as per user needs and uploading it back to the mainframe terminal. There are different networks involved and customers need a secure mechanism.

What else can be done? I have TLS and SSH configured on my Mainframe. I am not sure how to use them.

[img][/img]
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Thu Nov 15, 2018 2:17 pm
Reply with quote

You need to speak with your own site support for things that may well be site specific.

Only then come onto a forum if they cannot resolve the problem.
Back to top
View user's profile Send private message
Shinoj Vijayakumar

New User


Joined: 13 Nov 2018
Posts: 4
Location: India

PostPosted: Thu Nov 15, 2018 8:27 pm
Reply with quote

SFTP can be a general topic of discussion as there will be others who are using this mode of communication between servers. I was trying to understand if I am missing on to any information.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Thu Nov 15, 2018 8:44 pm
Reply with quote

Quote:
The file system detected is HFS. I cannot see my datasets on mainframe.
When the file system is HFS, that means you are connecting to Unix System Services; no, you would not see ANY datasets on HFS -- HFS has directories and files, not datasets.
Quote:
How do I get the SFTP connection working?

Why do I need it?
First, if you're seeing HFS connections then the SFTP connection is working and there is nothing needed to get it working. Second, these questions REQUIRE you to contact your site support group -- your site may mandate that you use SFTP; we don't work at your site and have no idea what the site standards are.
Quote:
What else can be done?
You could transfer your files to Unix System Services files and then use TSO OGET or OCOPY to transfer the Unix files to your MVS datasets. There may be other ways to transfer to your MVS datasets -- but you MUST contact your site support group to find out what the site standards are and how to do what you want.

It really sounds like the entire problem boils down to a lack of user education -- you don't understand what you've connected to on the mainframe nor how to accomplish your tasks. CONTACT YOUR SITE SUPPORT GROUP FOR HELP!
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1744
Location: Tirupur, India

PostPosted: Fri Nov 16, 2018 3:39 am
Reply with quote

As others have said, you are connecting to Unix System Services on Mainframe.
Inorder to access Mainframe datasets you need additional software like Tectia or Co:Z SFTP installed on Mainframe. Only your sysprogs would know what software is installed to facilitate SFTP to Mainframe.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts batch SFTP job using AOPBATCH unable ... All Other Mainframe Topics 7
No new posts BPXBATCH SFTP to remote path having s... All Other Mainframe Topics 6
No new posts Email attachment from mainframe is empty PC Guides & IT News 9
No new posts Mainframe Dataset Binary or ASCII Mainframe Interview Questions 4
No new posts Need help In Mainframe Automation AF/... CLIST & REXX 14
Search our Forums:

Back to Top