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 programming

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 a

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 iis web server

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 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

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
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-17 Thread Charles_Shaffer
: Subject:Re: [U2] Setting return code when a Universe process terminates 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

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

2008-11-17 Thread Symeon Breen
)==!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 process terminates We do

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

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

2008-11-17 Thread George Gallen
: [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 We do something similar here. In a UNIX shell script we 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 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 to