RE: [U2] How to tell if running a subroutine though RedBack

2008-06-27 Thread George Hammerle
I cannot find any documentation but in Unidata, @USER.TYPE = 2 indicates that it is Redback. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2] How to tell if running a subroutine though RedBack

2008-06-27 Thread Colin Alfke
Actually - all it means is that the port is running in phantom mode. Not sure if Redback has to be a phantom but certainly other things could be. YMMV Colin Alfke Calgary, Canada -Original Message- From: George Hammerle I cannot find any documentation but in Unidata, @USER.TYPE = 2

RE: [U2] How to tell if running a subroutine though RedBack

2008-06-27 Thread Edward Brown
On Unidata this should work: Use SYSTEM(49) to retrieve a text description of the call stack. Redback must use an entry point subroutine to call through to your code, if this is in the top line of the output then it's running under Redback. Hth, Edward -Original Message- From: [EMAIL

RE: [U2] How to tell if running a subroutine though RedBack

2008-06-27 Thread Doug Farmer
We found that just checking for a phantom seems to be what we need. We did not need to check for RedBack specifically. Thanks for the help Doug -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edward Brown Sent: Friday, June 27, 2008 12:26 PM To:

Re: [U2] How to tell if running a subroutine though RedBack

2008-06-26 Thread George Land
There is a slot where you can specify the name of a program that gets called when a responder starts. We use that to initiate the COMMON block and in there we put REDBACK into one of our common variables and check that everywhere it matters. George Land APT Solutions Ltd UK U2 Distributor

RE: [U2] How to tell if running a subroutine though RedBack

2008-06-26 Thread Mike Randall
One of the previous recommendations seems to fit the bill, use @logname or @who to determine if it's your Redback user and adjust the code accordingly. All Redback requests will have the ID of user ID used to set it up. Mike Randall, MCP -Original Message- From: [EMAIL PROTECTED]

RE: [U2] How to tell if running a subroutine though RedBack

2008-06-26 Thread David Wolverton
Where is this slot defined? LOGIN paragraph is called, as normal is all I knew we could count on... Where is this slot? Is it called before or after the LOGIN paragraph? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of George Land Sent: Thursday,

RE: [U2] How to tell if running a subroutine though RedBack

2008-06-25 Thread Israel, John R.
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.

RE: [U2] How to tell if running a subroutine though RedBack

2008-06-25 Thread Womack, Adrian
Check the content of the @AUTHORIZATION system variable. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Farmer Sent: Thursday, 26 June 2008 2:57 AM To: u2-users@listserver.u2ug.org Subject: [U2] How to tell if running a subroutine though RedBack I

RE: [U2] How to tell if running a subroutine though RedBack

2008-06-25 Thread Doug Farmer
Thanks for the advice, but that is a UniVerse command and this is UniData - Sorry I did not say that in the first place. Doug -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Womack, Adrian Sent: Wednesday, June 25, 2008 7:25 PM To: