RE: [U2] [UD] Determining if program running as a phantom

2008-09-16 Thread Bill Haskett
TOMed out of UniObjects and one that has been PHANTOMed straight from a command prompt? HTH, Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Haskett Sent: Tuesday, 16 September 2008 12:54 PM To: u2-users@listserver.u2ug.org Subject: [U2] [UD]

Re: [U2] [UD] Determining if program running as a phantom

2008-09-16 Thread Dave Taylor
74 (O) 800-SYSMARK (800-797-6275) (F) 310-377-3550 (C) 310-561-5200 www.sysmarkinfo.com - Original Message - From: "Bill Haskett" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 16, 2008 3:09 PM Subject: RE: [U2] [UD] Determining if program running as a phantom Dave:

RE: [U2] [UD] Determining if program running as a phantom

2008-09-16 Thread Ken Wallis
been PHANTOMed straight from a command prompt? HTH, Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Haskett Sent: Tuesday, 16 September 2008 12:54 PM To: u2-users@listserver.u2ug.org Subject: [U2] [UD] Determining if program running as a phantom Im ha

RE: [U2] [UD] Determining if program running as a phantom

2008-09-16 Thread Bill Haskett
Taylor Sent: Tuesday, September 16, 2008 2:13 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [UD] Determining if program running as a phantom Bill, Are you asking two questions: Is the program running and is the program running as a phantom? Or only one question : Is the program r

Re: [U2] [UD] Determining if program running as a phantom

2008-09-16 Thread Dave Taylor
7:54 PM Subject: [U2] [UD] Determining if program running as a phantom Im having a bit of a problem figuring out how to tell, within a program, if it is running as a phantom. It was my impression that @USER.TYPE would be set to 1 if the program was running as a phantom. However, if I run a program fr

RE: [U2] [UD] Determining if program running as a phantom

2008-09-16 Thread David A. Green
CU') = 'PHANTOM') EXIT END NEXT UserCnt ...which seems to work everywhere I've tested it. Thanks again, Bill -Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David A. Green Sent: Tuesday, September 16, 2008 7:18 AM To: u2-users@l

RE: [U2] [UD] Determining if program running as a phantom

2008-09-16 Thread David Wolverton
nd I would know to run my 'Initialize' routine... DW > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Bill Haskett > Sent: Tuesday, September 16, 2008 12:09 PM > To: u2-users@listserver.u2ug.org > Subject: RE: [U2] [UD] Determin

RE: [U2] [UD] Determining if program running as a phantom

2008-09-16 Thread Bill Haskett
EXIT END NEXT UserCnt ...which seems to work everywhere I've tested it. Thanks again, Bill -Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David A. Green Sent: Tuesday, September 16, 2008 7:18 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2]

RE: [U2] [UD] Determining if program running as a phantom

2008-09-16 Thread Colin Alfke
If you have a different account for the UniObjects connections (we do for ODBC access) you could use @ACCOUNT. Or you could use UOLOGIN to set an @USER variable. HTH Colin Alfke Calgary, Canada > -Original Message- > David A. Green > > Try using SYSTEM(48). A Phantom process will have a

RE: [U2] [UD] Determining if program running as a phantom

2008-09-16 Thread David A. Green
@listserver.u2ug.org Subject: [U2] [UD] Determining if program running as a phantom Im having a bit of a problem figuring out how to tell, within a program, if it is running as a phantom. It was my impression that @USER.TYPE would be set to 1 if the program was running as a phantom. However, if I run a

Re: [U2] [UD] Determining if program running as a phantom

2008-09-15 Thread iggchamp
What does Unidata show for system(25)? -- Original message -- From: "Bill Haskett" <[EMAIL PROTECTED]> > Im having a bit of a problem figuring out how to tell, within a program, if > it is running as a phantom. It was my impression that @USER.TYPE would be > set to 1

RE: [U2] [UD] Determining if program running as a phantom

2008-09-15 Thread Bill Haskett
] Determining if program running as a phantom What does Unidata show for system(25)? -- Original message -- From: "Bill Haskett" <[EMAIL PROTECTED]> > Im having a bit of a problem figuring out how to tell, within a program, if > it is running a

[U2] [UD] Determining if program running as a phantom

2008-09-15 Thread Bill Haskett
Im having a bit of a problem figuring out how to tell, within a program, if it is running as a phantom. It was my impression that @USER.TYPE would be set to 1 if the program was running as a phantom. However, if I run a program from a UniObjects connection @USER.TYPE is always set to 1. It