View previous topic :: View next topic
|
Author |
Message |
RanjitRaveendran Warnings : 1 New User
Joined: 24 Nov 2008 Posts: 20 Location: Bangalore
|
|
|
|
//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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
RanjitRaveendran Warnings : 1 New User
Joined: 24 Nov 2008 Posts: 20 Location: Bangalore
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
RanjitRaveendran Warnings : 1 New User
Joined: 24 Nov 2008 Posts: 20 Location: Bangalore
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|