Skip to Content
avatar image
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 comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    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 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