[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] Call System
- Subject: RE: [sqr-users] Call System
- From: "Knapp, Richard" <KnappR@umsystem.edu>
- Date: Mon, 19 Apr 2004 13:37:27 -0500
- Delivery-date: Mon, 19 Apr 2004 13:38:38 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
- Thread-index: AcQmOwOA6Z1cOBzrTPmqbZX7CLc4FQAAkZ2g
- Thread-topic: [sqr-users] Call System
Isn't this usually due to the path being missing form the SQR user's
environment?
Richard Knapp
Database Programmer/Analyst
Institutional Research and Planning
University of Missouri System
573-882-8856
knappr@umsystem.edu
-----Original Message-----
From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org
[mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org]On Behalf Of
Bruce Burnell
Sent: Monday, April 19, 2004 1:17 PM
To: sqr-users@sqrug.org
Subject: [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
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users