Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FTP to SFTP in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
RanjitRaveendran
Warnings : 1

New User


Joined: 24 Nov 2008
Posts: 20
Location: Bangalore

PostPosted: Fri Feb 06, 2009 3:43 pm    Post subject: FTP to SFTP in JCL
Reply with quote

//HSS00184 EXEC PGM=FTP2,PARM='/APP=FTPNET'
//SYSPRINT DD SYSOUT=*
//SYSPUT DD SYSOUT=*,
// BLKSIZE=80
//* FTP INSTRUCTIONS
//SYSGET DD DSN=TSG.HTHSS.PROD.TRANSLIB(HSS00184),DISP=SHR

I need to change the above code to cater to the FTP to SFTP change. Can anyone give me the best method to do that.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Feb 06, 2009 4:08 pm    Post subject:
Reply with quote

Given the way in which you have posed your question, my only response woul be to edit the member containing the JCL and then save it.

Now, perhaps if you could explain exactly what you need to do, your responses may be more fruitful.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Fri Feb 06, 2009 4:30 pm    Post subject:
Reply with quote

The FTP2 makes me question whether you're using the IBM TCP/IP stack or not. The change from FTP to SFTP requires reading the manual on both, understanding the differences, and coding to site standards (which you will not find on this forum). This is a question best directed to your site support group.
Back to top
View user's profile Send private message
RanjitRaveendran
Warnings : 1

New User


Joined: 24 Nov 2008
Posts: 20
Location: Bangalore

PostPosted: Fri Feb 06, 2009 7:56 pm    Post subject: Reply to: FTP to SFTP in JCL
Reply with quote

I am required to perform whatever is required to make the transmission from an MVS system to a UNIX system which currently uses FTP and would be changed to SFTP soon. I do not have any information more than this. I googled and find that FTP2 needs to be changed to SFTP2. But what would be the impact of that change in the MVS system?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Fri Feb 06, 2009 8:40 pm    Post subject:
Reply with quote

The first question which you must ask of your system support people is: Has Ported Tools for z/OS (specifically OpenSSH) been installed at your site? If no, then you cannot do SFTP from z/OS, period. If yes, then your system support people can guide you in how to set up your JCL to use the SFTP piece of Ported Tools. Unlike FTP, SFTP is not required to be installed as part of z/OS so not all sites support it.
Back to top
View user's profile Send private message
RanjitRaveendran
Warnings : 1

New User


Joined: 24 Nov 2008
Posts: 20
Location: Bangalore

PostPosted: Fri Feb 06, 2009 8:44 pm    Post subject: Reply to: FTP to SFTP in JCL
Reply with quote

Thank you. that helps. I am gonna perform a testing based on that information, i guess the more serious concern is in the UNIX end where they might require the id and pwd which i would use in the SFTP script to be authorized to access the system.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Fri Feb 06, 2009 8:48 pm    Post subject:
Reply with quote

Quote:
I googled and find that FTP2 needs to be changed to SFTP2.
I reviewed the libraries installed with TCP/IP on our z/OS system. There is no program FTP2 which makes me think you're using a non-IBM TCP/IP implementation (CA used to support a TCP/IP version that used FTP2). If this is the case, you need to forget my previous post because Ported Tools is for the IBM TCP/IP implementation, and you must go to your system support group for help since they are the only ones that can provide you with any information about using SFTP with the TCP/IP implementation your site is using.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SFTP to primary and secondary servers mallik4u JCL & VSAM 4 Tue Jun 07, 2016 12:52 pm
No new posts Replacement FTP to SFTP Vasili Koipish All Other Mainframe Topics 1 Wed May 11, 2016 3:10 pm
No new posts FTP to SFTP passion_sujesh All Other Mainframe Topics 1 Tue Feb 24, 2015 8:59 am
No new posts Increase Speed in SFTP alan_blore TSO/ISPF 4 Sat Jul 12, 2014 1:48 am
No new posts SFTP-public/private key rdr All Other Mainframe Topics 4 Wed Dec 04, 2013 4:22 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us