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
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: u2-user
When your phantom determines that the subroutine has been altered just
EXECUTE another program.
We've actually created a program called DO.NOTHING for this purpose (all
it does is return).
This causes Universe to reset it's call cache.
We're running in PI/Open flavour. I tried it in a PICK flavo
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 my
There should be a ux2dos or unix2dos program in the operating system you can
use to convert cr to crlf. Example: cat foo.txt| ux2dos > new.txt ; mv new.txt
foo.txt
You can execute this statement from your basic program etc...
-Original Message-
From: [EMAIL PROTECTED] <[EMAIL PROTECTE
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
is
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 PROTECTE
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 PROT
Robert - Contact me off line. We have implemented a complete port of
Intercall in PHP and have it running with an APACHE server on Linux. We
have offered it to IBM, but got no response from the U2 project manager. We
would love to see it widely available and used. See me pervious email for
ad
Does this work for both Windows and Linux?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, 10 February 2005 8:45 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Universe to Web interface
You can use php. You have to use COM...
Example below ...
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 c
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 t
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 PHP
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 PROTECTED
You can use php. You have to use COM...
Example below ...
Test Using Object
Attempting connect
HostName = "machine";// Universe Host
$objUV->AccountPath = "ACCT"; // Universe Account Name/Path
$objUV->UserName = "user";// System Login
$objUV->Password = "pwd"; // Password
I had requested this (php hooks) from IBM support. They opened
engineering Ecase 6922 - Maybe we will get it some day.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Walker
Sent: Wednesday, February 09, 2005 2:53 PM
To: 'u2-users@listserver.u2ug.org'
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
LAMP.
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 ver
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
[EMAIL PROTECTED] wrote:
> Here is what I want "From a web page, click on something,
> which in ANY
> fashion reaches into Universe and displays the results on
> that web page."
Getting data out of Universe onto a web page for free is going to
require learning another language-- ASP (VB?), JSP
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 M
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 Mess
Will,
I've seen quite a few examples. All of which work and are free if you have a
Universe license.
UniObjects is part of the UDK installation and a batch file well it's a
batch file.
I've seen atleast 5 examples go by... A couple showing how to use the uvsh
and UniObjects. But if you are going t
> -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 St
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.
Ther
Will - this is what 'web servers' do.
Good ones that are integrated with multivalue (that I know of) are typically
not free.
Steve T
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005 12
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
-
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 soc
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
fa
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
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
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] - Keeping
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
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 PROTECT
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
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
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 memo
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
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:
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 t
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:
Sent: Wednesday, February 09, 2005 9:06 AM
Subje
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 subro
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
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.:
<%
Dim Sess, Subr, Text
Set Sess = CreateObject
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
Then place the xxx.bat where the webserver expects scripts
normally a directory 'cgi-bin'and make sure the scri
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
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 Edito
47 matches
Mail list logo