RE: [U2] wIntegrate Editor question

2005-02-09 Thread Adrian Matthews
Try putting a blank line at the end. Sounds daft but we have the same problem and that fixes it for us. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Plummer Sent: 08 February 2005 17:22 To: u2-users@listserver.u2ug.org Subject: [U2] wIntegrate

RE: [U2] Universe to Web interface

2005-02-09 Thread Adrian Matthews
Works fine for me. Are you sure you don't have anything in the LOGIN of the account that might be kicking a non-telnet session out? Try doing this. C:\ibm\uv\bin\uvsh LIST VOC output.txt Output.txt should contain a listing of your VOC file. -Original Message- From: [EMAIL PROTECTED]

Re: [U2] Universe to Web interface

2005-02-09 Thread Mats Carlid
Will, are You sure that Your .bat gets called at all ? You may have missed sthg basic. Details may be different under windows but normally you Set up a form round the button form method=post action= xxx.bat Then place the xxx.bat where the webserver expects scripts normally a directory

=?iso-8859-1?Q?Re:_[U2]_Universe_to_Web_interface?=

2005-02-09 Thread brian
Will, I still don't get why you want to use a BAT file to do this at all. IF you're using IIS, you should really be using ASP. The simplest way is to load UniObjects onto the web server, and just use that from some very simple asp code, e.g.: html body % Dim Sess, Subr, Text Set Sess =

RE: [U2] Universe to Web interface

2005-02-09 Thread Alfke, Colin
Yes, from the Win2000 help: Call Calls one batch program from another without causing the parent batch program to stop. The call command now accepts labels as the target of the call. In this case UDT is in the path, so if the UV/UVSH isn't in your path you would need the full path. If you are

[U2][UV] - Keeping subroutines in memory

2005-02-09 Thread Nick Cipollina
We have a phantom process running on several of our UniVerse servers that we use to do updates to various accounts. This process calls a subroutine that actually performs the updates. Before it calls this subroutine, it calls another subroutine to see if there are any updates for the update

Re: [U2][UV] - Keeping subroutines in memory

2005-02-09 Thread Ed Weissman
Remove the arguments (if there are any) and put them on a data base file. Then make the subroutine a program that reads that data from the file. EXECUTE it, don't CALL it. - Original Message - From: Nick Cipollina [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Wednesday,

Re: [U2] Universe to Web interface

2005-02-09 Thread vforste
The @ in a bat file supresses the command from display. Like echo off. Write a simple MV program and call it Hello in your account. BP HELLO PRINT HELLO END In the batch file change the directory to that account then execute uvsh like below c:\ibm\uv\bin\uvsh RUN BP HELLO You should see the

Re: [AD] [U2] Universe to Web interface

2005-02-09 Thread Ian Renfrew
Will, Similiar to Brian's solution, I use JScript for U2 which utilizes UniObjects from the client instead of from the web server via ASP. This solution assumes that you have UniObjects installed on the client machine and JScript for U2 installed on the web server. The following HTML code:

Re: [U2][UV] - Keeping subroutines in memory

2005-02-09 Thread Gordon J Glorfield
Nick, The only way to do what you want it to bump the phantom. That means you will have to stop the phantom and restart it to get it to use the new version of the subroutine. This, of course assumes there is some mechanism built into the phantom to easily stop and restart it. HTH, Gordon

RE: [U2][UV] - Keeping subroutines in memory

