Skip to Content
avatar image
Former Member

Calling specific put/get commands from the communication channel

Hello,

I need to execute a specific command to place or read the file from the bank file server.

The command for placing the file is something like this -

put localfilename %localfilename%SECUPGPENA%GPEXRIP%%B

I am trying to use the following command in the "Run Operating System Command Before Message Processing" section of the communication channel

"put %F %%F%SECUPGPENA%GPEXRIP%%B"

But the files are not being transferred.

I believe that I need to replace the actual message processing command by the given command by writing a script and calling it.

Please give me any pointers for solving the issue.

Regards,

Mayank

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    May 29, 2008 at 04:52 PM

    See if this blog by Michal helps,

    /people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions

    Sameer

    Add comment
    10|10000 characters needed characters exceeded

  • May 29, 2008 at 05:06 PM

    Please view these links for further help

    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sap%2bxi%2bfile%2badapter%2bos%2bcommand%2bline%2bfeature

    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello,

      Thanks for your response.

      I have already gone through the above blogs.

      The issue is that I need to replace the actual command used in the file transfer with the given put command.

      Please let me know if there is a workaround for it.

      Regards,

      Mayank

  • avatar image
    Former Member
    Aug 14, 2008 at 07:11 PM

    Had to change the commands

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      We asked bank to change the configuration on there end.

      Now they are supporting the standard get and put commands.

      Regards,

      Mayank