I am not sure about a system variable, but as I understand it, rbadmin
is the one doing the communication on the PICK box.  If someone does not
have a better idea, you could EXECUTE "!whoami" and if you are rbadmin
(or some other pre-defined user) you could ignore the prompt.

John Israel
Sr. Programmer/Analyst
Dayton Superior Corporation
721 Richard St.
Dayton, OH  45342
937-866-0711 x44380

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug Farmer
Sent: Wednesday, June 25, 2008 2:57 PM
To: [email protected]
Subject: [U2] How to tell if running a subroutine though RedBack

I have a need to call a standard subroutine from a RedBack application
call.  The subroutine is meant to be used in an interactive mode and can
prompt the user if there is an error in the data.  If the data is coming
from RedBack, I want to suppress the prompting and write the error to a
log file.

Is there any environment variable I can look at to tell if I am
executing under the RedBack API call?

Thanks

Doug
--------------------------------------------------------

This e-mail is for the use of the intended recipient(s) only. If you
have received this e-mail in error, please notify the sender immediately
and then delete it. If you are not the intended recipient, you must not
use, disclose or distribute this e-mail without the author's prior
permission. We have taken precautions to minimize the risk of
transmitting software viruses, but we advise you to carry out your own
virus checks on any attachment to this message. We cannot accept
liability for any loss or damage caused by software viruses. Any views
and/or opinions expressed in this e-mail are of the author only and do
not represent the views of Epicor Software Corporation or any other
company within its group.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to