[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

[sqr-users] Call System







I have an SQR that I am running from the UNIX command line.  I have a
number off call system statements, and some of them are working.  The
following sequence if bahaving oddly:

    let $command_line  = 'mkdir -p ' || $target
     show 'command is '
     show $command_line
     call system  using  $command_line #status

The command line that displays, when copied from the log and pasted into
the UNIX command line, exeucutes as expected.  When the SQR exucutes the
command, I get the following:

mkdir:  not found

I do not believe that this is permissions because I execute the SQR from
the UNIX prompt, then execute the pasted command from the same UNIX prompt.
So the SQR execution has the same permissions and environment variables.
The value of #status is 127.  I have other call  system commands is the
same SQR that execute as expected.

Any help would be appreciated.


_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users