2005-02-09 Thread Cordes, Tom (contractor)
Nick, Have the phantom start another instance of itself then die? Tom Cordes, GFM project. -Original Message- From: Nick Cipollina [mailto:[EMAIL PROTECTED] Sent: February 09, 2005 9:06 AM To: u2-users@listserver.u2ug.org Subject:[U2][UV] - Keeping subroutines in

RE: [U2][UV] - Keeping subroutines in memory

2005-02-09 Thread Ed Clark
I'm guessing that your phantom is always running, as opposed to being started regularly from cron? You could try something like this: PROGRAM UPDATE.PROGRAM CALL UPDATE.SUB(PARAMS) SLEEP 60 CHAIN UPDATE.PROGRAM -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: [U2][UV] - Keeping subroutines in memory

2005-02-09 Thread Rod Hills
What if the program executes a chain to itself. Chain will terminate the current basic program and execute what ever universe command (or program) you supply. HTH -- Rod Hills -Original Message- From: Nick Cipollina [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 6:06 AM

RE: [U2][UV] - Keeping subroutines in memory

2005-02-09 Thread Kevin King
Universe doesn't have anything comparable to Unidata's NEWPCODE? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gordon J Glorfield Sent: Wednesday, February 09, 2005 8:28 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2][UV] - Keeping subroutines in

RE: [U2][UV] - Keeping subroutines in memory

2005-02-09 Thread Nick Cipollina
Yes, I had thought of doing this, but I was hoping there was some way to clear the subroutine from memory in the phantom, or force the phantom to pick the subroutine back up from the catalog space. Thanks, Nick Cipollina -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [U2][UV] - Keeping subroutines in memory

2005-02-09 Thread Nick Cipollina
Yeah, I thought of CHAINing another phantom. Thanks, Nick Cipollina -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cordes, Tom (contractor) Sent: Wednesday, February 09, 2005 10:33 AM To: 'u2-users@listserver.u2ug.org' Subject: RE: [U2][UV] -

RE: [U2] Universe to Web interface

2005-02-09 Thread Glen B
Stewart, Socket implementations don't work across flavors. I've written many socket apps for D3, but even the small differences in the socket designs between Win and *nix causes problems. Sockets are easy to implement, but only if you want to maintain separate code-sets for Win and *nix under

RE: [U2] Universe to Web interface

2005-02-09 Thread Kevin P Lynch
Glen, The UV socket server interface works the same in Unix and Windows, I have server programs running in both environments with no changes. Kevin Lynch The Systems House -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Glen B Sent: Wednesday, February

Re: [U2] Universe to Web interface

2005-02-09 Thread FFT2001
In a message dated 2/9/2005 5:34:48 AM Pacific Standard Time, [EMAIL PROTECTED] writes: I still don't get why you want to use a BAT file to do this at all. IF you're using IIS, you should really be using ASP. I don't. Here is what I want From a web page, click on something, which in ANY

RE: [U2] Universe to Web interface

2005-02-09 Thread Glen B
Must be nice. I wish that capacity existed in every flavor. It would make the integration world a breeze. Well my real question would be; is the service external or internal? I'd be interested in knowing how the socket service is laid out. Do you have to manage connections yourself? How are

Re: [U2] Universe to Web interface

2005-02-09 Thread BobJ
The blink and quit might be the lack of a request to press a key. When the CMD command finishes - well, it finishes and is gone. (CMD is what is really running on W 200 and later instead of the earlier cmd.com. WSH would be running if you had an extension of .VBS instead of .BAT). BobJ -

Re: [U2][UV] - Keeping subroutines in memory

2005-02-09 Thread FFT2001
In a message dated 2/9/2005 8:02:04 AM Pacific Standard Time, [EMAIL PROTECTED] writes: Yes, I had thought of doing this, but I was hoping there was some way to clear the subroutine from memory in the phantom, or force the phantom to pick the subroutine back up from the catalog space. There

RE: [U2] Universe to Web interface

2005-02-09 Thread Wendy Smoak
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 11:30 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Universe to Web interface In a message dated 2/9/2005 5:34:48 AM Pacific Standard

RE: [U2] Universe to Web interface

2005-02-09 Thread Kevin P Lynch
you manage the connections from basic, the whole interface is a set of basic extensions. basically you open a socket on a port , accept a connection on that socket and write to the socket. here is the appropriate manual : http://publibfi.boulder.ibm.com/epubs/pdf/25119080.pdf -Original

RE: [U2] Universe to Web interface

2005-02-09 Thread Dave Walker
Wouldn't a php interface to U2 be nice? Then we could have LAUP instead of LAMP. Or some such. Python would be gravy too. -- Dave Walker 8..7 4(()) -::- -::-8.74 .74(()) ((88.74 ..74 -::- ((88.74 * Peace -Original

Re: [U2] Universe to Web interface

2005-02-09 Thread vforste
Forgot in my example I used Universe.session.1 as the object pointer. I was using UVDK2.0 to test it before I sent it out, on a newer version change the line. Set Sess = CreateObject(Universe.session.1) to Set Sess = CreateObject(UniObjects.UniOaifCtrl) It does not do anything with the output to

RE: [U2] Universe to Web interface

2005-02-09 Thread Wendy Smoak
Dave Walker wrote: Wouldn't a php interface to U2 be nice? PHP to U2 through Java... http://www.pickwiki.com/cgi-bin/wiki.pl?PhpJavaIntegration Once upon a time I made a very brief start on a PHP Module for U2 using InterCall, but I only know a little bit of C, and the highly preprocessed

RE: [U2] Universe to Web interface

2005-02-09 Thread Ken Hall
If you are interested in a PHP interface to Universe using Intercall, please contact me. Ken Hall, I.T. Manager I.T. Manager Western States Electric Portland, Oregon [EMAIL PROTECTED] At 12:53 PM 2/9/2005, you wrote: Wouldn't a php interface to U2 be nice? Then we could have LAUP instead of

Re: [U2] Universe to Web interface

2005-02-09 Thread vforste
You can use php. You have to use COM... Example below ... html head titleTest Using Object/title /head body Attempting connect p ? // // Create COM object for UV object // $objUV = new COM(Universe.Session) or die(Unable to initiate UV Session); $objUV-HostName = machine;//

RE: [U2] Universe to Web interface

2005-02-09 Thread Robert Balousek
I currently use ASP with ODBC and/or UO to get data in an out of UV on IIS (Windows), and I've also played with JDBC in java on tomcat (Windows), but does anyone actually have it working in PHP on Apache for Linux? Robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [U2] Universe to Web interface

2005-02-09 Thread Chuck Mongiovi
Does the PHO interface work with UniData as well? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ken Hall Sent: Wednesday, February 09, 2005 4:35 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Universe to Web interface If you are interested in a

RE: [U2] Universe to Web interface

2005-02-09 Thread Glen B
Kevin, I read through the PDF. However, it is not clear on how the handles can be used. A lot of the API's I've seen have the same level of functionality, but they all lack the ability to pass handles from the acceptor process to a totally separate user process. This isn't really an issue of

[U2] UniBasic CRLF over NFS mount

2005-02-09 Thread Amy Cook
I'm building a flat file in UniBasic on a unix system, then writing it to an NFS mount point. The file attributes are interpreted as CRLF's when I ftp the file over to the windows system, but when I write or move the file over to the NFS mount, the attributes are only separated by unrecognizable

RE: [U2] UniBasic CRLF over NFS mount

2005-02-09 Thread Kevin P Lynch
is this universe ? try putting ASSIGN 1 to SYSTEM(1017) immediately before the write , this tells universe not to convert the record when writing. there is a comparable statement in Unidata but I don't recall it. Kevin Lynch -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [U2] Universe to Web interface

2005-02-09 Thread vforste
I don't think it would work on *nux... As far as I know the UV objects is only for a windows client. The may be a *nix version that I am unaware of, but if there is not then the answer would have to be no it does not work. Vance - Original Message - From: Richard Wilson [EMAIL PROTECTED]

RE: [U2] UniBasic CRLF over NFS mount

2005-02-09 Thread Amy Cook
It is unidata, but I'll see if I can find the equivalent... Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin P Lynch Sent: Wednesday, February 09, 2005 3:47 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] UniBasic CRLF over NFS mount

Re: [U2] Universe to Web interface

2005-02-09 Thread vforste
Glen, I have'nt done extensive research on it, but from the samples provided by IBM using a dimensioned array, I believe UV would manage the forking off the sockets itself. Don't quote me on this though. I'll dig out the sample I have and send it on to ya... If you want you can test it out on

RE: [U2] Universe to Web interface

2005-02-09 Thread Adrian Matthews
How would you pass a socket handle to a new process though? I can see ways of doing it by calling subroutines, but how for a completely new process? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 10 February 2005 00:35 To:

Re: [U2] Universe to Web interface

2005-02-09 Thread Christophe Marchal
Hi, You can also use swig (www.swig.org) to generate wrapper around the intercall library (uvic32.dll or uvic.so). Intercall is a C library with all functonality to communicate with a U2 server. Swig is a tool that can generate wrapper for C library for a lot of langage included php. I used it