RE: [U2] Setting return code when a Universe process terminates

2008-11-18 Thread Charles_Shaffer
Tony Said: >> Charles, you may be interested in mvExec. mvNet looks interesting, but we use Linux for all of our web servers. I could see it being useful for direct access from a Windows desktop though. Charles Shaffer Senior Analyst NTN-Bower Corporation --- u2-users mailing list u2-users@

RE: [U2] Setting return code when a Universe process terminates

2008-11-18 Thread Charles_Shaffer
Thanks Tony. I'll check it out. Charles Shaffer Senior Analyst NTN-Bower Corporation --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2] Setting return code when a Universe process terminates

2008-11-18 Thread Tony G
> From: Charles_Shaffer > I am interested in finding a way to get to the U2 data > more directly than we do currently, which is using a > Java Bridge and Uniobjects for Java. Charles, you may be interested in mvExec. It will execute any command or program on any MV system from anywhere in your

RE: [U2] Setting return code when a Universe process terminates

2008-11-18 Thread Charles_Shaffer
That is similar to what we are doing now, wxcept the web server is Linux so I use XMLHttpRequests to call a PHP module that calls a Java routine that uses Uniobjects for Java to get the results from Unidata. An open source product called JavaBridge is used to allow php to call Java. Works well

RE: [U2] Setting return code when a Universe process terminates

2008-11-18 Thread Charles_Shaffer
Symeon, Thanks. I'll check it out. Charles Shaffer Senior Analyst NTN-Bower Corporation --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2] Setting return code when a Universe process terminates

2008-11-18 Thread Symeon Breen
PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 18 November 2008 14:46 To: u2-users@listserver.u2ug.org Subject: RE: [U2] Setting return code when a Universe process terminates >> Using whatever programming language you run to power your iis web site >> asp/asp.net/php etc. Or your ii

RE: [U2] Setting return code when a Universe process terminates

2008-11-18 Thread Symeon Breen
:46 To: u2-users@listserver.u2ug.org Subject: RE: [U2] Setting return code when a Universe process terminates >> Using whatever programming language you run to power your iis web site >> asp/asp.net/php etc. Or your iis web server dishes up static html which has >> a script it

RE: [U2] Setting return code when a Universe process terminates

2008-11-18 Thread Charles_Shaffer
>> Using whatever programming language you run to power your iis web site >> asp/asp.net/php etc. Or your iis web server dishes up static html which has >> a script it in that contacts the u2 server via ajax. . I appreciate your patience. I'm relatively new to AJAX. I am interested in finding

RE: [U2] Setting return code when a Universe process terminates

2008-11-18 Thread Symeon Breen
>> So the client browser requests a page from the IIS server and the IIS >> server requests myPage.php from the U2 server which causes the PHP >> processor on the U2 server to make the exec call to the UniBasic program. >> How do you normally make the page request from IIS? Using whatever progr

RE: [U2] Setting return code when a Universe process terminates

2008-11-17 Thread Charles_Shaffer
>> So no rexec but to do it remotely you just call the web page >> from your other app/website/javascript etc. So the client browser requests a page from the IIS server and the IIS server requests myPage.php from the U2 server which causes the PHP processor on the U2 server to make the exec call

RE: [U2] Setting return code when a Universe process terminates

2008-11-17 Thread Symeon Breen
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 17 November 2008 17:22 To: u2-users@listserver.u2ug.org Subject: RE: [U2] Setting return code when a Universe process terminates Symeon, Nice. Since exec is used, your U2 server must also be your web server

RE: [U2] Setting return code when a Universe process terminates

2008-11-17 Thread George Gallen
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > [EMAIL PROTECTED] > Sent: Monday, November 17, 2008 10:09 AM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] Setting return code when a Universe process > terminates > >

RE: [U2] Setting return code when a Universe process terminates

2008-11-17 Thread Charles_Shaffer
Symeon, Nice. Since exec is used, your U2 server must also be your web server, right? In our environment here, the U2 server is a different machine than the web server. I wonder, is there and rexec equivalent in PHP and has anyone done this remotely? > $udtCmd="LANG=en_US.UTF-8;export LANG

RE: [U2] Setting return code when a Universe process terminates

2008-11-17 Thread Symeon Breen
(substr($v,0,6)=="!stat="){ $stat=substr($v,6,10); } } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 17 November 2008 15:09 To: u2-users@listserver.u2ug.org Subject: Re: [U2] Setting return code when a Universe p

Re: [U2] Setting return code when a Universe process terminates

2008-11-17 Thread Charles_Shaffer
ion [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 11/17/2008 07:20 AM Please respond to u2-users To: u2-users@listserver.u2ug.org cc: Subject: Re: [U2] Setting return code when a Universe process terminates Ian, I tried for a long time to figure out a way

Re: [U2] Setting return code when a Universe process terminates

2008-11-17 Thread bradley . schrag
Ian, I tried for a long time to figure out a way to do this entirely from within UD. Couldn't figure it out. I hit two walls. First, the exit code that nix receives is the status of the udt command. If you're program runs at all, you get a '0'. The second wall was when I tried setting an enviro