-1

I'm having trouble running a shell script command in progress-4gl.

I have an A.xml file and the shell script moveXml.sh is used to FTP move the A.xml file from a Linux server to a window server.

my shell script needs 1 (one) parameter = </filename ex: A.xml> to work.

Below is my syntax to run moveXml.sh in progress-4gl.

OS-COMMAND COLD VALUE ("moveXml.sh").

But I can't pass the parameters.

How to pass parameters to moveXml.sh. please help me.

Nguyen
  • 13
  • 3

1 Answers1

3

When using os-command you can use value, you pass the entire command line:

os-command value( 'moveXml.sh A.xml' ).
Stefan Drissen
  • 3,266
  • 1
  • 13
  • 21