RE: [U2] GCI

2005-01-25 Thread Bob Witney
I use the GCI to call C programs to talk to our middleware to talk to our Bank Its easy to build and once the C routine is in place no problem The you just call from basic as it is were any subroutine Why change people going to the Unix when you can control them with the programs Bob

Re: [U2] UO.Net and UniDynArray

2005-01-25 Thread brian
I have the nagging suspicion that UO.Net needs an open session to execute 'Oconv', Iconv' etc on the server through a call. I hope this is not true. Surely it must. - running a date conversion - it needs to know the locale information (DATE.FORMAT). - running an Oconv with a T Conversion

Re: [U2] Terminal Servers

2005-01-25 Thread u2
[EMAIL PROTECTED] wrote: Happy Australia Day ! HP-UX 11i, UV10. We currently use HP DTCs (Datacommunications and Terminal Controllers) to provide both connectivity for dumb terminals, and binary or ASCII I/O for various black boxes, PCs and printers under the control of daemons. HP are

RE: [U2] Terminal Servers

2005-01-25 Thread Anthony Dzikiewicz
We are using digi portservers. They should work for terminals and printers (any serial port application). We are running linux. As a matter of fact, I've been buying them from ebay for $25 - $50 dollars. The drivers are downloadable from digi's site. There support is also pretty good. If you

RE: [U2] GCI

2005-01-25 Thread Rex Gozar
GCI works fine for calling C routines from Universe. At a previous employer, we used it to call our own socket libraries before IBM released their own socket functions. The up side is that you can code some very powerful routines that run a lot faster than shelling down to run commands. The

RE: [U2] Terminal Servers

2005-01-25 Thread André Nel
I agree with Anthony around the Digi Portservers. We use them on AIX and they work like a charm for both serial terminals and printers. Configuration is also very easy. Andre -Original Message- From: Anthony Dzikiewicz [mailto:[EMAIL PROTECTED] Sent: 25 January 2005 01:27 PM To:

RE: [U2] [UV] Run phantom as another user

2005-01-25 Thread Baakkonen, Rodney
I am looking at this AUTHORIZE statement in Unidata. I am not able to compile a program using it and cannot find anything in the manuals about it. Is this a Universe sql only extension to Basic? -Original Message- From: David Jordan [mailto:[EMAIL PROTECTED] Sent: Monday, January 24,

Re: [U2] Universe 10 fnuxi problem

2005-01-25 Thread Terry Stennette
At O/S level, enter uvbackup with no arguments. A display of arguments should show a '-notag' option. /usr/uv/bin/uvbackup Version 9) uvbackup [options] [file(s)] -b blk block size (defaults to BLKMAX) -d daily backup -f full backup

RE: [U2] [UV] Run phantom as another user

2005-01-25 Thread graham.forbes
I think I have this problem as well. I have a SQL command which works when I run it, but when my RedBack phantom run's it it fails with : Error text is [Ardent][SQL Client][ODBC][Microsoft][ODBC Driver Manager] Co nnection not open Anyone know how to run a Unidata subroutine as someone else? I

RE: [U2] [UV] Run phantom as another user

2005-01-25 Thread Mike Randall
Why not GRANT the other user access to whatever it is? And if you are using Redback, why do you need SQL anyway? ADO? Mike R. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, January 25, 2005 1:10 PM To:

RE: [U2] [UV] Run phantom as another user

2005-01-25 Thread Lee Beel
If you are on a unix box you should be able to run a cron daemon. Lee [EMAIL PROTECTED] 01/25/05 10:09AM I think I have this problem as well. I have a SQL command which works when I run it, but when my RedBack phantom run's it it fails with : Error text is [Ardent][SQL

RE: [U2] [UV] Run phantom as another user

2005-01-25 Thread David Jordan
Unfortunately UniData does not use the AUTHORIZE statement, but it would probably be a good option to add. It is not a SQL extension, it changes the access rights of the program. So a user who may not have write access to a file, can run a program that can write to the file. Regards David

Re: [U2] [UV] Run phantom as another user

2005-01-25 Thread Ray Wurlod
You can use the SET.REMOTE.ID command to establish credentials on the remote system for UV/Net. I don't know whether that would work on an NFS mount; I suspect not. If you want to start from the operating system, then it's relatively easy - simply log in as the other user ID and start the

RE: [U2] [UV] Run phantom as another user

2005-01-25 Thread graham.forbes
Sorry, should have said I am using BCI Connect SQL to extract data from an Oracle database into Unidata. Works as me, but not when executed from a RedBack phantom which has been started by someone else. Graham Forbes Trading Systems BT Consulting Systems Integration -Original

RE: [U2] [UV] Run phantom as another user

2005-01-25 Thread David Jordan
You can make an SQL call to a subroutine on a remote server. You can set the SQL Connect statement with a different user name and password. Bind the Parameters for the Subroutine and then Call it. The code below may give you some idea. Regards David Jordan 0019: UID = USERNAME 0020:

RE: [U2] [UV] Run phantom as another user

2005-01-25 Thread Mike Randall
Still curious about BCI. Not up on BCI but if you have Redback that means you are using a web interface. That means you can easily access Oracle and U2 at the same time. Not sure of your app but I'd have an ASP or ASP.NET program that opened U2 and Oracle for all the 2=way data exchanging I

RE: [U2] [UV] Run phantom as another user

2005-01-25 Thread George Gallen
ok. Is this unix? and can the command be run from unix? If so, then set it up as a sudo command, and have sudo run it as the other user, I do that for my PORT.STATUS, with UV10, PORT.STATUS only returns your processes unless your root. So I setup a sudo command to run PORT.STATUS as root,