RUN COMMAND - HPUX

nicolas.au@bnpparibas.com nicolas.au@bnpparibas.com
Thu, 21 Apr 2005 10:16:35 +0200


Hi David,

Thank you for pointing out the permission of the scriptfile.

However, the scriptfile 'tests1' already had the necessary permission:

-rwxrwxr-x   1 u91384     FCUX            55 Apr  7 11:15 tests1

Any other suggestion ?

Nicolas.





Internet
David.Knispel@frequencymarketing.com - 20/04/2005 19:49



To:    Nicolas AU, powerh-l

cc:


Subject:    RE: RUN COMMAND - HPUX




This is typically because the unix permissions are incorrect.  On your
script file type:
ls -l test.sh

You should see

-rwxr--r--   1 dknispel   adm            202 Nov 18 17:47 test.sh

See the rwx.  That means read, write, execute access.  Without the x you'll
get "Execute permission denied".

Use the chmod command to fix.

David Knispel
david.knispel at frequencymarketing dot com
Phone/Fax: 513-248-5029


-----Original Message-----
From: nicolas.au@bnpparibas.com [mailto:nicolas.au@bnpparibas.com]
Sent: Wednesday, April 20, 2005 1:13 PM
To: powerh-l@sowder.com
Subject: RUN COMMAND - HPUX

Hi All,

We are migrating from PH 8.29.D on HP3000 to PH 8.43.D on HP9000 (HPUX)
using Eloquence.

We have experienced a little problem in QUICK  using the procedural verb
'RUN COMMAND'

We are trying to execute a script file using the procedural verb 'RUN
COMMAND'  using the Korn Shell  '. scriptfile'  (dot) command format.

What we want is to execute the scriptfile that containing a set of commands
in the current shell environment so that any variable set by the commands
in the scriptfile will be able to be retrieved by the QUICK's program that
executes the scriptfile  using the GETSYSTEMVAL function.

For example what we are trying to do is :

RUN COMMAND ". tests1 "  ON ERROR CONTINUE

We got the error "sh: .: Execute permission denied."

What have we done wrong?

What we ultimately want is to be able to execute a QUIZ program using the
'RUN COMMAND' verb and want the QUICK program to be able to pick up any
variables that are set by the QUIZ program using the GETSYSTEMVAL function.
We could do these things easily in HP3000 but with HP9000, it is more
difficult because of the different shell environment that the QUIZ program
is run.

Any info on how to use the RUN COMMAND to execute scriptfile in the same
shell environment will be very much appreciated.

TIA.

Nicolas.


This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
--
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.sowder.com
Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.




This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.