RUN COMMAND - HPUX
jonbickel@aol.com
jonbickel@aol.com
Wed, 20 Apr 2005 14:11:34 -0400
----------MailBlocks_8C713EB855198DA_324_12BE1_mblk-d15.sysops.aol.com
Content-Type: text/plain; charset="us-ascii"
Nicolas,
IIRC, the syntax error stems from the fact that RUN COMMAND on HP-UX uses sh as the initial shell (rather than the current shell of the calling process).
Jon
-----Original Message-----
From: nicolas.au@bnpparibas.com
To: powerh-l@sowder.com
Sent: Wed, 20 Apr 2005 19:13:26 +0200
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.
----------MailBlocks_8C713EB855198DA_324_12BE1_mblk-d15.sysops.aol.com
Content-Type: text/html; charset="us-ascii"
<HTML><BODY><DIV style='font-family: "Verdana"; font-size: 10pt;'><DIV>
<DIV> Nicolas,</DIV>
<DIV> </DIV>
<DIV>IIRC, the syntax error stems from the fact that RUN COMMAND on HP-UX uses sh as the initial shell (rather than the current shell of the calling process).</DIV>
<DIV> </DIV>
<DIV>Jon</DIV> <BR>-----Original Message-----<BR>From: nicolas.au@bnpparibas.com<BR>To: powerh-l@sowder.com<BR>Sent: Wed, 20 Apr 2005 19:13:26 +0200<BR>Subject: RUN COMMAND - HPUX<BR><BR>
<STYLE>
.AOLPlainTextBody {
margin: 0px;
font-family: Tahoma, Verdana, Arial, Sans-Serif;
font-size: 12px;
color: #000;
background-color: #fff;
}
.AOLPlainTextBody pre {
font-size: 9pt;
}
.AOLInlineAttachment {
margin: 10px;
}
.AOLAttachmentHeader {
border-bottom: 2px solid #E9EAEB;
background: #F9F9F9;
}
.AOLAttachmentHeader .Title {
font: 11px Tahoma;
font-weight: bold;
color: #666666;
background: #E9EAEB;
padding: 3px 0px 1px 10px;
}
.AOLAttachmentHeader .FieldLabel {
font: 11px Tahoma;
font-weight: bold;
color: #666666;
padding: 1px 10px 1px 9px;
}
.AOLAttachmentHeader .FieldValue {
font: 11px Tahoma;
color: #333333;
}
</STYLE>
<DIV class=AOLPlainTextBody id=AOLMsgPart_0_121479c5-bdc7-4b9d-8cb5-3230846d3df5><PRE><TT>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: <A href="mailto:powerh-l%40lists.sowder.com">powerh-l@lists.sowder.com</A>
Subscribe: "subscribe" in message body to <A href="mailto:powerh-l-request%40lists.sowder.com">powerh-l-request@lists.sowder.com</A>
Unsubscribe: "unsubscribe <password>" in message body to <A href="mailto:powerh-l-request%40lists.sowder.com">powerh-l-request@lists.sowder.com</A>
<A href="http://lists.sowder.com/mailman/listinfo/powerh-l" target=_blank>http://lists.sowder.com/mailman/listinfo/powerh-l</A>
This list is closed, thus to post to the list you must be a subscriber.
</TT></PRE></DIV><!-- end of AOLMsgPart_0_121479c5-bdc7-4b9d-8cb5-3230846d3df5 --></DIV></DIV></BODY></HTML>
----------MailBlocks_8C713EB855198DA_324_12BE1_mblk-d15.sysops.aol.com--