Skip to Content
author's profile photo Former Member
Former Member

Proxy to SFTP (Multiple files)

Hi Folks,

I am wokring on a scenario Proxy to SFTP, here as and when proxy triggers and send the data to SAP PI at the same time we need to pick jcl file and together we need to place in the target SFTP server and between those is quote command 1st the data file then jcl for outbound

Could you please give your suggestion how we can do this?

Thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 17, 2012 at 08:56 AM

    Please find more details

    I am wokring on a scenario Proxy(ABAP Client) to SFTP (Advantco) using PI 7.31 (Dual stack only) and ECC6.
    Here as and when proxy triggers and send the data to SAP PI at the same time we need to pick jcl file (Which is in PI Server itself) and together we need to place in the target SFTP server and between those two files some series of operations should execute.

    In Target server Interfaces, if doing FTP directly from ECC6, below is the sequence of FTP commands.

    We need to send JCL files to Target mainframe for inbound as well as outbound interfaces.

    1. Outbound
    a. open blue.ccs.abc.com
    b. user logonid password
    c. put gefile.txt 'datasetname’
    d. quote site filetype=JES
    e. put pinvload.jcl
    f. quit

    2. Inbound
    a. open blue.ccs.abc.com
    b. user logonid password
    c. quote site filetype=JES
    d. put extract.jcl
    e. quit

    Is it possible to achieve above mentioned steps using FTP or SFTP adapter?

    Could you please share your valueble suggestions/solutions on the same.

    Thanks in advance

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I would like to know how to call for liabrary.

      I have executed with ALL ABC/TESTFTP.

      I have tried with ls command but was executed succesfully

      Execute OS command "ls" // In the audit log

      In Case of CALL ABC/TESTFTP. getting error like Error executing OS command "CALL ABC/TESTFTP"

      Please send me your answer ASAP its urgent for our business

      Thanks in advance

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.