Re: [U2] Invoking UniData running a program

2005-06-08 Thread Manu Fernandes

You can add this sentence into the LOGIN procedure
001 PA
002 IF @TTY = 'Console' THEN GO END.OF.LOGIN
003 ...
004 END.OF.LOGIN:

Manu Fernandes 
- Original Message - 
From: George Land [EMAIL PROTECTED]

To: u2-users@listserver.u2ug.org
Sent: Wednesday, June 08, 2005 6:38 PM
Subject: [U2] Invoking UniData  running a program



We sometimes use the syntax 'udt programname' from the Windows command
line to run a program.  This usually works fine except on one machine
(6.0.12 on Windows) where it runs the LOGIN as though we had just done
'udt'.



Does anyone know if there is an option to control this (I can't see
one)?



Regards,



George Land

Technical Director

APT Solutions Limited

www.aptsolutions.co.uk http://www.aptsolutions.co.uk
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Invoking UniData running a program

2005-06-08 Thread George Land
Unfortunately I don't always want to quit the login if running on the
console, I'd only want to do it if the original udt command was followed
by something.  

Regards,
 
George Land
Technical Director
APT Solutions Limited
www.aptsolutions.co.uk 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manu Fernandes
Sent: 08 June 2005 18:04
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Invoking UniData  running a program

You can add this sentence into the LOGIN procedure
001 PA
002 IF @TTY = 'Console' THEN GO END.OF.LOGIN
003 ...
004 END.OF.LOGIN:

Manu Fernandes 
- Original Message - 
From: George Land [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Wednesday, June 08, 2005 6:38 PM
Subject: [U2] Invoking UniData  running a program


 We sometimes use the syntax 'udt programname' from the Windows command
 line to run a program.  This usually works fine except on one machine
 (6.0.12 on Windows) where it runs the LOGIN as though we had just done
 'udt'.
 
 
 
 Does anyone know if there is an option to control this (I can't see
 one)?
 
 
 
 Regards,
 
 
 
 George Land
 
 Technical Director
 
 APT Solutions Limited
 
 www.aptsolutions.co.uk http://www.aptsolutions.co.uk
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Invoking UniData running a program

2005-06-08 Thread colin.alfke
They should all go through the LOGIN VOC item. The LOGIN on your 6.0.12
machine must be different than the others.

One way to check is the @COMMAND variable. It should contain anything
after the 'udt' in the command line.

Colin Alfke
Calgary I can't believe it finally stopped raining Canada

-Original Message-
From: George Land

We sometimes use the syntax 'udt programname' from the Windows 
command line to run a program.  This usually works fine except 
on one machine
(6.0.12 on Windows) where it runs the LOGIN as though we had 
just done 'udt'.

Does anyone know if there is an option to control this (I 
can't see one)?

Regards,

George Land
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Invoking UniData running a program

2005-06-08 Thread Paul Sohn
I'm not sure if running a program via the udt statement is considered a
phantom but you can try playing with the @USER.TYPE variable.

 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George Land
Sent: Wednesday, June 08, 2005 11:20 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Invoking UniData  running a program

Unfortunately I don't always want to quit the login if running on the
console, I'd only want to do it if the original udt command was followed
by something.  

Regards,
 
George Land
Technical Director
APT Solutions Limited
www.aptsolutions.co.uk 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manu Fernandes
Sent: 08 June 2005 18:04
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Invoking UniData  running a program

You can add this sentence into the LOGIN procedure
001 PA
002 IF @TTY = 'Console' THEN GO END.OF.LOGIN
003 ...
004 END.OF.LOGIN:

Manu Fernandes 
- Original Message - 
From: George Land [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Wednesday, June 08, 2005 6:38 PM
Subject: [U2] Invoking UniData  running a program


 We sometimes use the syntax 'udt programname' from the Windows command
 line to run a program.  This usually works fine except on one machine
 (6.0.12 on Windows) where it runs the LOGIN as though we had just done
 'udt'.
 
 
 
 Does anyone know if there is an option to control this (I can't see
 one)?
 
 
 
 Regards,
 
 
 
 George Land
 
 Technical Director
 
 APT Solutions Limited
 
 www.aptsolutions.co.uk http://www.aptsolutions.co.uk
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/