Skip to Content
Technical Articles
Author's profile photo Gautham Ulaganathan

FTP/SFTP Implementation on Mainframe Dataset servers| SAP PO

It was quite challenging for us when we converted our FTP protocols to SFTP in our SAP PO landscape.

Here in this blog post , I am going to  share one such experience where the upstream system was running on mainframe servers and we successfully implemented SFTP connection.

 

How should  we read and parse a file if SFTP job runs on mainframe servers ?

 

SAP PO uses SFTP adapter in below two manners:

 

  1. SFTP Sender Adapter:     To pull files from SFTP server’s folder
  2. SFTP Receiver Adapter:  To push files to SFTP server’s folder

 

We are going to discuss the first method where files will be pulled from SFTP server.

 

Here in this case SFTP transfer job runs on Mainframe server (Mailbox Concept).

 

HOW TO CONFIGURE THE CHANNEL:

So, in a mainframe server (mailbox concept) instead of Folders we have datasets.

 

Our channel especially File name and Directory must be configured like

 

/FTADV:P=UNIX/___ “Your mainframe dataset”(Double quotes not required) -> If your SAP product is on UNIX server.

 

/FTADV:P=WIN/___” Your mainframe dataset” (Double quotes not required)->If your SAP product is on WINDOWS platforms

 

FTADV – File Transfer Advice String

 

How to achieve in FTP Sender channel ?

 

  • We can also use the same way for FTP adapter of SAP PO 7.5 as well.
  • We don’t need to provide File Transfer Advice string just the dataset name enclosed within single quotes.

Please feel free to share your insights /comments/experience.

I am exploring on the same implementation if we want to place files in the mainframe server.

If anyone has experience ,please share in the comments section.

 

References:

 

https://www.ssh.com/manuals/server-zos-user/66/index.html

 

Thanks ,

Gautham Ulaganathan C

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Madhubala Chandran
      Madhubala Chandran

      Hi Gautham,

      Thanks for sharing this and it’s informative

      Thanks,

      Madhu

      Author's profile photo Gautham Ulaganathan
      Gautham Ulaganathan
      Blog Post Author

      Thanks !!