MVInternet (was: Re: Uniobjects / php)
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Here's my expertise: > 1) Pick BASIC > 2) I can write HTML and I wrote a few javascripts! > 3) I setup Apache as a web server Then Pixius' product is *perfect* for you, that's all you need. Using exactly that, we had both a reporting front-end (read-only) and one that was read-write for users to enter records into a handful of files. If we knew then what we know now, we might still be using it, but we didn't design it very well and it became difficult to maintain. That was *our* fault, and perhaps an inherent issue with procedural programming where all variables are global-- the usual gripes about UniBasic coming from an object-oriented programmer. > But the problem has always been the equivalent of what > mvInternet does. That is, connect Apache to Universe. So > you have another idea of how to connect Apache (or really any > other page server) to Universe? I don't understand what > "open port 80" means or whether this actually allows Apache > to talk directly to Universe or whatever. What do you not like about MVInternet? I didn't do the original setup, but you need to configure Apache so that it does CGI, probably by installing a module (?). Then you place "mvi.exe" in the cgi-bin directory, it has a config file to tell it what to connect to, and it basically "logs in" with a telnet session and runs UniBasic programs at the colon prompt. The output of those (whatever you CRT to the "screen", which is now HTML instead of columns of data) gets captured, you tell it to swap [TOKEN.NAMES] with the values that you set up in two dynamic arrays, and it sends the resulting HTML out to the browser. I think there's a trial version, grab it and ask if you have any questions. Port 80 is the default HTTP ("web") port. It's what you connect to when you type http://www.example.com. Sometimes you will see a URL like http://www.example.com:8081 where the number after the colon is a different port number. If you have a URL starting with https:// it is going to port 443, the default SSL port. Apparently you can use CallHTTP to answer requests directly from UniVerse. I would not expose a port on my production database server to the internet, however! -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Uniobjects / php
OOPS my nice looking cut and paste thingy didn't stick: [EMAIL PROTECTED] wrote: But the problem has always been the equivalent of what mvInternet does. That is, connect Apache to Universe. So you have another idea of how to connect Apache (or really any other page server) to Universe? I don't understand what "open port 80" means or whether this actually allows Apache to talk directly to Universe or whatever. Will One way is by CGI-scripts: In cgi-bin ( or whatever Your Apache stores them see Apache config ) place a shell script like: #!/bin/ksh echo Content-type: text/html echo read form echo $form >> /var/apache/log.form cd /my/account /u1/uv/bin/uv "my.para $form" | tee log.answer ( the echo $form and the | tee log.answer is only for debugging ) And you may want to concatenate some environment variables from apache like $REMOTE_HOST to the form. my.para should start a program that interpretes the forms content ( wich it will find in @COMMAND ) and call the application routines. Whatever is printed to std output from within these will be forwarded to the browser. The format of $form above is variable1=value1&variable2=value2&... where the values have a few characters encoded as %xx (ascii hexadecimal) e.g. space, equals, ampersand. The html form must be type 'POST' and have an action='myscript' in the form tag refering to the shell script in cgi-bin. Now there are only some minor details left as figuring out how to preserve session level data and setting up rules for translating form fields to u2 actions and ... writing the application :^ ) We have used this approach on netscape and apache http-servers. cheers / mats -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Uniobjects / php
[EMAIL PROTECTED] wrote: But the problem has always been the equivalent of what mvInternet does. That is, connect Apache to Universe. So you have another idea of how to connect Apache (or really any other page server) to Universe? I don't understand what "open port 80" means or whether this actually allows Apache to talk directly to Universe or whatever. Will One way is by CGI-scripts: In cgi-bin ( or whatever Your Apache stores them see Apache config ) place a shell script like: ( the echo $form and the | tee log.answer is only for debugging ) And you may want to concatenate some environment variables from apache like $REMOTE_HOST to the form. my.para should start a program that interpretes the forms content ( wich it will find in @COMMAND ) and call the application routines. Whatever is printed to std output from within these will be forwarded to the browser. The format of $form above is variable1=value1&variable2=value2&... where the values have a few characters encoded as %xx (ascii hexadecimal) e.g. space, equals, ampersand. The html form must be type 'POST' and have an action='myscript' in the form tag refering to the shell script in cgi-bin. Now there are only some minor details left as figuring out how to preserve session level data and setting up rules for translating form fields to u2 actions and ... writing the application :^ ) We have used this approach on netscape and apache http-servers. cheers / mats -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Uniobjects / php
Well, if your webserver is on a windows, you could use Uniobject for windows (OLE). Or maybe you could use the bridge to java to use UniObject for java... But, I'm working on an interface of Intercall to python using SWIG, and it seems to work very well, both on windows and linux. And I know that SWIG can generated interface from a "dll" to a lot of langage, and php is one of these targets. check www.swig.org Christophe David Katz wrote: Does anyone know if they have uniobjects for php? Thanks David. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Uniobjects / php
In a message dated 4/20/2004 3:12:12 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: > Do you have a specific project in mind? There are at least half a dozen > ways to get U2 data to appear on a web page, the "best" way depends on > what expertise you already have in-house and how complex > the problem is. > > -- > Wendy Smoak > Application Systems Analyst, Sr. > ASU IA Information Resources Management > -- Here's my expertise: 1) Pick BASIC 2) I can write HTML and I wrote a few javascripts! 3) I setup Apache as a web server But the problem has always been the equivalent of what mvInternet does. That is, connect Apache to Universe. So you have another idea of how to connect Apache (or really any other page server) to Universe? I don't understand what "open port 80" means or whether this actually allows Apache to talk directly to Universe or whatever. Will -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects / php
Yes, I've played with it -- no production work and yes, Apache's axis is THE way I'd do web services (were I to have such a project on my plate right now). --dawn Dawn M. Wolthuis Tincat Group, Inc. www.tincat-group.com Take and give some delight today. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Boydell Sent: Tuesday, April 20, 2004 5:54 PM To: U2 Users Discussion List Subject: RE: Uniobjects / php > Behalf Of Dawn M. Wolthuis > > The fastest, bestest, free way I know to have html<-->U2 with update > capability is by using tomcat for a web server (or at least for an app > server, i.e. a servlet container), then UOJ classes with Java. > > Client: Web Browser, with html / jsp > Http Server: Requires a servlet container, such as tomcat, this > is where the > Java classes including UOJ classes run > Database Server: U2 > > It works. See pickwiki.com (or .org?) > You could use Jython, in theory, although I haven't tried that. --dawn > Have you used Axis at all - would you consider throwing that into the mix too for Web Services? http://ws.apache.org/axis/ Stuart ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects / php
> Behalf Of Dawn M. Wolthuis > > The fastest, bestest, free way I know to have html<-->U2 with update > capability is by using tomcat for a web server (or at least for an app > server, i.e. a servlet container), then UOJ classes with Java. > > Client: Web Browser, with html / jsp > Http Server: Requires a servlet container, such as tomcat, this > is where the > Java classes including UOJ classes run > Database Server: U2 > > It works. See pickwiki.com (or .org?) > You could use Jython, in theory, although I haven't tried that. --dawn > Have you used Axis at all - would you consider throwing that into the mix too for Web Services? http://ws.apache.org/axis/ Stuart ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects / php
The fastest, bestest, free way I know to have html<-->U2 with update capability is by using tomcat for a web server (or at least for an app server, i.e. a servlet container), then UOJ classes with Java. Client: Web Browser, with html / jsp Http Server: Requires a servlet container, such as tomcat, this is where the Java classes including UOJ classes run Database Server: U2 It works. See pickwiki.com (or .org?) You could use Jython, in theory, although I haven't tried that. --dawn Dawn M. Wolthuis Tincat Group, Inc. www.tincat-group.com Take and give some delight today. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 1:47 PM To: U2 Users Discussion List Subject: Re: Uniobjects / php In a message dated 4/20/2004 2:20:23 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: > Not that I'm aware of, but if you're brave you can convince UniObjects > for Java and PHP to work together. Look on > http://www.pickwiki.com for > more information, at least two of us here have done it. So are you saying that with Universe, Uniobjects and Java only I can have a web presence directly talking to my Universe database? Is that what you're saying? Will -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects / php
If you want to play around with PHP interacting with the Universe environment in an extremely simple way you can try the stuff below. Note that I dont recommend this methodology for production systems but its a good simple example. The following stuff will execute any Universe command/cataloged program, pass it data via the command line, and display the results. Assumptions: You have a universe account setup as uvtest under your web root on a machine running apache/php. The lister.html and lister.php files will reside in the uvtest Universe account directory. First create an html file (lister.html) containing a form to collect our program name and any data to be passed to it. Here is my html: Generic UV Process Runner Lets Run A Universe Process Program Name Some Data Now create our PHP file (lister.php): Uvtest "; } ?> Point your browser to Http://localhost/uvtest/lister.html and happily execute anything you can do from a UV command line. I first tested this with "LIST VOC SAMPLE 5" as the program name and no data entered. If you construct programs which take command line input and output html code you can pretty much create a whole application which uses "lister.php" as a generic data mover. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects / php
> David, > I'd be interested in this answer as well. I assume you saw my original reply about using the PHP->Java extension with UOJ. However, since PHP extensions seem to be written in some strange version of highly pre-processed C code, I did actually embark on writing a U2 extension for PHP, sitting on top of InterCall. Unfortunately I'm not a C programmer, and I got repeatedly stuck and frustrated trying to get it to compile and work. It did look very possible, and someone who knows C and PHP could most likely make short work of it. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects / php
Will wrote: > So are you saying that with Universe, Uniobjects [for Java] and Java only > I can have a web presence directly talking to my Universe database? > Is that what you're saying? Your list appears to be missing a web server (and probably a Servlet Container if you go the UniObjects for Java route) but yes, it's certainly possible. It *can* all run on the same server, if you want. (I wouldn't...) I've had a web front-end on a UniData database for ages now, the users love it. (For some reason they hate to "log in" to the telnet app, but will happily click on a link and type the exact same userid/password pair when prompted from the web interface. Go figure.) I would not recommend the PHP->Java extension for use in production until someone more knowledgeable than I am in C and PHP takes a look at it, but it did at least work. You don't even need all that... You can open port 80 on the database server and serve content from there, (see above!) or get something like MVInternet from Pixius and stay completely in UniBasic and HTML. Our first web presence was done with MVInternet, and it was just retired this past weekend in favor of another Struts-based Java web application. Do you have a specific project in mind? There are at least half a dozen ways to get U2 data to appear on a web page, the "best" way depends on what expertise you already have in-house and how complex the problem is. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects / php
Juniata College is using PHP and ODBC. Saw them demo at Datatel User Group. HTH Debra >>> [EMAIL PROTECTED] 04/20/04 02:20PM >>> > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of David Katz I don't know if anyone is using it in production-- the PHP->Java extension was still marked experimental last time I looked, and I was not able to get any help from the developer. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Uniobjects / php
David, I'd be interested in this answer as well. -- Sincerely, Charles Barouch www.KeyAlly.com [EMAIL PROTECTED] David Katz wrote: Does anyone know if they have uniobjects for php? Thanks David. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Uniobjects / php
In a message dated 4/20/2004 2:20:23 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: > Not that I'm aware of, but if you're brave you can convince UniObjects > for Java and PHP to work together. Look on > http://www.pickwiki.com for > more information, at least two of us here have done it. So are you saying that with Universe, Uniobjects and Java only I can have a web presence directly talking to my Universe database? Is that what you're saying? Will -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects / php
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of David Katz > Does anyone know if they have uniobjects for php? Not that I'm aware of, but if you're brave you can convince UniObjects for Java and PHP to work together. Look on http://www.pickwiki.com for more information, at least two of us here have done it. In my case, they decided to go with InterCall instead, they had more C experience than Java. I don't know if anyone is using it in production-- the PHP->Java extension was still marked experimental last time I looked, and I was not able to get any help from the developer. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Uniobjects / php
Does anyone know if they have uniobjects for php? Thanks David. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UniObjects
Have a look at the subkey property on the session object. You will need to alter this to be unique (after every 10 connections). HTH. Regards, Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Vezertzis Sent: Monday, April 19, 2004 5:57 PM To: [EMAIL PROTECTED] Subject: UniObjects We are having a UniObject dilemma and wanted to see if anyone has had a similar problem and/or resolution. When making a call into Universe, via UniObjects, we are seeing a session limit of 10 sessions. Obviously, this is the 10 spawn max on enterprise or ip-based Universe licenses. We were under the impression that when license 1 had spawned 10 sessions, then we would roll to license 2 and so forth, until we reached the max licenses available. Has anyone come across this problem? Thanks, Kevin -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
UniObjects
We are having a UniObject dilemma and wanted to see if anyone has had a similar problem and/or resolution. When making a call into Universe, via UniObjects, we are seeing a session limit of 10 sessions. Obviously, this is the 10 spawn max on enterprise or ip-based Universe licenses. We were under the impression that when license 1 had spawned 10 sessions, then we would roll to license 2 and so forth, until we reached the max licenses available. Has anyone come across this problem? Thanks, Kevin -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UniObjects
I gave up on "coldconfusion" because the web pages created were simply a mess. Perhaps that was more of a problem with our developers than ColdFusion, but it just works better with ASP.NET or plain old .Net web forms. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James F Thompson Sent: Wednesday, April 07, 2004 5:26 PM To: 'U2 Users Discussion List' Subject: RE: UniObjects While we are discussing UniObject... has anyone out there had any luck with it and ColdFusion? We are having a problem with assigning a value to a dynamic array using the Field/Value method. Only the last value is retained in the array and it is always in the first attribute. James F Thompson Senior Systems Analyst Cypress Business Solutions, LLC 678.494.9353 Ext 6575 Fax 678.494.9354 [EMAIL PROTECTED] www.cypressesolutions.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Wurlod Sent: Wednesday, April 07, 2004 4:47 PM To: U2 Users Discussion List Subject: Re: UniObjects UniObjects does not use a sockets-based interface, so SSL and so on aren't relevant. Rather, UniObjects uses a proprietary interface built on an architecture called InterCall. The only "security" is a port number that's not used for anything else, and a check in the unirpcservices file about nodes permitted to access the uvcs/udcs service. In particular, no encryption is available within the product. - Original Message - From: "Kevin Vezertzis" <[EMAIL PROTECTED]> Date: Wed, 7 Apr 2004 14:53:23 -0400 To: <[EMAIL PROTECTED]> Subject: UniObjects > Does anyone have knowledge of how to handle secure communications from > UniObjects into Universe? (SSL, SSH, etc.) We are covered from end > user to UniObjects, but not from UniObjects to Universe. I haven't been > able to find any supporting documentation.. > > Thanks, > Kevin > > > Kevin D. Vezertzis > Project Manager > Cypress Business Solutions, LLC. > 678.494.9353 ext. 6576 Fax 678.494.9354 > > [EMAIL PROTECTED] > Visit us at www.cypressesolutions.com > > > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users > -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UniObjects
How about opening a PPTP link from the PCs that will connect to the server, then opening the TCP/IP uniObjects connection through the tunnel? Isn't that what Stunnel does anyway? Karl On Wed, 2004-04-07 at 15:16, James F Thompson wrote: > The transport layer between the two servers, Universe Database and > UniObject Client, is thru a TCPIP/socket; this is the network traffic > that we are trying to encrypt. > > Hiding the port or restricting the node access does not keep the packets > from being captured Has anyone tried using "Stunnel"? > > > James F Thompson > Senior Systems Analyst > Cypress Business Solutions, LLC > 678.494.9353 Ext 6575Fax 678.494.9354 > > [EMAIL PROTECTED] > www.cypressesolutions.com > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Ray Wurlod > Sent: Wednesday, April 07, 2004 4:47 PM > To: U2 Users Discussion List > Subject: Re: UniObjects > > UniObjects does not use a sockets-based interface, so SSL and so on > aren't relevant. > > Rather, UniObjects uses a proprietary interface built on an architecture > called InterCall. The only "security" is a port number that's not used > for anything else, and a check in the unirpcservices file about nodes > permitted to access the uvcs/udcs service. > > In particular, no encryption is available within the product. > > - Original Message - > From: "Kevin Vezertzis" <[EMAIL PROTECTED]> > Date: Wed, 7 Apr 2004 14:53:23 -0400 > To: <[EMAIL PROTECTED]> > Subject: UniObjects > > > Does anyone have knowledge of how to handle secure communications from > > UniObjects into Universe? (SSL, SSH, etc.) We are covered from end > > user to UniObjects, but not from UniObjects to Universe. I haven't > been > > able to find any supporting documentation.. > > > > Thanks, > > Kevin > > > > > > Kevin D. Vezertzis > > Project Manager > > Cypress Business Solutions, LLC. > > 678.494.9353 ext. 6576 Fax 678.494.9354 > > > > [EMAIL PROTECTED] > > Visit us at www.cypressesolutions.com > > > > > > > > -- > > u2-users mailing list > > [EMAIL PROTECTED] > > http://www.oliver.com/mailman/listinfo/u2-users > > -- Karl L. Pearson Director of IT, ATS Industrial Supply Direct: 801-978-4429 Toll-free: 888-972-3182 x29 Fax: 801-972-3888 http://www.atsindustrial.com [EMAIL PROTECTED] -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UniObjects
Kevin wrote: > Does anyone have knowledge of how to handle secure communications from > UniObjects into Universe? (SSL, SSH, etc.) We are covered from end > user to UniObjects, but not from UniObjects to Universe. I > haven't been able to find any supporting documentation.. We have firewalls in place which encrypt the traffic between the web server (which uses UniObjects for Java) and the database server. If you're going to do it that way, buy two for each end and configure them to fail over, we've been down WAY more times because one of the firewall appliances was misbehaving than due to a real problem with either of the servers. I assume the original post was about UniObjects-for-VB, but the UOJ manual does discuss using SSL. (Considering how much fun I had trying to get SSL working with CallHTTP, I am not planning to use it with UOJ.) -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UniObjects
While we are discussing UniObject... has anyone out there had any luck with it and ColdFusion? We are having a problem with assigning a value to a dynamic array using the Field/Value method. Only the last value is retained in the array and it is always in the first attribute. James F Thompson Senior Systems Analyst Cypress Business Solutions, LLC 678.494.9353 Ext 6575 Fax 678.494.9354 [EMAIL PROTECTED] www.cypressesolutions.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Wurlod Sent: Wednesday, April 07, 2004 4:47 PM To: U2 Users Discussion List Subject: Re: UniObjects UniObjects does not use a sockets-based interface, so SSL and so on aren't relevant. Rather, UniObjects uses a proprietary interface built on an architecture called InterCall. The only "security" is a port number that's not used for anything else, and a check in the unirpcservices file about nodes permitted to access the uvcs/udcs service. In particular, no encryption is available within the product. - Original Message - From: "Kevin Vezertzis" <[EMAIL PROTECTED]> Date: Wed, 7 Apr 2004 14:53:23 -0400 To: <[EMAIL PROTECTED]> Subject: UniObjects > Does anyone have knowledge of how to handle secure communications from > UniObjects into Universe? (SSL, SSH, etc.) We are covered from end > user to UniObjects, but not from UniObjects to Universe. I haven't been > able to find any supporting documentation.. > > Thanks, > Kevin > > > Kevin D. Vezertzis > Project Manager > Cypress Business Solutions, LLC. > 678.494.9353 ext. 6576 Fax 678.494.9354 > > [EMAIL PROTECTED] > Visit us at www.cypressesolutions.com > > > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users > -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UniObjects
The transport layer between the two servers, Universe Database and UniObject Client, is thru a TCPIP/socket; this is the network traffic that we are trying to encrypt. Hiding the port or restricting the node access does not keep the packets from being captured Has anyone tried using "Stunnel"? James F Thompson Senior Systems Analyst Cypress Business Solutions, LLC 678.494.9353 Ext 6575 Fax 678.494.9354 [EMAIL PROTECTED] www.cypressesolutions.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Wurlod Sent: Wednesday, April 07, 2004 4:47 PM To: U2 Users Discussion List Subject: Re: UniObjects UniObjects does not use a sockets-based interface, so SSL and so on aren't relevant. Rather, UniObjects uses a proprietary interface built on an architecture called InterCall. The only "security" is a port number that's not used for anything else, and a check in the unirpcservices file about nodes permitted to access the uvcs/udcs service. In particular, no encryption is available within the product. - Original Message - From: "Kevin Vezertzis" <[EMAIL PROTECTED]> Date: Wed, 7 Apr 2004 14:53:23 -0400 To: <[EMAIL PROTECTED]> Subject: UniObjects > Does anyone have knowledge of how to handle secure communications from > UniObjects into Universe? (SSL, SSH, etc.) We are covered from end > user to UniObjects, but not from UniObjects to Universe. I haven't been > able to find any supporting documentation.. > > Thanks, > Kevin > > > Kevin D. Vezertzis > Project Manager > Cypress Business Solutions, LLC. > 678.494.9353 ext. 6576 Fax 678.494.9354 > > [EMAIL PROTECTED] > Visit us at www.cypressesolutions.com > > > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users > -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: UniObjects
UniObjects does not use a sockets-based interface, so SSL and so on aren't relevant. Rather, UniObjects uses a proprietary interface built on an architecture called InterCall. The only "security" is a port number that's not used for anything else, and a check in the unirpcservices file about nodes permitted to access the uvcs/udcs service. In particular, no encryption is available within the product. - Original Message - From: "Kevin Vezertzis" <[EMAIL PROTECTED]> Date: Wed, 7 Apr 2004 14:53:23 -0400 To: <[EMAIL PROTECTED]> Subject: UniObjects > Does anyone have knowledge of how to handle secure communications from > UniObjects into Universe? (SSL, SSH, etc.) We are covered from end > user to UniObjects, but not from UniObjects to Universe. I haven't been > able to find any supporting documentation.. > > Thanks, > Kevin > > > Kevin D. Vezertzis > Project Manager > Cypress Business Solutions, LLC. > 678.494.9353 ext. 6576 Fax 678.494.9354 > > [EMAIL PROTECTED] > Visit us at www.cypressesolutions.com > > > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users > -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
UniObjects
Does anyone have knowledge of how to handle secure communications from UniObjects into Universe? (SSL, SSH, etc.) We are covered from end user to UniObjects, but not from UniObjects to Universe. I haven't been able to find any supporting documentation.. Thanks, Kevin Kevin D. Vezertzis Project Manager Cypress Business Solutions, LLC. 678.494.9353 ext. 6576 Fax 678.494.9354 [EMAIL PROTECTED] Visit us at www.cypressesolutions.com -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Uniobjects
Steve, (and others who may be curious about migrating to GUI) As one with extensive experience in development of GUI and character based applications with the Nucleus/NRG environment, I would like to offer a rapid 2 cents worth. You wrote: > We are in the process of analyzing different approaches to porting our > software to a GUI environment. We are currently looking at Uniobjects for > Java, System Builder, jBase with ObjEx, OpenInsight and Obsydian (which I > have yet to get information on). If you have any other ideas or have gone > through this process, I would like to know a few things: > 1) How is the response time with multiple windows up at the same time? Response time to switch between windows is usually dependent on basic factors: a) Size of the object(s) (i.e. programs) that will be brought into "focus". b) Speed of the "client" machine, as fast desktops are cheap these days (1,800 mhz AMD processor system for under $300.00), a client system with a 700 mhz or better processor with adequate memory ensures rapid transition times between modules. c) Large modules that load data from a host system can take a few seconds to initially load especially when large amounts of data are to be displayed. (Compare loading of a large Excel spreadsheet to a small one). d) Multiple objects may exist on a active desktop, some in "sleep" mode, and others in "active" mode where the active objects come to focus more quickly. e) As the Nucleus environment is a "smart-thin-client" environment, the only thing that is loaded from the host system is a template describing to the "client-manager" what and where, along with the data to be displayed. I can safely state that you can either work hard and write code to incorporate objects, or let the Nucleus/NRG engine do the work for you with a far faster deployment and greatly simplified maintenance. > 2) How did you deal with security? We need field level security. Security in Nucleus/NRG can be controlled at the field level on a user by user or group level. Security for any Menu, File, Command, Device etc., can also be implemented on a user or group basis, much as exists in a unix environment. Security can be added at design time or tightened up later as security requirements are codified (written) without incurring any design stage issues. There will be no problem if you desire to implement security as an afterthought, as it is inherent in the Nucleus engine managing the object sets. > 3) The approach you used to convert the screens, etc. Nucleus screen design is structured to layer on top of data definitions - i.e. DATA DICTS. If your dictionaries are "clean" and easily read and understood by humans - either A, S or I type, you can quickly prototype a screen from the Nucleus shell prompt, as: CUSTOMERFILE CUST.ID WINDOW(width,depth,column,row) @(col,row) COMPANY ADDRESS etc. and have a screen appear within seconds. The design phase is rather straightforward and familiar to anyone who has used BASIC, RETRIEVE/ENGLISH and data dictionaries. Rules can be quickly added, existing subroutines can be called as long as the COMMON blocks don't conflict. Btree selections are a no-brainer to implement along with intersected joins and automated choicewindow selections. Migrating from a hand-coded character based environment to a Rapid Deployment environment adds many options to the design equation that were impracticle with manual code. Adding drill-downs, pop-up selections or multiple pages to screens are incredibly simple to accomplish. Collaborating with end-users is no-longer a frustrating process with Nucleus.. You can often prototype the guts of an application in a few minutes to demonstrate the "look and feel" and then add the bells and whistles as the user-population and the programming group firm up the design concepts. There is an easy transition path to GUI in Nucleus without a steep learning curve - a couple of days of instruction and you can be well on your way to being very comfortable developing within the environment. An integrated environment exists within Nucleus that doesn't require any knowledge of objects or properties and allows you to do your development and maintenance in ways that are intuitive to a "pick programmer". If you want or need to integrate ActiveX objects, java script or C#, those controls can be easily integrated. Nucleus supports GUI, green-screen, character based color as well as WEB support using the same "rule-sets", greatly reducing support effort and ensuring data consistency. BTW, Nucleus supports most multi-dimensional environments and allows an application created in say Universe or UniData (following simple rules), to be ported without effort to another environment such as jBASE, D3, UniVision, etc with only a re-compile. There is a migration outline available on our website:
RE: Uniobjects
No so at all - the majority of the WinFAST installations that are out there (not STORIS mind you but the other, non-MV ones) are primarily done in "AutoGui" mode. This is a mechanism that we chose not to use because we opted for the "whole hog" approach. I recommend that anyone looking for a relatively simple, inexpensive and quick to market solution to the perennial "it looks like DOS" complaint. Look at WinFAST - it's versatile (you can get a GUI in a short period of time, thus preserving market share) and then, if you choose to, go to the event driven model. As you know Debster, we made a reasoned business decision not to go with the AutoGui mechanism because we felt that A) we had enough time left in the character based application to "do it right the first time" and B) that the underlying business rules needed to be broken out of the input routines anyway. Based on those two facts, the decision to re-write was made with full knowledge of the time and expense needed. Prior to making that decision however, several proof of concept trials were made and the face of the product was very successfully changed to look as though it were developed in VB (or other graphically-oriented tool). I stand by my statement having been intimately involved with the product from the beginning of our relationship with them. Anyone who would like further information about this issue is free to contact me off-list for details. Dave Graham Storis Management Systems, Inc. (954) 725-3655 Ext. 102 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 12:30 PM To: U2 Users Discussion List Subject: RE: Uniobjects Ahem -- 30 Days Dave? Admittedly it's a nice product and very easy to use but 30 days is stretching it just a wee bit. Not impossible but it would have to be a Chief/Cook/Bottlewasher operation, (you know how those confused powers that be that keep changing their minds (13 times on one screen alone comes to mind), along with end-users can slow things a tad) with a relatively simple system. -- Debster > Steve, > > I recommend that you check out WinFAST (www.goWinFAST.com). We have been using > the product for 2+ years now and it's blindingly fast, as secure as your > existing application and can be implemented in less than 30 days with minimal > code changes (or you can go 'whole hog' and re-write your code into an event > driven model). > > Dave Graham > Storis Management Systems, Inc. > (954) 725-3655 Ext. 102 > [EMAIL PROTECTED] > > -Original Message- > From: Steve Mayo [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 25, 2004 3:47 AM > To: [EMAIL PROTECTED] > Subject: Uniobjects > > Hi Everyone, > > We are in the process of analyzing different approaches to porting our > software to a GUI environment. We are currently looking at Uniobjects for > Java, System Builder, jBase with ObjEx, OpenInsight and Obsydian (which I > have yet to get information on). If you have any other ideas or have gone > through this process, I would like to know a few things: > > 1) How is the response time with multiple windows up at the same time? > > 2) How did you deal with security? We need field level security. > > 3) The approach you used to convert the screens, etc. > > We are using Unidata on AIX, have 40+ users and have in excess of 200 > screens. > > Any help would be appreciated. > > Steve Mayo > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects
Ahem -- 30 Days Dave? Admittedly it's a nice product and very easy to use but 30 days is stretching it just a wee bit. Not impossible but it would have to be a Chief/Cook/Bottlewasher operation, (you know how those confused powers that be that keep changing their minds (13 times on one screen alone comes to mind), along with end-users can slow things a tad) with a relatively simple system. -- Debster > Steve, > > I recommend that you check out WinFAST (www.goWinFAST.com). We have been using > the product for 2+ years now and it's blindingly fast, as secure as your > existing application and can be implemented in less than 30 days with minimal > code changes (or you can go 'whole hog' and re-write your code into an event > driven model). > > Dave Graham > Storis Management Systems, Inc. > (954) 725-3655 Ext. 102 > [EMAIL PROTECTED] > > -Original Message- > From: Steve Mayo [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 25, 2004 3:47 AM > To: [EMAIL PROTECTED] > Subject: Uniobjects > > Hi Everyone, > > We are in the process of analyzing different approaches to porting our > software to a GUI environment. We are currently looking at Uniobjects for > Java, System Builder, jBase with ObjEx, OpenInsight and Obsydian (which I > have yet to get information on). If you have any other ideas or have gone > through this process, I would like to know a few things: > > 1) How is the response time with multiple windows up at the same time? > > 2) How did you deal with security? We need field level security. > > 3) The approach you used to convert the screens, etc. > > We are using Unidata on AIX, have 40+ users and have in excess of 200 > screens. > > Any help would be appreciated. > > Steve Mayo > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects
Steve, I recommend that you check out WinFAST (www.goWinFAST.com). We have been using the product for 2+ years now and it's blindingly fast, as secure as your existing application and can be implemented in less than 30 days with minimal code changes (or you can go 'whole hog' and re-write your code into an event driven model). Dave Graham Storis Management Systems, Inc. (954) 725-3655 Ext. 102 [EMAIL PROTECTED] -Original Message- From: Steve Mayo [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 3:47 AM To: [EMAIL PROTECTED] Subject: Uniobjects Hi Everyone, We are in the process of analyzing different approaches to porting our software to a GUI environment. We are currently looking at Uniobjects for Java, System Builder, jBase with ObjEx, OpenInsight and Obsydian (which I have yet to get information on). If you have any other ideas or have gone through this process, I would like to know a few things: 1) How is the response time with multiple windows up at the same time? 2) How did you deal with security? We need field level security. 3) The approach you used to convert the screens, etc. We are using Unidata on AIX, have 40+ users and have in excess of 200 screens. Any help would be appreciated. Steve Mayo -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Uniobjects
Steve, Look at NRG (Nucleus & Accuterm). The screens are fast, the security is all server based (even at the field level), and the tool allows you to use the same code base to service green screens during the transition. Nucleus also lets you develop for the web and use those web pages as green screens as well. http://www.binarystar.com -- Sincerely, Charles Barouch www.KeyAlly.com [EMAIL PROTECTED] Steve Mayo wrote: Hi Everyone, We are in the process of analyzing different approaches to porting our software to a GUI environment. We are currently looking at Uniobjects for Java, System Builder, jBase with ObjEx, OpenInsight and Obsydian (which I have yet to get information on). If you have any other ideas or have gone through this process, I would like to know a few things: 1) How is the response time with multiple windows up at the same time? 2) How did you deal with security? We need field level security. 3) The approach you used to convert the screens, etc. We are using Unidata on AIX, have 40+ users and have in excess of 200 screens. Any help would be appreciated. Steve Mayo -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Uniobjects
Hi Everyone, We are in the process of analyzing different approaches to porting our software to a GUI environment. We are currently looking at Uniobjects for Java, System Builder, jBase with ObjEx, OpenInsight and Obsydian (which I have yet to get information on). If you have any other ideas or have gone through this process, I would like to know a few things: 1) How is the response time with multiple windows up at the same time? 2) How did you deal with security? We need field level security. 3) The approach you used to convert the screens, etc. We are using Unidata on AIX, have 40+ users and have in excess of 200 screens. Any help would be appreciated. Steve Mayo -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Suppressing detail in UniObjects command
But doesn't DEP.SUP have two Ps in it? :-) Cheers, Wol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Southwell Sent: 16 March 2004 10:40 To: U2 Users Discussion List Subject: RE: Suppressing detail in UniObjects command Thanks go to Tony and Stuart who both figured it out. DEP.SUP with one P did the trick, ID.SUPP with the two P's seems to work fine too. Many thanks to everyone who pointed me in the right direction. Until next time Cheers Nick -Original Message- From: Tony Wood [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 22:46 To: U2 Users Discussion List Subject: Re: Suppressing detail in UniObjects command Hey Nick, What you NEED to use is DET.SUP and not DET.SUPP (please notice only one "P"). The error is trying to tell it does not understand DET.SUPP I think. Lembit Pirn was on the right track! Regards, T. - Original Message - From: "Nick Southwell" <[EMAIL PROTECTED]> To: "U2 Users Discussion List" <[EMAIL PROTECTED]> Sent: Tuesday, March 16, 2004 4:18 AM Subject: RE: Suppressing detail in UniObjects command Cheers, I'll give that a try! Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 17:16 To: [EMAIL PROTECTED] Subject: RE: Suppressing detail in UniObjects command Yes, it sounds like you use the "P"ick style by either turning UDT.OPTIONS 2 ON or with ECLTYPE P for your "regular" sessions. I believe UniObjects defaults to ECLTYPE U. I haven't tried in a UniObjects session to change the ECLTYPE - you just need to learn the "U" type syntax which is somewhat different but has much more power. Check the online help for list and sort for the basic syntax. If you want to "test" your commands at TCL you can simply use the lower case list or sort to force UniData to use the "U" type command parser. hth -- Colin Alfke Calgary, Alberta Canada "Just because something isn't broken doesn't mean that you can't fix it" Stu Pickles >-Original Message- >From: Nick Southwell [mailto:[EMAIL PROTECTED] >Sent: Monday, March 15, 2004 9:38 AM >To: U2 Users Discussion List >Subject: RE: Suppressing detail in UniObjects command > > >Sooo.. > >Coming from a very small Unidata background sounds like you're saying I >need to set my ECL type within the Uniobjects session? > >Thanks > >Nick -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users This correspondence is confidential and is solely for the intended recipient(s). If you are not the intended recipient, you must not use, disclose, copy, distribute or retain this message or any part of it. If you are not the intended recipient please delete this correspondence from your system and notify the sender immediately. No warranty is given that this correspondence is free from any virus. In keeping with good computer practice, you should ensure that it is actually virus free. E-mail messages may be subject to delays, non-delivery and unauthorised alterations therefore, information expressed in this message is not given or endorsed by Open and Direct Group Limited unless otherwise notified by our duly authorised representative independent of this message. Open and Direct Group Limited is a limited company registered in United Kingdom under number 4390810 whose registered office is at 10 Norwich Street, London, EC4A 1BD -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users This correspondence is confidential and is solely for the intended recipient(s). If you are not the intended recipient, you must not use, disclose, copy, distribute or retain this message or any part of it. If you are not the intended recipient please delete this correspondence from your system and notify the sender immediately. No warranty is given that this correspondence is free from any virus. In keeping with good computer practice, you should ensure that it is actually virus free. E-mail messages may be subject to delays, non-delivery and unauthorised alterations therefore, information expressed in this message is not given or endorsed by Open and Direct Group Limited unless otherwise notified by our duly authorised representative independent of this message. Open and Direct Group Limited is a limited company registered in United Kingdom under number 4390810 whose registered office is at 10 Norwich Street, London, EC4A 1BD -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users *** This transmission is intended for the named recipient only. It may contain private and
RE: Suppressing detail in UniObjects command
Thanks go to Tony and Stuart who both figured it out. DEP.SUP with one P did the trick, ID.SUPP with the two P's seems to work fine too. Many thanks to everyone who pointed me in the right direction. Until next time Cheers Nick -Original Message- From: Tony Wood [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 22:46 To: U2 Users Discussion List Subject: Re: Suppressing detail in UniObjects command Hey Nick, What you NEED to use is DET.SUP and not DET.SUPP (please notice only one "P"). The error is trying to tell it does not understand DET.SUPP I think. Lembit Pirn was on the right track! Regards, T. - Original Message - From: "Nick Southwell" <[EMAIL PROTECTED]> To: "U2 Users Discussion List" <[EMAIL PROTECTED]> Sent: Tuesday, March 16, 2004 4:18 AM Subject: RE: Suppressing detail in UniObjects command Cheers, I'll give that a try! Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 17:16 To: [EMAIL PROTECTED] Subject: RE: Suppressing detail in UniObjects command Yes, it sounds like you use the "P"ick style by either turning UDT.OPTIONS 2 ON or with ECLTYPE P for your "regular" sessions. I believe UniObjects defaults to ECLTYPE U. I haven't tried in a UniObjects session to change the ECLTYPE - you just need to learn the "U" type syntax which is somewhat different but has much more power. Check the online help for list and sort for the basic syntax. If you want to "test" your commands at TCL you can simply use the lower case list or sort to force UniData to use the "U" type command parser. hth -- Colin Alfke Calgary, Alberta Canada "Just because something isn't broken doesn't mean that you can't fix it" Stu Pickles >-Original Message- >From: Nick Southwell [mailto:[EMAIL PROTECTED] >Sent: Monday, March 15, 2004 9:38 AM >To: U2 Users Discussion List >Subject: RE: Suppressing detail in UniObjects command > > >Sooo.. > >Coming from a very small Unidata background sounds like you're saying I >need to set my ECL type within the Uniobjects session? > >Thanks > >Nick -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users This correspondence is confidential and is solely for the intended recipient(s). If you are not the intended recipient, you must not use, disclose, copy, distribute or retain this message or any part of it. If you are not the intended recipient please delete this correspondence from your system and notify the sender immediately. No warranty is given that this correspondence is free from any virus. In keeping with good computer practice, you should ensure that it is actually virus free. E-mail messages may be subject to delays, non-delivery and unauthorised alterations therefore, information expressed in this message is not given or endorsed by Open and Direct Group Limited unless otherwise notified by our duly authorised representative independent of this message. Open and Direct Group Limited is a limited company registered in United Kingdom under number 4390810 whose registered office is at 10 Norwich Street, London, EC4A 1BD -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users This correspondence is confidential and is solely for the intended recipient(s). If you are not the intended recipient, you must not use, disclose, copy, distribute or retain this message or any part of it. If you are not the intended recipient please delete this correspondence from your system and notify the sender immediately. No warranty is given that this correspondence is free from any virus. In keeping with good computer practice, you should ensure that it is actually virus free. E-mail messages may be subject to delays, non-delivery and unauthorised alterations therefore, information expressed in this message is not given or endorsed by Open and Direct Group Limited unless otherwise notified by our duly authorised representative independent of this message. Open and Direct Group Limited is a limited company registered in United Kingdom under number 4390810 whose registered office is at 10 Norwich Street, London, EC4A 1BD -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: File permissions problem with UniObjects for Java
Apologies for the delay. Wendy I had this same problem a while back. From memory the reason it works at the colon prompt but not from uniobjects it the umask. When you run udt it inherits it's umask from your environment. On linux I have a unidata.sh file in /etc/profile.d which sets it to 002 and the files will be created as rw-rw-r--. Other responses have explained how the umask works. A uniobjects session inherits it's environment from the unirpcd which in turn inherits this from the startud and startunirpcd. If you grep umask in $UDTBIN/startud you will find "umask 022". As Charlie mentioned, the simplest fix is to alter $UDTBIN/startunirpcd so unirpcd inherits the umask you want. HTH Adrian -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Suppressing detail in UniObjects command
> DET.SUPP is not a valid attribute. > > Any ideas? This works perfectly from the udt prompt. Try ID.SUP & DET.SUP (just one 'P'). ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Suppressing detail in UniObjects command
Hey Nick, What you NEED to use is DET.SUP and not DET.SUPP (please notice only one "P"). The error is trying to tell it does not understand DET.SUPP I think. Lembit Pirn was on the right track! Regards, T. - Original Message - From: "Nick Southwell" <[EMAIL PROTECTED]> To: "U2 Users Discussion List" <[EMAIL PROTECTED]> Sent: Tuesday, March 16, 2004 4:18 AM Subject: RE: Suppressing detail in UniObjects command Cheers, I'll give that a try! Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 17:16 To: [EMAIL PROTECTED] Subject: RE: Suppressing detail in UniObjects command Yes, it sounds like you use the "P"ick style by either turning UDT.OPTIONS 2 ON or with ECLTYPE P for your "regular" sessions. I believe UniObjects defaults to ECLTYPE U. I haven't tried in a UniObjects session to change the ECLTYPE - you just need to learn the "U" type syntax which is somewhat different but has much more power. Check the online help for list and sort for the basic syntax. If you want to "test" your commands at TCL you can simply use the lower case list or sort to force UniData to use the "U" type command parser. hth -- Colin Alfke Calgary, Alberta Canada "Just because something isn't broken doesn't mean that you can't fix it" Stu Pickles >-Original Message- >From: Nick Southwell [mailto:[EMAIL PROTECTED] >Sent: Monday, March 15, 2004 9:38 AM >To: U2 Users Discussion List >Subject: RE: Suppressing detail in UniObjects command > > >Sooo.. > >Coming from a very small Unidata background sounds like you're saying I >need to set my ECL type within the Uniobjects session? > >Thanks > >Nick -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users This correspondence is confidential and is solely for the intended recipient(s). If you are not the intended recipient, you must not use, disclose, copy, distribute or retain this message or any part of it. If you are not the intended recipient please delete this correspondence from your system and notify the sender immediately. No warranty is given that this correspondence is free from any virus. In keeping with good computer practice, you should ensure that it is actually virus free. E-mail messages may be subject to delays, non-delivery and unauthorised alterations therefore, information expressed in this message is not given or endorsed by Open and Direct Group Limited unless otherwise notified by our duly authorised representative independent of this message. Open and Direct Group Limited is a limited company registered in United Kingdom under number 4390810 whose registered office is at 10 Norwich Street, London, EC4A 1BD -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Suppressing detail in UniObjects command
Cheers, I'll give that a try! Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 17:16 To: [EMAIL PROTECTED] Subject: RE: Suppressing detail in UniObjects command Yes, it sounds like you use the "P"ick style by either turning UDT.OPTIONS 2 ON or with ECLTYPE P for your "regular" sessions. I believe UniObjects defaults to ECLTYPE U. I haven't tried in a UniObjects session to change the ECLTYPE - you just need to learn the "U" type syntax which is somewhat different but has much more power. Check the online help for list and sort for the basic syntax. If you want to "test" your commands at TCL you can simply use the lower case list or sort to force UniData to use the "U" type command parser. hth -- Colin Alfke Calgary, Alberta Canada "Just because something isn't broken doesn't mean that you can't fix it" Stu Pickles >-Original Message- >From: Nick Southwell [mailto:[EMAIL PROTECTED] >Sent: Monday, March 15, 2004 9:38 AM >To: U2 Users Discussion List >Subject: RE: Suppressing detail in UniObjects command > > >Sooo.. > >Coming from a very small Unidata background sounds like you're saying I >need to set my ECL type within the Uniobjects session? > >Thanks > >Nick -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users This correspondence is confidential and is solely for the intended recipient(s). If you are not the intended recipient, you must not use, disclose, copy, distribute or retain this message or any part of it. If you are not the intended recipient please delete this correspondence from your system and notify the sender immediately. No warranty is given that this correspondence is free from any virus. In keeping with good computer practice, you should ensure that it is actually virus free. E-mail messages may be subject to delays, non-delivery and unauthorised alterations therefore, information expressed in this message is not given or endorsed by Open and Direct Group Limited unless otherwise notified by our duly authorised representative independent of this message. Open and Direct Group Limited is a limited company registered in United Kingdom under number 4390810 whose registered office is at 10 Norwich Street, London, EC4A 1BD -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Suppressing detail in UniObjects command
Yes, it sounds like you use the "P"ick style by either turning UDT.OPTIONS 2 ON or with ECLTYPE P for your "regular" sessions. I believe UniObjects defaults to ECLTYPE U. I haven't tried in a UniObjects session to change the ECLTYPE - you just need to learn the "U" type syntax which is somewhat different but has much more power. Check the online help for list and sort for the basic syntax. If you want to "test" your commands at TCL you can simply use the lower case list or sort to force UniData to use the "U" type command parser. hth -- Colin Alfke Calgary, Alberta Canada "Just because something isn't broken doesn't mean that you can't fix it" Stu Pickles >-Original Message- >From: Nick Southwell [mailto:[EMAIL PROTECTED] >Sent: Monday, March 15, 2004 9:38 AM >To: U2 Users Discussion List >Subject: RE: Suppressing detail in UniObjects command > > >Sooo.. > >Coming from a very small Unidata background >sounds like you're saying I need to set my >ECL type within the Uniobjects session? > >Thanks > >Nick -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Suppressing detail in UniObjects command
Sooo.. Coming from a very small Unidata background sounds like you're saying I need to set my ECL type within the Uniobjects session? Thanks Nick -Original Message- From: Brian Leach [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 16:30 To: 'U2 Users Discussion List' Subject: RE: Suppressing detail in UniObjects command Sounds like your ECL type is set differently for your login and Objects sessions. Remember, UniObjects doesn't run LOGIN. Brian > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Nick Southwell > Sent: 15 March 2004 16:15 > To: U2 Users Discussion List > Subject: Suppressing detail in UniObjects command > > Trying to run the command > > SORT FILE WITH ACTION-CODE = "NAG" BY WEB-IND BREAK-ON WEB-IND TOTAL > CRED.AMT TOTAL COUNT DET.SUPP ID.SUPP > > via a vb6 program using Uniobjects. > > objCommand.Text = "SORT DTA WITH ACTION-CODE = 'NAG' BY WEB-IND > BREAK-ON WEB-IND TOTAL CRED.AMT TOTAL COUNT DET.SUPP ID.SUPP" > objCommand.Exec > > The program returns immediately with CommandStatus = 0 Error = 0 and > response > > DET.SUPP is not a valid attribute. > > Any ideas? This works perfectly from the udt prompt. > > Thanks > > Nick > > This correspondence is confidential and is solely for the intended > recipient(s). If you are not the intended recipient, you must not use, > disclose, copy, distribute or retain this message or any part of it. > If you are not the intended recipient please delete this > correspondence from your system and notify the sender immediately. > > No warranty is given that this correspondence is free from any virus. > In keeping with good computer practice, you should ensure that it is > actually virus free. E-mail messages may be subject to delays, > non-delivery and unauthorised alterations therefore, information > expressed in this message is not given or endorsed by Open and Direct > Group Limited unless otherwise notified by our duly authorised > representative independent of this message. > > Open and Direct Group Limited is a limited company registered in > United Kingdom under number 4390810 whose registered office is at 10 > Norwich Street, London, EC4A 1BD > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users > > __ > __ > This email was checked by MessageLabs SkyScan before entering > Microgen. This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information. In the event of any technical difficulty with this email, please contact the sender or [EMAIL PROTECTED] Microgen Information Management Solutions http://www.microgen.co.uk -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users This correspondence is confidential and is solely for the intended recipient(s). If you are not the intended recipient, you must not use, disclose, copy, distribute or retain this message or any part of it. If you are not the intended recipient please delete this correspondence from your system and notify the sender immediately. No warranty is given that this correspondence is free from any virus. In keeping with good computer practice, you should ensure that it is actually virus free. E-mail messages may be subject to delays, non-delivery and unauthorised alterations therefore, information expressed in this message is not given or endorsed by Open and Direct Group Limited unless otherwise notified by our duly authorised representative independent of this message. Open and Direct Group Limited is a limited company registered in United Kingdom under number 4390810 whose registered office is at 10 Norwich Street, London, EC4A 1BD -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Suppressing detail in UniObjects command
It produces output with just ID.SUPP but same error with DET.SUPP on its own. Thanks Nick -Original Message- From: Lembit Pirn [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 16:31 To: U2 Users Discussion List Subject: Re: Suppressing detail in UniObjects command Have You tried with DET.SUP ? Just idea, synonyms. Lembit Pirn 7+7 Software Tondi 1 Tallinn 11313 Estonia +372 65 66 232 [EMAIL PROTECTED] - Original Message - From: "Nick Southwell" <[EMAIL PROTECTED]> To: "U2 Users Discussion List" <[EMAIL PROTECTED]> Sent: Monday, March 15, 2004 6:15 PM Subject: Suppressing detail in UniObjects command > Trying to run the command > > SORT FILE WITH ACTION-CODE = "NAG" BY WEB-IND BREAK-ON WEB-IND TOTAL > CRED.AMT TOTAL COUNT DET.SUPP ID.SUPP > > via a vb6 program using Uniobjects. > > objCommand.Text = "SORT DTA WITH ACTION-CODE = 'NAG' BY WEB-IND > BREAK-ON WEB-IND TOTAL CRED.AMT TOTAL COUNT DET.SUPP ID.SUPP" > objCommand.Exec > > The program returns immediately with CommandStatus = 0 > Error = 0 and response > > DET.SUPP is not a valid attribute. > > Any ideas? This works perfectly from the udt prompt. > > Thanks > > Nick > > This correspondence is confidential and is solely for the intended > recipient(s). If you are not the intended recipient, you must not use, > disclose, copy, distribute or retain this message or any part of it. If you > are not the intended recipient please delete this correspondence from your > system and notify the sender immediately. > > No warranty is given that this correspondence is free from any virus. In > keeping with good computer practice, you should ensure that it is actually > virus free. E-mail messages may be subject to delays, non-delivery and > unauthorised alterations therefore, information expressed in this message is > not given or endorsed by Open and Direct Group Limited unless otherwise > notified by our duly authorised representative independent of this message. > > Open and Direct Group Limited is a limited company registered in United > Kingdom under number 4390810 whose registered office is at 10 Norwich > Street, London, EC4A 1BD > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users This correspondence is confidential and is solely for the intended recipient(s). If you are not the intended recipient, you must not use, disclose, copy, distribute or retain this message or any part of it. If you are not the intended recipient please delete this correspondence from your system and notify the sender immediately. No warranty is given that this correspondence is free from any virus. In keeping with good computer practice, you should ensure that it is actually virus free. E-mail messages may be subject to delays, non-delivery and unauthorised alterations therefore, information expressed in this message is not given or endorsed by Open and Direct Group Limited unless otherwise notified by our duly authorised representative independent of this message. Open and Direct Group Limited is a limited company registered in United Kingdom under number 4390810 whose registered office is at 10 Norwich Street, London, EC4A 1BD -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Suppressing detail in UniObjects command
Sounds like your ECL type is set differently for your login and Objects sessions. Remember, UniObjects doesn't run LOGIN. Brian > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Nick Southwell > Sent: 15 March 2004 16:15 > To: U2 Users Discussion List > Subject: Suppressing detail in UniObjects command > > Trying to run the command > > SORT FILE WITH ACTION-CODE = "NAG" BY WEB-IND BREAK-ON > WEB-IND TOTAL CRED.AMT TOTAL COUNT DET.SUPP ID.SUPP > > via a vb6 program using Uniobjects. > > objCommand.Text = "SORT DTA WITH ACTION-CODE = 'NAG' BY > WEB-IND BREAK-ON WEB-IND TOTAL CRED.AMT TOTAL COUNT DET.SUPP ID.SUPP" > objCommand.Exec > > The program returns immediately with CommandStatus = 0 Error > = 0 and response > > DET.SUPP is not a valid attribute. > > Any ideas? This works perfectly from the udt prompt. > > Thanks > > Nick > > This correspondence is confidential and is solely for the > intended recipient(s). If you are not the intended recipient, > you must not use, disclose, copy, distribute or retain this > message or any part of it. If you are not the intended > recipient please delete this correspondence from your system > and notify the sender immediately. > > No warranty is given that this correspondence is free from > any virus. In keeping with good computer practice, you > should ensure that it is actually virus free. E-mail messages > may be subject to delays, non-delivery and unauthorised > alterations therefore, information expressed in this message > is not given or endorsed by Open and Direct Group Limited > unless otherwise notified by our duly authorised > representative independent of this message. > > Open and Direct Group Limited is a limited company registered > in United Kingdom under number 4390810 whose registered > office is at 10 Norwich Street, London, EC4A 1BD > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users > > __ > __ > This email was checked by MessageLabs SkyScan before entering > Microgen. This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information. In the event of any technical difficulty with this email, please contact the sender or [EMAIL PROTECTED] Microgen Information Management Solutions http://www.microgen.co.uk -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Suppressing detail in UniObjects command
Have You tried with DET.SUP ? Just idea, synonyms. Lembit Pirn 7+7 Software Tondi 1 Tallinn 11313 Estonia +372 65 66 232 [EMAIL PROTECTED] - Original Message - From: "Nick Southwell" <[EMAIL PROTECTED]> To: "U2 Users Discussion List" <[EMAIL PROTECTED]> Sent: Monday, March 15, 2004 6:15 PM Subject: Suppressing detail in UniObjects command > Trying to run the command > > SORT FILE WITH ACTION-CODE = "NAG" BY WEB-IND BREAK-ON WEB-IND TOTAL > CRED.AMT TOTAL COUNT DET.SUPP ID.SUPP > > via a vb6 program using Uniobjects. > > objCommand.Text = "SORT DTA WITH ACTION-CODE = 'NAG' BY WEB-IND > BREAK-ON WEB-IND TOTAL CRED.AMT TOTAL COUNT DET.SUPP ID.SUPP" > objCommand.Exec > > The program returns immediately with CommandStatus = 0 > Error = 0 and response > > DET.SUPP is not a valid attribute. > > Any ideas? This works perfectly from the udt prompt. > > Thanks > > Nick > > This correspondence is confidential and is solely for the intended > recipient(s). If you are not the intended recipient, you must not use, > disclose, copy, distribute or retain this message or any part of it. If you > are not the intended recipient please delete this correspondence from your > system and notify the sender immediately. > > No warranty is given that this correspondence is free from any virus. In > keeping with good computer practice, you should ensure that it is actually > virus free. E-mail messages may be subject to delays, non-delivery and > unauthorised alterations therefore, information expressed in this message is > not given or endorsed by Open and Direct Group Limited unless otherwise > notified by our duly authorised representative independent of this message. > > Open and Direct Group Limited is a limited company registered in United > Kingdom under number 4390810 whose registered office is at 10 Norwich > Street, London, EC4A 1BD > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Suppressing detail in UniObjects command
Trying to run the command SORT FILE WITH ACTION-CODE = "NAG" BY WEB-IND BREAK-ON WEB-IND TOTAL CRED.AMT TOTAL COUNT DET.SUPP ID.SUPP via a vb6 program using Uniobjects. objCommand.Text = "SORT DTA WITH ACTION-CODE = 'NAG' BY WEB-IND BREAK-ON WEB-IND TOTAL CRED.AMT TOTAL COUNT DET.SUPP ID.SUPP" objCommand.Exec The program returns immediately with CommandStatus = 0 Error = 0 and response DET.SUPP is not a valid attribute. Any ideas? This works perfectly from the udt prompt. Thanks Nick This correspondence is confidential and is solely for the intended recipient(s). If you are not the intended recipient, you must not use, disclose, copy, distribute or retain this message or any part of it. If you are not the intended recipient please delete this correspondence from your system and notify the sender immediately. No warranty is given that this correspondence is free from any virus. In keeping with good computer practice, you should ensure that it is actually virus free. E-mail messages may be subject to delays, non-delivery and unauthorised alterations therefore, information expressed in this message is not given or endorsed by Open and Direct Group Limited unless otherwise notified by our duly authorised representative independent of this message. Open and Direct Group Limited is a limited company registered in United Kingdom under number 4390810 whose registered office is at 10 Norwich Street, London, EC4A 1BD -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: How to accomplish this from UniObjects
That sounds doable. I was hoping to not have to modify the original sub, and this approach should do just that. I was just unsure as to whether I could do some kind of fake $INCLUDE on the client side via the UniObjects interface. Hoping beyond hope, I know, but I had to ask. -Original Message- From: Pingilley, Ron [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 10:33 AM To: 'U2 Users Discussion List' Subject: RE: How to accomplish this from UniObjects Jason, Make a "driver" subroutine that accepts parameters via the UniObjects call, has the $INCLUDE needed for the MFG.LAYOUTS item, and does the initializing (possibly based on what you passed through the call). Then this "driver" can call the real UniBasic subroutine. It's an extra CALL layer, but would allow the original routine to remain unchanged. --Ron P. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 9:53 AM To: [EMAIL PROTECTED] Subject: How to accomplish this from UniObjects I'm attempting to hijaack a UniBasic subroutine to call from an external program using UniObjects, * The calling program must include the MFG.LAYOUTS item CM.AMCS and initialize * the following variables: * PC_CM.REC - the bill to customer record assigned to the data record -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: How to accomplish this from UniObjects
Jason, Make a "driver" subroutine that accepts parameters via the UniObjects call, has the $INCLUDE needed for the MFG.LAYOUTS item, and does the initializing (possibly based on what you passed through the call). Then this "driver" can call the real UniBasic subroutine. It's an extra CALL layer, but would allow the original routine to remain unchanged. --Ron P. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 9:53 AM To: [EMAIL PROTECTED] Subject: How to accomplish this from UniObjects I'm attempting to hijaack a UniBasic subroutine to call from an external program using UniObjects, * The calling program must include the MFG.LAYOUTS item CM.AMCS and initialize * the following variables: * PC_CM.REC - the bill to customer record assigned to the data record -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: How to accomplish this from UniObjects
I am assuming that the variables that are in the comments are the arguments that are passed to the subroutine. //mySession is a connected UniSession object try { UniSubroutine mySub = mySession.subroutine("SUBNAME", numArgs); //numArgs looks like 4 in your case mySub.setArg(0, "PC_CM.REC value"); //These are String values for the args to be passed to the subroutine mySub.setArg(1, "PC_SHIP.CM.REC value"); mySub.setArg(2, "PRICE_CODE_TYPE value"); mySub.setArg(3, "BASE_TYPE value"); mySub.call(); } catch (UniSubroutineException uSubEx) { //Some code to deal with the exception } <[EMAIL PROTECTED] m> To: <[EMAIL PROTECTED]> Sent by: cc: u2-users-bounces@Subject: How to accomplish this from UniObjects oliver.com 03/12/2004 10:52 AM Please respond to U2 Users Discussion List I'm attempting to hijaack a UniBasic subroutine to call from an external program using UniObjects, but it has some requirements I'm not sure how to implement. If anyone has any thoughts, please feel free to post them. Here's the comments in the subroutine... * The calling program must include the MFG.LAYOUTS item CM.AMCS and initialize * the following variables: * PC_CM.REC - the bill to customer record assigned to the data record * PC_SHIP.CM.REC - the ship-to customer record assigned to the data record * PRICE_CODE_TYPE - one of the values assigned to CM.Price_Code_Type * BASE_TYPE - for records such as sales quotes where the default is * first to the SQP.CONSTANTS, then to the SOP.CONSTANTS -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
How to accomplish this from UniObjects
I'm attempting to hijaack a UniBasic subroutine to call from an external program using UniObjects, but it has some requirements I'm not sure how to implement. If anyone has any thoughts, please feel free to post them. Here's the comments in the subroutine... * The calling program must include the MFG.LAYOUTS item CM.AMCS and initialize * the following variables: * PC_CM.REC - the bill to customer record assigned to the data record * PC_SHIP.CM.REC - the ship-to customer record assigned to the data record * PRICE_CODE_TYPE - one of the values assigned to CM.Price_Code_Type * BASE_TYPE - for records such as sales quotes where the default is * first to the SQP.CONSTANTS, then to the SOP.CONSTANTS -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Executing Basic Programs from UniObjects for Java
Yes, the S0903 program has some PRINT statements. It also has some INPUT statements. I was hoping that I could just use the UniCommand.reply() method to provide the inputs to this call. Does the troublesome BASIC make any use of terminal driver capability, even perhaps the @ function to switch off the "press any key" prompt? Any SET.TERM.TYPE, GET.TERM.TYPE, TTYCTL() calls or the like? PRINT (or CRT or DISPLAY) statements? UniObjects connections do not, of course, have any terminal capabilities. - Original Message - From: [EMAIL PROTECTED] Date: Thu, 11 Mar 2004 14:12:55 -0500 To: [EMAIL PROTECTED] Subject: Executing Basic Programs from UniObjects for Java > I am trying to execute a basic program using the UniSession and UniCommand > classes. I have done this with other basic programs that are on the > Universe system without any problems. For the one I am trying to use now I > get back an error message from the response method that reads: > > TERMTYPE IS NOT SETUP FOR THIS USER PORT > > The only difference that I can see with this basic program vs the other > basic programs that I have working with this method is that this one makes > a call to a basic subroutine. > > My java code looks something like this: > > // session is the currently connected UniSession > UniCommand unicom = session.command(); > // COSTEST is the basic program on the host machine > unicom.setCommand("RUN COSTEST"); > unicom.exec(); > String resp = unicom.response(); > > Upon execution, the value of resp = TERMTYPE IS NOT SETUP FOR THIS USER > PORT > > COSTEST is a cataloged basic program on the host system with this line in > it: > . > CALL S0903(CO,FILE,PGM,SEL,INITS) > . > > If I comment out this line the program runs OK but the data that it returns > is not correct. Any suggestions? > > Thanks, > Jim > > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users > -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Executing Basic Programs from UniObjects for Java
test -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Executing Basic Programs from UniObjects for Java
Does the troublesome BASIC make any use of terminal driver capability, even perhaps the @ function to switch off the "press any key" prompt? Any SET.TERM.TYPE, GET.TERM.TYPE, TTYCTL() calls or the like? PRINT (or CRT or DISPLAY) statements? UniObjects connections do not, of course, have any terminal capabilities. - Original Message - From: [EMAIL PROTECTED] Date: Thu, 11 Mar 2004 14:12:55 -0500 To: [EMAIL PROTECTED] Subject: Executing Basic Programs from UniObjects for Java > I am trying to execute a basic program using the UniSession and UniCommand > classes. I have done this with other basic programs that are on the > Universe system without any problems. For the one I am trying to use now I > get back an error message from the response method that reads: > > TERMTYPE IS NOT SETUP FOR THIS USER PORT > > The only difference that I can see with this basic program vs the other > basic programs that I have working with this method is that this one makes > a call to a basic subroutine. > > My java code looks something like this: > > // session is the currently connected UniSession > UniCommand unicom = session.command(); > // COSTEST is the basic program on the host machine > unicom.setCommand("RUN COSTEST"); > unicom.exec(); > String resp = unicom.response(); > > Upon execution, the value of resp = TERMTYPE IS NOT SETUP FOR THIS USER > PORT > > COSTEST is a cataloged basic program on the host system with this line in > it: > . > CALL S0903(CO,FILE,PGM,SEL,INITS) > . > > If I comment out this line the program runs OK but the data that it returns > is not correct. Any suggestions? > > Thanks, > Jim > > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users > -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Executing Basic Programs from UniObjects for Java
I am trying to execute a basic program using the UniSession and UniCommand classes. I have done this with other basic programs that are on the Universe system without any problems. For the one I am trying to use now I get back an error message from the response method that reads: TERMTYPE IS NOT SETUP FOR THIS USER PORT The only difference that I can see with this basic program vs the other basic programs that I have working with this method is that this one makes a call to a basic subroutine. My java code looks something like this: // session is the currently connected UniSession UniCommand unicom = session.command(); // COSTEST is the basic program on the host machine unicom.setCommand("RUN COSTEST"); unicom.exec(); String resp = unicom.response(); Upon execution, the value of resp = TERMTYPE IS NOT SETUP FOR THIS USER PORT COSTEST is a cataloged basic program on the host system with this line in it: . CALL S0903(CO,FILE,PGM,SEL,INITS) . If I comment out this line the program runs OK but the data that it returns is not correct. Any suggestions? Thanks, Jim -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UniObjects: Executing a Command on a SaveList
I solved it. I just didn't follow the syntax. Here some snipptets 'Instantiate the List Object Set pSelectlist = UniSession.SelectList(0) 'associating the record is which are attributes of a dynamic Array 'Claims' pSelectlist.FormList (Claims) 'Saving the List pSelectlist.SaveList ("CLAIMS") 'Retrieving the list and making it the active Select List pSelectlist.GetList ("CLAIMS") 'Execute sort command on this select list Set pCommand = UniDataDB.Command pCommand.Text = "SELECT CLAIMS BY CLAIM_TYPE BY SENDER_ID BY BILLPROV_ID BY SUBMITTER_ID BY SUBSCRIBER_ID BY PATIENT_ID" pCommand.Exec If pCommand.Error = UVE_NOERROR Then 'Getting the new sorted List Set pSelectlist = UniDataDB.SelectList(0) Martin Scholl President Martin Scholl Consulting, Inc. http://www.hipaasuite.com/ mailto:[EMAIL PROTECTED] 18910 New Hampshire Ave Brinklow, MD 20862 301-924-5537 Phone 301-570-0139 Fax 301-613-9572 Cell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Martin Scholl Sent: Thursday, March 11, 2004 10:37 AM To: U2 Users Discussion List Subject: UniObjects: Executing a Command on a SaveList I am stuck with the following problem: I have a bunch of record Ids, that I need to sort. I thought of Creating a SaveList, Then GetList and executing a command. The problem I have is that the command works on the whole file and not on the few records in the SaveList. How can I make sure that I only work with the record Ids that I want to sort? Martin Scholl President Martin Scholl Consulting, Inc. http://www.hipaasuite.com/ mailto:[EMAIL PROTECTED] 18910 New Hampshire Ave Brinklow, MD 20862 301-924-5537 Phone 301-570-0139 Fax 301-613-9572 Cell -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UniObjects: Executing a Command on a SaveList
I think there was a thread a while back about this. There was a problem with stacking the commands (but you can try that). The other things you can do is to put them into a paragraph and run the paragraph or write a basic routine to process a list of commands. You may also want to use the REQUIRE.SELECT keyword if you are doing a select or list hth -- Colin Alfke Calgary, Alberta Canada "Just because something isn't broken doesn't mean that you can't fix it" Stu Pickles >-Original Message- >From: Martin Scholl [mailto:[EMAIL PROTECTED] >Sent: Thursday, March 11, 2004 8:37 AM >To: U2 Users Discussion List >Subject: UniObjects: Executing a Command on a SaveList > > >I am stuck with the following problem: > >I have a bunch of record Ids, that I need to sort. >I thought of Creating a SaveList, >Then GetList and executing a command. > >The problem I have is that the command works on the whole file >and not on >the few records in the SaveList. > >How can I make sure that I only work with the record Ids that I want to >sort? > >Martin Scholl -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
UniObjects: Executing a Command on a SaveList
I am stuck with the following problem: I have a bunch of record Ids, that I need to sort. I thought of Creating a SaveList, Then GetList and executing a command. The problem I have is that the command works on the whole file and not on the few records in the SaveList. How can I make sure that I only work with the record Ids that I want to sort? Martin Scholl President Martin Scholl Consulting, Inc. http://www.hipaasuite.com/ mailto:[EMAIL PROTECTED] 18910 New Hampshire Ave Brinklow, MD 20862 301-924-5537 Phone 301-570-0139 Fax 301-613-9572 Cell -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: File permissions problem with UniObjects for Java
Charlie Rubeor wrote: > Could you add the umask to /ud/bin/startunirpcd and restart unirpcd? > I'm sure that is not the recommended solution and it might > not even work, but it's worth a try. That sounds reasonable; I'll give that a try. Meanwhile... X.CMD = 'chmod 660 ':X.RPT.DIR:'/':X.RPT.FILENAME PCPERFORM X.CMD -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: File permissions problem with UniObjects for Java
Could you add the umask to /ud/bin/startunirpcd and restart unirpcd? I'm sure that is not the recommended solution and it might not even work, but it's worth a try. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 4:17 PM To: U2 Users Discussion List Subject: RE: File permissions problem with UniObjects for Java Charlie Rubeor wrote: > Off the top of my head, the default permissions and umask are > 666 and 022, respectively. Subtracting the two gives you 644 or > -rw-r--r--, which is what the UOJ code gave you. > When you telnet, the .profile usually sets the > umask to 002. Subtracting 002 from 666 gives you -rw-rw-r--, > which is what you got when you logged in. > So, without knowing the UOJ code, can you add "umask 002" or "umask > ug=rw,o=r" This isn't something that you'd set in Java code. It's something that's happening when UniObjects for Java connects to UniData and gets what is basically a colon-prompt session. There's an environment, but it's not the same as you get when you telnet in and your .profile executes. Does anyone know how UOJ "logs in" to the system? I know it connects to the unirpc daemon on 31438, but I don't know how that differs from a normal user login. I'm still not sure where the weird permissions are coming from, but I think that's going to be OS specific. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: File permissions problem with UniObjects for Java
Charlie Rubeor wrote: > Off the top of my head, the default permissions and umask are > 666 and 022, respectively. Subtracting the two gives you 644 or > -rw-r--r--, which is what the UOJ code gave you. > When you telnet, the .profile usually sets the > umask to 002. Subtracting 002 from 666 gives you -rw-rw-r--, > which is what you got when you logged in. > So, without knowing the UOJ code, can you add "umask 002" or "umask > ug=rw,o=r" This isn't something that you'd set in Java code. It's something that's happening when UniObjects for Java connects to UniData and gets what is basically a colon-prompt session. There's an environment, but it's not the same as you get when you telnet in and your .profile executes. Does anyone know how UOJ "logs in" to the system? I know it connects to the unirpc daemon on 31438, but I don't know how that differs from a normal user login. I'm still not sure where the weird permissions are coming from, but I think that's going to be OS specific. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: File permissions problem with UniObjects for Java
Off the top of my head, the default permissions and umask are 666 and 022, respectively. Subtracting the two gives you 644 or -rw-r--r--, which is what the UOJ code gave you. When you telnet, the .profile usually sets the umask to 002. Subtracting 002 from 666 gives you -rw-rw-r--, which is what you got when you logged in. So, without knowing the UOJ code, can you add "umask 002" or "umask ug=rw,o=r" -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 11:39 AM To: U2 Users Discussion List Subject: File permissions problem with UniObjects for Java I have some UOJ code that runs a program on the database host and creates a file in _HOLD_. This is on HP-UX 11, and _HOLD_ has these permissions: drwxrws--- 2 user1live 37888 Mar 10 09:08 _HOLD_ But, when I run the UOJ program, the file gets created like this: -rw-r--r-- 1 user2live 4729 Mar 10 08:59 FFAREP.02.WSMOAK.031004 We use a single user ID for all UOJ connections, so everything created by UOJ is owned by that user. These incorrect permissions (should be -rw-rw---) cause major problems because now if the user runs the report from the telnet interface while logged in as himself, he cannot overwrite the file. He keeps getting the last one created from the UOJ code (web interface) no matter what parameters he fills in. The permissions are set properly if I log in as myself and run the same program from the colon prompt: -rw-rw 1 user3 live 3158 Mar 10 09:28 FFAREP.02.WSMOAK.031004 (And if I just use touch to create an empty file.) I'm not sure what's happening. Is there a umask somewhere that's subtracting my group write permission? But a umask could not *add* the world readable permission, so I don't think that's it. Default permissions somewhere in the OS? If I have to I can always PCPERFORM a chmod in the program that creates the file, but I'd much prefer that it work the same way from UOJ as from the colon prompt. Does anyone know what's going on and how to fix it? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: File permissions problem with UniObjects for Java
Wendy Smoak wrote: John Hester wrote: The default umask may be someplace like /etc/profile or /etc/default/login depending on your platform. Permissions on files created by OUJ logins on our system appear to be determined by the .profile of the UOJ login though. Don't know why yours would be different. The UOJ login does not have a home directory or a shell. You can't actually log in with that user id and get to a unix prompt. So no .profile for that user. I still don't get how umask could do this-- it only subtracts from the existing permissions, right? In this case I'm gaining world readable permission. (And I have only a vague grasp of how this all works, anyway.) umask does subtract permissions, but I think a system with no default umask specified would give full permissions for ugo. My /etc/defualt/login umask is set to 022, which is what I get with files created by non-shell processes, like those run by cron, when I don't explicitly set it differently. -John -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: File permissions problem with UniObjects for Java
Wendy Smoak wrote: > I have some UOJ code that runs a program on the database host and > creates a file in _HOLD_. > > This is on HP-UX 11, and _HOLD_ has these permissions: > drwxrws--- 2 user1live 37888 Mar 10 09:08 _HOLD_ > > But, when I run the UOJ program, the file gets created like this: > -rw-r--r-- 1 user2live 4729 Mar 10 08:59 > FFAREP.02.WSMOAK.031004 > Not an HP-UX user but ... are user1 and user2 members of the same OS security groups? Karjala -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: File permissions problem with UniObjects for Java
John Hester wrote: > The default umask may be someplace like /etc/profile or > /etc/default/login depending on your platform. Permissions on files > created by OUJ logins on our system appear to be determined by the > .profile of the UOJ login though. Don't know why yours would > be different. The UOJ login does not have a home directory or a shell. You can't actually log in with that user id and get to a unix prompt. So no .profile for that user. I still don't get how umask could do this-- it only subtracts from the existing permissions, right? In this case I'm gaining world readable permission. (And I have only a vague grasp of how this all works, anyway.) I'll go ask on the HPUX newsgroup and see if I can find out where a default would be coming from. Thanks! -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: File permissions problem with UniObjects for Java
Wendy Smoak wrote: I have some UOJ code that runs a program on the database host and creates a file in _HOLD_. This is on HP-UX 11, and _HOLD_ has these permissions: drwxrws--- 2 user1live 37888 Mar 10 09:08 _HOLD_ But, when I run the UOJ program, the file gets created like this: -rw-r--r-- 1 user2live 4729 Mar 10 08:59 FFAREP.02.WSMOAK.031004 The default umask may be someplace like /etc/profile or /etc/default/login depending on your platform. Permissions on files created by OUJ logins on our system appear to be determined by the .profile of the UOJ login though. Don't know why yours would be different. -John -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
File permissions problem with UniObjects for Java
I have some UOJ code that runs a program on the database host and creates a file in _HOLD_. This is on HP-UX 11, and _HOLD_ has these permissions: drwxrws--- 2 user1live 37888 Mar 10 09:08 _HOLD_ But, when I run the UOJ program, the file gets created like this: -rw-r--r-- 1 user2live 4729 Mar 10 08:59 FFAREP.02.WSMOAK.031004 We use a single user ID for all UOJ connections, so everything created by UOJ is owned by that user. These incorrect permissions (should be -rw-rw---) cause major problems because now if the user runs the report from the telnet interface while logged in as himself, he cannot overwrite the file. He keeps getting the last one created from the UOJ code (web interface) no matter what parameters he fills in. The permissions are set properly if I log in as myself and run the same program from the colon prompt: -rw-rw 1 user3 live 3158 Mar 10 09:28 FFAREP.02.WSMOAK.031004 (And if I just use touch to create an empty file.) I'm not sure what's happening. Is there a umask somewhere that's subtracting my group write permission? But a umask could not *add* the world readable permission, so I don't think that's it. Default permissions somewhere in the OS? If I have to I can always PCPERFORM a chmod in the program that creates the file, but I'd much prefer that it work the same way from UOJ as from the colon prompt. Does anyone know what's going on and how to fix it? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects & Asp
I wander if UD 6.1 will be a requirement to use UO.NET? For example would OU.NET run on UD 5.2? >I heard from a reliable source at IBM that UO.NET will be released with >UniData 6.1 targeted for 6/30/04. Sometime after that release, Q3 >timeframe, for Universe. >rudy -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects & Asp
>>> [EMAIL PROTECTED] 02/27/2004 1:05:29 PM >>> >From documentation I have seen Uniobjects.net will be thread safe, however I have not heard anything recently regarding a release date. Does anyone have any update on when this will be available? Greg >>> >From the White paper: Using IBM U2 and Microsoft .NET at >http://www-306.ibm.com/software/data/u2/index.html: "A new API, UniObjects for .NET, is under development. It will be written in C# and serve as a managed interface for UniData and UniVerse. We expect to release this concurrently with UniData 6.1, targeted for mid-2004. The addition of support for connection pooling is being considered for a future UniData release, pending finalization of pricing and packaging. UniObjects for .NET will be available in the releases of UniVerse available around the same timeframe." The document is dated December 2003. I don't know if IBM has made any more precise statements about release dates for UniData 6.1 or UniObjects for .NET. Karjala Does anyone know if Uniobjects.net will be thread safe ? thx, rudy -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: When is developing with UniObjects the correct approach?
Brian and Jason(?), Thanks! Karjala >>> [EMAIL PROTECTED] 03/01/2004 4:46:26 AM >>> ... UniObjects is the quickest route for client/server work with U2. It emulates the native model for direct file and stored procedure operations - you open a file, read a record by key, perform operations, write it back. Fast and very efficient for transactional applications. ... >>> [EMAIL PROTECTED] 02/27/2004 3:09:24 PM >>> >From my experience, I really haven't encountered a situation where I'd recomment not >using UniObjects when accessing a U2 database from an outside application. ... -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: When is developing with UniObjects the correct approach?
Karjala, UniObjects is the quickest route for client/server work with U2. It emulates the native model for direct file and stored procedure operations - you open a file, read a record by key, perform operations, write it back. Fast and very efficient for transactional applications. The advantage/disadvantage of UniObjects is that it is a permanent per-user connection. In other words, each Objects session operates as a database user, just like a TELNET session. This is essential for integrating with BASIC procedures that expect things like common (persistent) variables to remain between calls and that use pessimistic locking (the default for U2 systems). If you are writing a transactional application for a predictable number of users, UniObjects is the way to go. BTW the best way to consider using UniObjects (and we've been using it since day one of its release) is to code all of your procedures in BASIC on the server first, unit test them, then write the front end to deploy against them. Makes debugging in a 'black box' environment very much easier, and allows you to gain performance improvements by keeping the logic close to the server. Now the drawback is if you want to deploy into a Web/Browser based environment, or any environment where you want to scale up the number of users without scaling up the number of sessions on the database (e.g. a public service where the number of users cannot be predicted) UniObjects does not provide that ability (for the reasons above). For that, you need to use a tool like RedBack, which is specifically designed around a responder mechanism. The final IBM options are OleDB and ODBC. I personally wouldn't use either of these for transactional operations: they are too top heavy as they are adding a whole layer of processing just to make U2 look relational. Which is isn't (really). The only time I would consider these is when interfacing to standard packages that don't understand anything else: and then I'd go for OleDB over ODBC for all of the usual client-side performance reasons. Regards, Brian Leach > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Karjala Koponen > Sent: 27 February 2004 19:45 > To: [EMAIL PROTECTED] > Subject: When is developing with UniObjects the correct approach? > > Can someone lay out, in relatively simple terms for a simple > guy, when using UniObjects is the correct approach to > developing an application using one of the U2 databases? > And, perhaps, when UniObjects would seem attractive but is > not, in reality, a good choice? > > And, yes, I am sure that reality has lots of 'it depends ...'. > > Thanks, Karjala > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users > > __ > __ > This email was checked by MessageLabs SkyScan before entering > Microgen. This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information. In the event of any technical difficulty with this email, please contact the sender or [EMAIL PROTECTED] Microgen Information Management Solutions http://www.microgen.co.uk -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: When is developing with UniObjects the correct approach?
Can you show us an example of how you are wrapping the UniObject in a COM object? I've never done it this way and am curious how to do it. I have used the UniObjects in ASP.NET with no issues. Works nicely with a U2 backend process pumping out XML. >because of threading issues, but I've successfully gotten around that by >insulating the UniObjects objects within my own COM objects. ASP calls my >COM object, my COM objects creates a UniObjects object, does what it needs, >closes and releases the object, life is good. I've never even actually -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: When is developing with UniObjects the correct approach?
>From my experience, I really haven't encountered a situation where I'd recomment not >using UniObjects when accessing a U2 database from an outside application. I've >heard people say you shouldn't use it directly from ASP because of threading issues, >but I've successfully gotten around that by insulating the UniObjects objects within >my own COM objects. ASP calls my COM object, my COM objects creates a UniObjects >object, does what it needs, closes and releases the object, life is good. I've never >even actually tried instantiating the UniObjects directly from ASP to know for sure >it's a problem...just went with what others had told me. For straight data access >where ODBC is fine, UniData's ODBC works fine. It's just a bit of a PITA to set up >initially. I think the biggest benefit of using UniObjects is the ability to utilize >existing subroutines in your U2 system. Even going forward, I find it easier to do a >lot of my business rules in U2 subs and call those subs from UniObjects. Makes for a >pretty elegant n-tiered development environment. Anyway, that's my $.02 -Original Message- From: Karjala Koponen [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 1:45 PM To: [EMAIL PROTECTED] Subject: When is developing with UniObjects the correct approach? Can someone lay out, in relatively simple terms for a simple guy, when using UniObjects is the correct approach to developing an application using one of the U2 databases? And, perhaps, when UniObjects would seem attractive but is not, in reality, a good choice? And, yes, I am sure that reality has lots of 'it depends ...'. Thanks, Karjala -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
When is developing with UniObjects the correct approach?
Can someone lay out, in relatively simple terms for a simple guy, when using UniObjects is the correct approach to developing an application using one of the U2 databases? And, perhaps, when UniObjects would seem attractive but is not, in reality, a good choice? And, yes, I am sure that reality has lots of 'it depends ...'. Thanks, Karjala -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects & Asp
>From documentation I have seen Uniobjects.net will be thread safe, however I have not heard anything recently regarding a release date. Does anyone have any update on when this will be available? Greg Does anyone know if Uniobjects.net will be thread safe ? thx, rudy -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Uniobjects & Asp
Does anyone know if Uniobjects.net will be thread safe ? thx, rudy <mailto:[EMAIL PROTECTED] Sent: 26 February 2004 21:46 To: [EMAIL PROTECTED] Subject: Uniobjects & Asp I have a requirement to use Asp with Uniobjects. Our OS is W2K and the backend is UV 10.0.10. I was thinking about creating ActiveX Dll's in VB6 that would do things like create a UV session, instantiate subr object, etc. I read in the u2-users list archive something to the effect of Uniobjects not being thread safe. Does that still hold true ?>> < Subject: RE: Uniobjects & Asp No. Let me try and prevent the pain I had to go through. We avoided Uniobjects because by design its use is for client/server>> -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects & Asp
Agree absolutely, we had gone down the route of middle tier vb and vb.net components for the business logic. The problem was in Unidata serialising concurrent requests effectively leaving us with a single user system. Redback would have been a nice option, but we had spent 6 months developing a complete solution so the pain in moving to PDP with a small amount of "data caching" in a Sql Server layer was the quickest way out for us. Concurrency testing of UniOLEDB never occurred to us, we knew UniObjects couldn't handle the thin client / Server processing model and decided based on the IBM info and previous experience of OLEDB to go down that route. How many people routinely test SQL Server or Oracle OLEDB drivers before developing a solution on them? It's a hard lesson to learn. Cheers Nick -Original Message- From: Brian Leach [mailto:[EMAIL PROTECTED] Sent: 27 February 2004 09:23 To: 'U2 Users Discussion List' Subject: RE: Uniobjects & Asp Nick, Depends on how you far you need to scale, and if you are looking to support large numbers of users. UniObjects is NOT thread safe, but you can roll your own connection pooling - ie. write your logic into a DLL that maintains a series of connections with some form of semaphoring, and call that from your ASP pages rather than calling UniObjects directly. There's something to be said for keeping your logic in a DLL anyway as ASP coding tends to fragment quite highly, and complex pages can be more of a pain to maintain than a complex DLL! Otherwise, your best bet is to use RedBack, which is designed explicitly to support the ASP model, and provides connection pooling and thread safety with a pretty decent level of performance and high scalability. We have put together a number of applications running across RedBack supporting large numbers of users for a local government, including call centres, billing and other fairly intensive applications and performance has not been an issue. Regards, Brian Leach > -Original Message- > From: Cooper, Rudy [mailto:[EMAIL PROTECTED] > Sent: 26 February 2004 21:46 > To: [EMAIL PROTECTED] > Subject: Uniobjects & Asp > > > Hello Everyone, > > I have a requirement to use Asp with Uniobjects. Our OS is W2K and > the backend is UV 10.0.10. I was thinking about creating ActiveX > Dll's in > VB6 that would do things like create a UV session, instantiate subr > object, etc. I read in the u2-users list archive something to the > effect of Uniobjects not being thread safe. Does that still hold true > ? > If so how do you make it thread safe ? > > thx, > > rudy > > -- > u2-users mailing list > [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users > > This correspondence is confidential and is solely for the intended > recipient(s). If you are not the intended recipient, you must not use, > disclose, copy, distribute or retain this message or any part of it. > If you are not the intended recipient please delete this > correspondence from your system and notify the sender immediately. > > No warranty is given that this correspondence is free from any virus. > In keeping with good computer practice, you should ensure that it is > actually virus free. E-mail messages may be subject to delays, > non-delivery and unauthorised alterations therefore, information > expressed in this message is not given or endorsed by Open and Direct > Group Limited unless otherwise notified by our duly authorised > representative independent of this message. > > Open and Direct Group Limited is a limited company registered in > United Kingdom under number 4390810 whose registered office is at 10 > Norwich Street, London, EC4A 1BD > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users > > __ > __ > This email was checked by MessageLabs SkyScan before entering > Microgen. This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information. In the event of any technical difficulty with this email, please contact the sender or [EMAIL PROTECTED] Microgen Information Management Solutions http://www.microgen.co.uk -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users This correspondence is confidential and is solely for the intended reci
RE: Uniobjects & Asp
Nick, Depends on how you far you need to scale, and if you are looking to support large numbers of users. UniObjects is NOT thread safe, but you can roll your own connection pooling - ie. write your logic into a DLL that maintains a series of connections with some form of semaphoring, and call that from your ASP pages rather than calling UniObjects directly. There's something to be said for keeping your logic in a DLL anyway as ASP coding tends to fragment quite highly, and complex pages can be more of a pain to maintain than a complex DLL! Otherwise, your best bet is to use RedBack, which is designed explicitly to support the ASP model, and provides connection pooling and thread safety with a pretty decent level of performance and high scalability. We have put together a number of applications running across RedBack supporting large numbers of users for a local government, including call centres, billing and other fairly intensive applications and performance has not been an issue. Regards, Brian Leach > -Original Message- > From: Cooper, Rudy [mailto:[EMAIL PROTECTED] > Sent: 26 February 2004 21:46 > To: [EMAIL PROTECTED] > Subject: Uniobjects & Asp > > > Hello Everyone, > > I have a requirement to use Asp with Uniobjects. Our OS is > W2K and the > backend is UV 10.0.10. I was thinking about creating ActiveX Dll's in > VB6 that would do things like create a UV session, instantiate subr > object, etc. I read in the u2-users list archive something to the > effect of Uniobjects not being thread safe. Does that still > hold true ? > If so how do you make it thread safe ? > > thx, > > rudy > > -- > u2-users mailing list > [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users > > This correspondence is confidential and is solely for the intended > recipient(s). If you are not the intended recipient, you must not use, > disclose, copy, distribute or retain this message or any part > of it. If you > are not the intended recipient please delete this > correspondence from your > system and notify the sender immediately. > > No warranty is given that this correspondence is free from > any virus. In > keeping with good computer practice, you should ensure that > it is actually > virus free. E-mail messages may be subject to delays, non-delivery and > unauthorised alterations therefore, information expressed in > this message is > not given or endorsed by Open and Direct Group Limited unless > otherwise > notified by our duly authorised representative independent of > this message. > > Open and Direct Group Limited is a limited company registered > in United > Kingdom under number 4390810 whose registered office is at 10 Norwich > Street, London, EC4A 1BD > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users > > __ > __ > This email was checked by MessageLabs SkyScan before entering > Microgen. This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information. In the event of any technical difficulty with this email, please contact the sender or [EMAIL PROTECTED] Microgen Information Management Solutions http://www.microgen.co.uk -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Uniobjects & Asp
Hello Everyone, I have a requirement to use Asp with Uniobjects. Our OS is W2K and the backend is UV 10.0.10. I was thinking about creating ActiveX Dll's in VB6 that would do things like create a UV session, instantiate subr object, etc. I read in the u2-users list archive something to the effect of Uniobjects not being thread safe. Does that still hold true ? If so how do you make it thread safe ? thx, rudy -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects & Asp
No. Let me try and prevent the pain I had to go through. We avoided Uniobjects because by design its use is for client/server And it doesn't handle multiple concurrent requests. Knowing this We used UniOLEDB and it turned out to have concurrency issues as well whereby the driver threads correctly but the unirpc service queues All requests and processes them serially. On a simple Query 1 user takes 5 seconds and if 2 users hit the page they both take 9 to 10 seconds and so on. Our backend is Unidata 5.2 so it may be different for universe but please, please do some concurrency testing before you Embark on any project. We have had to rewrite totally with Raining Data's Pick Data provider. Cheers Nick -Original Message- From: Cooper, Rudy [mailto:[EMAIL PROTECTED] Sent: 26 February 2004 21:46 To: [EMAIL PROTECTED] Subject: Uniobjects & Asp Hello Everyone, I have a requirement to use Asp with Uniobjects. Our OS is W2K and the backend is UV 10.0.10. I was thinking about creating ActiveX Dll's in VB6 that would do things like create a UV session, instantiate subr object, etc. I read in the u2-users list archive something to the effect of Uniobjects not being thread safe. Does that still hold true ? If so how do you make it thread safe ? thx, rudy -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users This correspondence is confidential and is solely for the intended recipient(s). If you are not the intended recipient, you must not use, disclose, copy, distribute or retain this message or any part of it. If you are not the intended recipient please delete this correspondence from your system and notify the sender immediately. No warranty is given that this correspondence is free from any virus. In keeping with good computer practice, you should ensure that it is actually virus free. E-mail messages may be subject to delays, non-delivery and unauthorised alterations therefore, information expressed in this message is not given or endorsed by Open and Direct Group Limited unless otherwise notified by our duly authorised representative independent of this message. Open and Direct Group Limited is a limited company registered in United Kingdom under number 4390810 whose registered office is at 10 Norwich Street, London, EC4A 1BD -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects & Asp
Rudy, The short answer is that I don't think YOU can make it thread safe - this is something IBM would have to do - UNLESS you wrote a wrapper that forced single threading (which sort of defeats the purpose) Would something like RedBack provide an adequate alternate solution for you? (Could also use 2/3 of our Visage stack to work with ASP if you REALLY wanted to, but you then loose "nice" things like dictionary aware drag & drop designer) Ross Ferris Stamina Software Visage – an Evolution in Software Development >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On >Behalf Of Nick Southwell >Sent: Friday, 27 February 2004 10:08 AM >To: U2 Users Discussion List >Subject: RE: Uniobjects & Asp > >No. Let me try and prevent the pain I had to go through. > >We avoided Uniobjects because by design its use is for client/server >And it doesn't handle multiple concurrent requests. Knowing this >We used UniOLEDB and it turned out to have concurrency issues as well >whereby the driver threads correctly but the unirpc service queues >All requests and processes them serially. On a simple >Query 1 user takes 5 seconds and if 2 users hit the page they both take >9 to 10 seconds and so on. Our backend is Unidata 5.2 so it may be >different >for universe but please, please do some concurrency testing before you >Embark on any project. We have had to rewrite totally with Raining >Data's >Pick Data provider. > >Cheers > >Nick > >-Original Message- >From: Cooper, Rudy [mailto:[EMAIL PROTECTED] >Sent: 26 February 2004 21:46 >To: [EMAIL PROTECTED] >Subject: Uniobjects & Asp > > >Hello Everyone, > >I have a requirement to use Asp with Uniobjects. Our OS is W2K and the >backend is UV 10.0.10. I was thinking about creating ActiveX Dll's in >VB6 that would do things like create a UV session, instantiate subr >object, etc. I read in the u2-users list archive something to the >effect of Uniobjects not being thread safe. Does that still hold true ? >If so how do you make it thread safe ? > >thx, > >rudy > >-- >u2-users mailing list >[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users > >This correspondence is confidential and is solely for the intended >recipient(s). If you are not the intended recipient, you must not use, >disclose, copy, distribute or retain this message or any part of it. If you >are not the intended recipient please delete this correspondence from your >system and notify the sender immediately. > >No warranty is given that this correspondence is free from any virus. In >keeping with good computer practice, you should ensure that it is actually >virus free. E-mail messages may be subject to delays, non-delivery and >unauthorised alterations therefore, information expressed in this message >is >not given or endorsed by Open and Direct Group Limited unless otherwise >notified by our duly authorised representative independent of this message. > >Open and Direct Group Limited is a limited company registered in United >Kingdom under number 4390810 whose registered office is at 10 Norwich >Street, London, EC4A 1BD > >-- >u2-users mailing list >[EMAIL PROTECTED] >http://www.oliver.com/mailman/listinfo/u2-users > > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.595 / Virus Database: 378 - Release Date: 25/02/2004 > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.595 / Virus Database: 378 - Release Date: 25/02/2004 -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Uniobjects & Asp
Sounds like a Redback task. Fully thread safe, and totally scalable. Mike R. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cooper, Rudy Sent: Thursday, February 26, 2004 4:46 PM To: [EMAIL PROTECTED] Subject: Uniobjects & Asp Hello Everyone, I have a requirement to use Asp with Uniobjects. Our OS is W2K and the backend is UV 10.0.10. I was thinking about creating ActiveX Dll's in VB6 that would do things like create a UV session, instantiate subr object, etc. I read in the u2-users list archive something to the effect of Uniobjects not being thread safe. Does that still hold true ? If so how do you make it thread safe ? thx, rudy -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: UniCommand via UniObjects (Java)
Donald, Shame on you. We're technologists. We don't *read* questions or *listen* to questions, we are much to busy *answering* them. After all, anyone can read and listen. - Charles 'Tongue Firmly in Cheek' Barouch Donald Kibbey wrote: Thanks to all who have responded. I didn't realize that you could/should stick "PA" in front of such a list?!? The little project I was working on was due yesterday, so I ended up just running the QSELECT and filtering the resulting list within the C# program. The list consisted of an invoice number tacked onto a client number and the program already had the invoice number as a variable. The manual actually states only one command at a time, so it's not like this is a bug or anything. Just that I have grown used to sticking 2-3 commands together with an @FM character and capturing the result. And I know for a fact you don't need the PA in front, at least not with Pick flavor UniVerse. Don Kibbey Financial Systems Manager Finnegan, Henderson, Farabow, Garrett & Dunner LLP (202) 216-5032 [EMAIL PROTECTED] 02/25/04 05:41AM >>> I would actually try sending PA @FM QSELECT @FM SSELECT Dunno whether it would work, but if sending an @FM-delimited list of commands screws up by giving all the rest of the string to the first command, maybe making the first command PA (to invoke the paragraph processor) would achieve exactly what he wants? I never realised before I started reading cdp/oliver that you didn't need PA at the start of an @FM list called by EXECUTE, so that's the way I've always done things. Cheers, Wol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Walker Sent: 24 February 2004 21:25 To: U2 Users Discussion List Subject: RE: UniCommand via UniObjects (Java) I believe he can just call a paragraph such PARAGRAPH 12345 Where PARAGRAPH is the following VOC entry PA * <> QSELECT CLIENT.XREF "<>" SSELECT AR.TR BY MATTER WITH INVOICE = "<>" Phil Walker +64 21 336294 [EMAIL PROTECTED] infocusp limited \\ PO Box 77032, Auckland New Zealand -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dawn M. Wolthuis Sent: Wednesday, February 25, 2004 10:16 AM To: 'U2 Users Discussion List' Subject: RE: UniCommand via UniObjects (Java) I think you can put the commands in a single paragraph and run that from UniObjects. You'll have to pass in the DATA to the paragraph (since I figure that 12345 is the value of a variable) and I haven't tried that with UOJ, but I suspect others have. Good luck. --dawn Dawn M. Wolthuis Tincat Group, Inc. www.tincat-group.com Take and give some delight today. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Donald Kibbey Sent: Tuesday, February 24, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: UniCommand via UniObjects (Java) I'm attempting to send a compound command with the UniCommand object and have hit what looks like a documented limitation. Before I go off and rethink how I'm doing this, I thought I'd ask to make sure this really won't work. What I'm attempting is to run something like this under UniObjects. QSELECT CLIENT.XREF "12345" :@FM: SSELECT AR.TR BY MATTER WITH INVOICE = "12345" On this system, doing this results in a very quick selection of a couple hundred records out of the AR.TR file. But, the docs for UniObjects say only one command at a time. Does this mean that sticking a couple commands together like this is just not possible? I've tried it and it looks like the QSELECT is being attempted with all parts of the command string. If it won't work, I suppose I'll be reduced to writing up a stub of a program to do the same thing and just call it from the UniObjects side of things. But, if there's a better way, I'm all ears. Thanks, -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: UniCommand via UniObjects (Java)
This doesn't seem to work with UniObjects, but is something I do all the time from Basic, so just wrote a subroutine to accept an @FM delimited list of commands and execute it, and then call that subroutine from Objects. Brian On Wed, 25 Feb 2004 10:41:37 - "Anthony Youngman" <[EMAIL PROTECTED]> wrote: I would actually try sending PA @FM QSELECT @FM SSELECT Dunno whether it would work, but if sending an @FM-delimited list of commands screws up by giving all the rest of the string to the first command, maybe making the first command PA (to invoke the paragraph processor) would achieve exactly what he wants? I never realised before I started reading cdp/oliver that you didn't need PA at the start of an @FM list called by EXECUTE, so that's the way I've always done things. Cheers, Wol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Walker Sent: 24 February 2004 21:25 To: U2 Users Discussion List Subject: RE: UniCommand via UniObjects (Java) I believe he can just call a paragraph such PARAGRAPH 12345 Where PARAGRAPH is the following VOC entry PA * <> QSELECT CLIENT.XREF "<>" SSELECT AR.TR BY MATTER WITH INVOICE = "<>" Phil Walker +64 21 336294 [EMAIL PROTECTED] infocusp limited \\ PO Box 77032, Auckland New Zealand -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dawn M. Wolthuis Sent: Wednesday, February 25, 2004 10:16 AM To: 'U2 Users Discussion List' Subject: RE: UniCommand via UniObjects (Java) I think you can put the commands in a single paragraph and run that from UniObjects. You'll have to pass in the DATA to the paragraph (since I figure that 12345 is the value of a variable) and I haven't tried that with UOJ, but I suspect others have. Good luck. --dawn Dawn M. Wolthuis Tincat Group, Inc. www.tincat-group.com Take and give some delight today. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Donald Kibbey Sent: Tuesday, February 24, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: UniCommand via UniObjects (Java) I'm attempting to send a compound command with the UniCommand object and have hit what looks like a documented limitation. Before I go off and rethink how I'm doing this, I thought I'd ask to make sure this really won't work. What I'm attempting is to run something like this under UniObjects. QSELECT CLIENT.XREF "12345" :@FM: SSELECT AR.TR BY MATTER WITH INVOICE = "12345" On this system, doing this results in a very quick selection of a couple hundred records out of the AR.TR file. But, the docs for UniObjects say only one command at a time. Does this mean that sticking a couple commands together like this is just not possible? I've tried it and it looks like the QSELECT is being attempted with all parts of the command string. If it won't work, I suppose I'll be reduced to writing up a stub of a program to do the same thing and just call it from the UniObjects side of things. But, if there's a better way, I'm all ears. Thanks, -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users *** This transmission is intended for the named recipient only. It may contain private and confidential information. If this has come to you in error you must not act on anything disclosed in it, nor must you copy it, modify it, disseminate it in any way, or show it to anyone. Please e-mail the sender to inform us of the transmission error or telephone ECA International immediately and delete the e-mail from your information system. Telephone numbers for ECA International offices are: Sydney +61 (0)2 9911 7799, Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 2333. *** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users This email was checked by MessageLabs SkyScan before entering Microgen. This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the
RE: UniCommand via UniObjects (Java)
Thanks to all who have responded. I didn't realize that you could/should stick "PA" in front of such a list?!? The little project I was working on was due yesterday, so I ended up just running the QSELECT and filtering the resulting list within the C# program. The list consisted of an invoice number tacked onto a client number and the program already had the invoice number as a variable. The manual actually states only one command at a time, so it's not like this is a bug or anything. Just that I have grown used to sticking 2-3 commands together with an @FM character and capturing the result. And I know for a fact you don't need the PA in front, at least not with Pick flavor UniVerse. Don Kibbey Financial Systems Manager Finnegan, Henderson, Farabow, Garrett & Dunner LLP (202) 216-5032 >>> [EMAIL PROTECTED] 02/25/04 05:41AM >>> I would actually try sending PA @FM QSELECT @FM SSELECT Dunno whether it would work, but if sending an @FM-delimited list of commands screws up by giving all the rest of the string to the first command, maybe making the first command PA (to invoke the paragraph processor) would achieve exactly what he wants? I never realised before I started reading cdp/oliver that you didn't need PA at the start of an @FM list called by EXECUTE, so that's the way I've always done things. Cheers, Wol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Walker Sent: 24 February 2004 21:25 To: U2 Users Discussion List Subject: RE: UniCommand via UniObjects (Java) I believe he can just call a paragraph such PARAGRAPH 12345 Where PARAGRAPH is the following VOC entry PA * <> QSELECT CLIENT.XREF "<>" SSELECT AR.TR BY MATTER WITH INVOICE = "<>" Phil Walker +64 21 336294 [EMAIL PROTECTED] infocusp limited \\ PO Box 77032, Auckland New Zealand -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dawn M. Wolthuis Sent: Wednesday, February 25, 2004 10:16 AM To: 'U2 Users Discussion List' Subject: RE: UniCommand via UniObjects (Java) I think you can put the commands in a single paragraph and run that from UniObjects. You'll have to pass in the DATA to the paragraph (since I figure that 12345 is the value of a variable) and I haven't tried that with UOJ, but I suspect others have. Good luck. --dawn Dawn M. Wolthuis Tincat Group, Inc. www.tincat-group.com Take and give some delight today. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Donald Kibbey Sent: Tuesday, February 24, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: UniCommand via UniObjects (Java) I'm attempting to send a compound command with the UniCommand object and have hit what looks like a documented limitation. Before I go off and rethink how I'm doing this, I thought I'd ask to make sure this really won't work. What I'm attempting is to run something like this under UniObjects. QSELECT CLIENT.XREF "12345" :@FM: SSELECT AR.TR BY MATTER WITH INVOICE = "12345" On this system, doing this results in a very quick selection of a couple hundred records out of the AR.TR file. But, the docs for UniObjects say only one command at a time. Does this mean that sticking a couple commands together like this is just not possible? I've tried it and it looks like the QSELECT is being attempted with all parts of the command string. If it won't work, I suppose I'll be reduced to writing up a stub of a program to do the same thing and just call it from the UniObjects side of things. But, if there's a better way, I'm all ears. Thanks, -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users *** This transmission is intended for the named recipient only. It may contain private and confidential information. If this has come to you in error you must not act on anything disclosed in it, nor must you copy it, modify it, disseminate it in any way, or show it to anyone. Please e-mail the sender to inform us of the transmission error or telephone ECA International immediately and delete the e-mail from your information system. Telephone numbers for ECA International offices are: Sydney +61 (0)2 9911 7799, Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 2333. *** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UniCommand via UniObjects (Java)
I would actually try sending PA @FM QSELECT @FM SSELECT Dunno whether it would work, but if sending an @FM-delimited list of commands screws up by giving all the rest of the string to the first command, maybe making the first command PA (to invoke the paragraph processor) would achieve exactly what he wants? I never realised before I started reading cdp/oliver that you didn't need PA at the start of an @FM list called by EXECUTE, so that's the way I've always done things. Cheers, Wol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Walker Sent: 24 February 2004 21:25 To: U2 Users Discussion List Subject: RE: UniCommand via UniObjects (Java) I believe he can just call a paragraph such PARAGRAPH 12345 Where PARAGRAPH is the following VOC entry PA * <> QSELECT CLIENT.XREF "<>" SSELECT AR.TR BY MATTER WITH INVOICE = "<>" Phil Walker +64 21 336294 [EMAIL PROTECTED] infocusp limited \\ PO Box 77032, Auckland New Zealand -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dawn M. Wolthuis Sent: Wednesday, February 25, 2004 10:16 AM To: 'U2 Users Discussion List' Subject: RE: UniCommand via UniObjects (Java) I think you can put the commands in a single paragraph and run that from UniObjects. You'll have to pass in the DATA to the paragraph (since I figure that 12345 is the value of a variable) and I haven't tried that with UOJ, but I suspect others have. Good luck. --dawn Dawn M. Wolthuis Tincat Group, Inc. www.tincat-group.com Take and give some delight today. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Donald Kibbey Sent: Tuesday, February 24, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: UniCommand via UniObjects (Java) I'm attempting to send a compound command with the UniCommand object and have hit what looks like a documented limitation. Before I go off and rethink how I'm doing this, I thought I'd ask to make sure this really won't work. What I'm attempting is to run something like this under UniObjects. QSELECT CLIENT.XREF "12345" :@FM: SSELECT AR.TR BY MATTER WITH INVOICE = "12345" On this system, doing this results in a very quick selection of a couple hundred records out of the AR.TR file. But, the docs for UniObjects say only one command at a time. Does this mean that sticking a couple commands together like this is just not possible? I've tried it and it looks like the QSELECT is being attempted with all parts of the command string. If it won't work, I suppose I'll be reduced to writing up a stub of a program to do the same thing and just call it from the UniObjects side of things. But, if there's a better way, I'm all ears. Thanks, -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users *** This transmission is intended for the named recipient only. It may contain private and confidential information. If this has come to you in error you must not act on anything disclosed in it, nor must you copy it, modify it, disseminate it in any way, or show it to anyone. Please e-mail the sender to inform us of the transmission error or telephone ECA International immediately and delete the e-mail from your information system. Telephone numbers for ECA International offices are: Sydney +61 (0)2 9911 7799, Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 2333. *** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UniCommand via UniObjects (Java)
Donald Kibbey wrote: > I'm attempting to send a compound command with the UniCommand > object and have hit what looks like a documented limitation. > Before I go off and rethink how I'm doing this, I thought I'd > ask to make sure this really won't work. > What I'm attempting is to run something like this under UniObjects. > QSELECT CLIENT.XREF "12345" :@FM: SSELECT AR.TR BY MATTER > WITH INVOICE = "12345" Is there some problem with executing two UniCommands in succession? I try to minimize the RPC calls, but if it's just two I probably wouldn't move it up to the database server. [not tested] uCommand = uSession.command ("QSELECT CLIENT.XREF 12345"); uCommand.exec(); uCommand = uSession.command ("SSELECT AR.TR BY MATTER WITH INVOICE = 12345"); uCommand.exec(); (I'm not sure if UniCommands are mutable, you might be able to do uCommand.setCommand() for the second one.) Since you're in the same session, it should keep the active select list. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UniCommand via UniObjects (Java)
I believe he can just call a paragraph such PARAGRAPH 12345 Where PARAGRAPH is the following VOC entry PA * <> QSELECT CLIENT.XREF "<>" SSELECT AR.TR BY MATTER WITH INVOICE = "<>" Phil Walker +64 21 336294 [EMAIL PROTECTED] infocusp limited \\ PO Box 77032, Auckland New Zealand -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dawn M. Wolthuis Sent: Wednesday, February 25, 2004 10:16 AM To: 'U2 Users Discussion List' Subject: RE: UniCommand via UniObjects (Java) I think you can put the commands in a single paragraph and run that from UniObjects. You'll have to pass in the DATA to the paragraph (since I figure that 12345 is the value of a variable) and I haven't tried that with UOJ, but I suspect others have. Good luck. --dawn Dawn M. Wolthuis Tincat Group, Inc. www.tincat-group.com Take and give some delight today. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Donald Kibbey Sent: Tuesday, February 24, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: UniCommand via UniObjects (Java) I'm attempting to send a compound command with the UniCommand object and have hit what looks like a documented limitation. Before I go off and rethink how I'm doing this, I thought I'd ask to make sure this really won't work. What I'm attempting is to run something like this under UniObjects. QSELECT CLIENT.XREF "12345" :@FM: SSELECT AR.TR BY MATTER WITH INVOICE = "12345" On this system, doing this results in a very quick selection of a couple hundred records out of the AR.TR file. But, the docs for UniObjects say only one command at a time. Does this mean that sticking a couple commands together like this is just not possible? I've tried it and it looks like the QSELECT is being attempted with all parts of the command string. If it won't work, I suppose I'll be reduced to writing up a stub of a program to do the same thing and just call it from the UniObjects side of things. But, if there's a better way, I'm all ears. Thanks, -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UniCommand via UniObjects (Java)
I think you can put the commands in a single paragraph and run that from UniObjects. You'll have to pass in the DATA to the paragraph (since I figure that 12345 is the value of a variable) and I haven't tried that with UOJ, but I suspect others have. Good luck. --dawn Dawn M. Wolthuis Tincat Group, Inc. www.tincat-group.com Take and give some delight today. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Donald Kibbey Sent: Tuesday, February 24, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: UniCommand via UniObjects (Java) I'm attempting to send a compound command with the UniCommand object and have hit what looks like a documented limitation. Before I go off and rethink how I'm doing this, I thought I'd ask to make sure this really won't work. What I'm attempting is to run something like this under UniObjects. QSELECT CLIENT.XREF "12345" :@FM: SSELECT AR.TR BY MATTER WITH INVOICE = "12345" On this system, doing this results in a very quick selection of a couple hundred records out of the AR.TR file. But, the docs for UniObjects say only one command at a time. Does this mean that sticking a couple commands together like this is just not possible? I've tried it and it looks like the QSELECT is being attempted with all parts of the command string. If it won't work, I suppose I'll be reduced to writing up a stub of a program to do the same thing and just call it from the UniObjects side of things. But, if there's a better way, I'm all ears. Thanks, -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UniCommand via UniObjects (Java)
I think it would be better to put it into a paragraph so that you can handle errors from individual commands anyway. Phil Walker +64 21 336294 [EMAIL PROTECTED] infocusp limited \\ PO Box 77032, Auckland New Zealand -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 9:30 AM To: [EMAIL PROTECTED] Subject: RE: UniCommand via UniObjects (Java) Sorry, I haven't tried this with Uniobjects, perhaps it's stripping the @FM somehow?? You could always put the commands into a paragraph and run that - or write a program that executes all of the commands that it is sent... good luck -- Colin Alfke Calgary, Alberta Canada "Just because something isn't broken doesn't mean that you can't fix it" Stu Pickles >-Original Message- >From: Donald Kibbey [mailto:[EMAIL PROTECTED] > >I'm attempting to send a compound command with the UniCommand >object and have hit what looks like a documented limitation. >Before I go off and rethink how I'm doing this, I thought I'd >ask to make sure this really won't work. > >What I'm attempting is to run something like this under UniObjects. > >QSELECT CLIENT.XREF "12345" :@FM: SSELECT AR.TR BY MATTER WITH >INVOICE = "12345" > >On this system, doing this results in a very quick selection >of a couple hundred records out of the AR.TR file. But, the >docs for UniObjects say only one command at a time. Does this >mean that sticking a couple commands together like this is >just not possible? I've tried it and it looks like the >QSELECT is being attempted with all parts of the command string. > >If it won't work, I suppose I'll be reduced to writing up a >stub of a program to do the same thing and just call it from >the UniObjects side of things. But, if there's a better way, >I'm all ears. > >Thanks, -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: UniCommand via UniObjects (Java)
Sorry, I haven't tried this with Uniobjects, perhaps it's stripping the @FM somehow?? You could always put the commands into a paragraph and run that - or write a program that executes all of the commands that it is sent... good luck -- Colin Alfke Calgary, Alberta Canada "Just because something isn't broken doesn't mean that you can't fix it" Stu Pickles >-Original Message- >From: Donald Kibbey [mailto:[EMAIL PROTECTED] > >I'm attempting to send a compound command with the UniCommand >object and have hit what looks like a documented limitation. >Before I go off and rethink how I'm doing this, I thought I'd >ask to make sure this really won't work. > >What I'm attempting is to run something like this under UniObjects. > >QSELECT CLIENT.XREF "12345" :@FM: SSELECT AR.TR BY MATTER WITH >INVOICE = "12345" > >On this system, doing this results in a very quick selection >of a couple hundred records out of the AR.TR file. But, the >docs for UniObjects say only one command at a time. Does this >mean that sticking a couple commands together like this is >just not possible? I've tried it and it looks like the >QSELECT is being attempted with all parts of the command string. > >If it won't work, I suppose I'll be reduced to writing up a >stub of a program to do the same thing and just call it from >the UniObjects side of things. But, if there's a better way, >I'm all ears. > >Thanks, -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
UniCommand via UniObjects (Java)
I'm attempting to send a compound command with the UniCommand object and have hit what looks like a documented limitation. Before I go off and rethink how I'm doing this, I thought I'd ask to make sure this really won't work. What I'm attempting is to run something like this under UniObjects. QSELECT CLIENT.XREF "12345" :@FM: SSELECT AR.TR BY MATTER WITH INVOICE = "12345" On this system, doing this results in a very quick selection of a couple hundred records out of the AR.TR file. But, the docs for UniObjects say only one command at a time. Does this mean that sticking a couple commands together like this is just not possible? I've tried it and it looks like the QSELECT is being attempted with all parts of the command string. If it won't work, I suppose I'll be reduced to writing up a stub of a program to do the same thing and just call it from the UniObjects side of things. But, if there's a better way, I'm all ears. Thanks, -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Help with UniObjects
Try checking the .error property on your file object. UmFooFoo Murphy wrote: Hello List. I'm hoping that someone out there can help me. I have an application in Visual Basic that uses UniObjects. There is a text box that prompts for a record id. In the lost focus event of the record id's text box, I am opening a file, reading a record, and populating all of the other text boxes on the form. At the end of the SUB, it closes the file, and disconnects from the ObjSession. Sounds easy enough right? Wrong! The first pass through goes fine. I enter an ID and the boxes are populated. However, when I go back to enter a second record id, it appears that the .OPENFILE method in the lost focus event fails. The FileObj is set to NOTHING. However, the .ERROR property of the ObjSession is set to 0 (zero) so it also seems that no error occurred. Either way, I cannot use the File Object as all of the subsequent methods of the File Object fails. I have searched the UVDocs documentation and, according to it, I am using all of the objects and methods correctly. Universe 9.6.1.3 on NT Thanks, in advance, for any help that anyone can offer. _ Rethink your business approach for the new year with the helpful tips here. http://special.msn.com/bcentral/prep04.armx ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Help with UniObjects
Are you connecting each time you access the universe database? Sounds a bit of over kill, why not just reuse the connection? We came across a feature that caused us some headaches, after you use a method you MUST check for errors, if you don't things don't work. Les -Original Message- From: UmFooFoo Murphy [mailto:[EMAIL PROTECTED] Sent: 29 January 2004 04:44 To: [EMAIL PROTECTED] Subject: Help with UniObjects Hello List. I'm hoping that someone out there can help me. I have an application in Visual Basic that uses UniObjects. There is a text box that prompts for a record id. In the lost focus event of the record id's text box, I am opening a file, reading a record, and populating all of the other text boxes on the form. At the end of the SUB, it closes the file, and disconnects from the ObjSession. Sounds easy enough right? Wrong! The first pass through goes fine. I enter an ID and the boxes are populated. However, when I go back to enter a second record id, it appears that the .OPENFILE method in the lost focus event fails. The FileObj is set to NOTHING. However, the .ERROR property of the ObjSession is set to 0 (zero) so it also seems that no error occurred. Either way, I cannot use the File Object as all of the subsequent methods of the File Object fails. I have searched the UVDocs documentation and, according to it, I am using all of the objects and methods correctly. Universe 9.6.1.3 on NT Thanks, in advance, for any help that anyone can offer. _ Rethink your business approach for the new year with the helpful tips here. http://special.msn.com/bcentral/prep04.armx ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users This e-mail and any attachments are confidential and intended solely for the use of the addressee only. If you have received this message in error, you must not copy, distribute or disclose the contents; please notify the sender immediately and delete the message. This message is attributed to the sender and may not necessarily reflect the view of Travis Perkins plc or its subsidiaries (Travis Perkins). Agreements binding Travis Perkins may not be concluded by means of e-mail communication. E-mail transmissions are not secure and Travis Perkins accepts no responsibility for changes made to this message after it was sent. Whilst steps have been taken to ensure that this message is virus free, Travis Perkins accepts no liability for infection and recommends that you scan this e-mail and any attachments. Part of Travis Perkins plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, Northampton, NN5 7UG. ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Help with UniObjects
Are you using the control or an object in code? We switched from the control to the object because the latter was more stable. You MUST check the error property after EVERY UniObjects function call. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of UmFooFoo Murphy Sent: Thursday, January 29, 2004 12:44 PM To: [EMAIL PROTECTED] Subject: Help with UniObjects Hello List. I'm hoping that someone out there can help me. I have an application in Visual Basic that uses UniObjects. There is a text box that prompts for a record id. In the lost focus event of the record id's text box, I am opening a file, reading a record, and populating all of the other text boxes on the form. At the end of the SUB, it closes the file, and disconnects from the ObjSession. Sounds easy enough right? Wrong! The first pass through goes fine. I enter an ID and the boxes are populated. However, when I go back to enter a second record id, it appears that the .OPENFILE method in the lost focus event fails. The FileObj is set to NOTHING. However, the .ERROR property of the ObjSession is set to 0 (zero) so it also seems that no error occurred. Either way, I cannot use the File Object as all of the subsequent methods of the File Object fails. I have searched the UVDocs documentation and, according to it, I am using all of the objects and methods correctly. Universe 9.6.1.3 on NT Thanks, in advance, for any help that anyone can offer. _ Rethink your business approach for the new year with the helpful tips here. http://special.msn.com/bcentral/prep04.armx ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Help with UniObjects
Check the vb code for a fatal. Make sure you have some on error statements in the subroutines. It sounds like something has caused a fatal and continued due to a resume next statement, but that the ObjSessiont is now nothing. Check and see if the ObjSessionis still active or is now set for nothing. Also this could be that the ObjSession is in a class that was dropped after the first run through. There is a quirk in VBA for excel which can cause the ObjSession to be set to nothing. For whatever reason, your VB code has probably caused the ObjSession to be set to nothing, so if you can find that yoou will proabably resolve the issue. Regards David Jordan Managing Consultant [EMAIL PROTECTED] Dacono Holdings Pty Ltd Business & Technology Consulting PO Box 909 Lane Cove NSW 2066 Australia Ph 61 2 9418 8329 Fax 61 2 9427 2371 www.dacono.com.au -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of UmFooFoo Murphy Sent: Thursday, 29 January 2004 3:44 PM To: [EMAIL PROTECTED] Subject: Help with UniObjects Hello List. I'm hoping that someone out there can help me. I have an application in Visual Basic that uses UniObjects. There is a text box that prompts for a record id. In the lost focus event of the record id's text box, I am opening a file, reading a record, and populating all of the other text boxes on the form. At the end of the SUB, it closes the file, and disconnects from the ObjSession. Sounds easy enough right? Wrong! The first pass through goes fine. I enter an ID and the boxes are populated. However, when I go back to enter a second record id, it appears that the .OPENFILE method in the lost focus event fails. The FileObj is set to NOTHING. However, the .ERROR property of the ObjSession is set to 0 (zero) so it also seems that no error occurred. Either way, I cannot use the File Object as all of the subsequent methods of the File Object fails. I have searched the UVDocs documentation and, according to it, I am using all of the objects and methods correctly. Universe 9.6.1.3 on NT Thanks, in advance, for any help that anyone can offer. _ Rethink your business approach for the new year with the helpful tips here. http://special.msn.com/bcentral/prep04.armx ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Help with UniObjects
Hello List. I'm hoping that someone out there can help me. I have an application in Visual Basic that uses UniObjects. There is a text box that prompts for a record id. In the lost focus event of the record id's text box, I am opening a file, reading a record, and populating all of the other text boxes on the form. At the end of the SUB, it closes the file, and disconnects from the ObjSession. Sounds easy enough right? Wrong! The first pass through goes fine. I enter an ID and the boxes are populated. However, when I go back to enter a second record id, it appears that the .OPENFILE method in the lost focus event fails. The FileObj is set to NOTHING. However, the .ERROR property of the ObjSession is set to 0 (zero) so it also seems that no error occurred. Either way, I cannot use the File Object as all of the subsequent methods of the File Object fails. I have searched the UVDocs documentation and, according to it, I am using all of the objects and methods correctly. Universe 9.6.1.3 on NT Thanks, in advance, for any help that anyone can offer. _ Rethink your business approach for the new year with the helpful tips here. http://special.msn.com/bcentral/prep04.armx ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: Uniobjects in C#
Hi Carl , forget about using uniobjects in c# , its not worth the hassle - we never did get somethings to work and I beleive command was one of them. use the J# conversion tool ( jbimp.exe ) to convert the UOJ packages into .NET dlls and reference these in your projects. gerry - Original Message - From: "Carl Sadlier" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 27, 2004 3:20 PM Subject: Uniobjects in C# > Has any one used UniObjects and C#? I am a VB programmer and having a hard > time defining, right now, the Command method of the unioaiflib control. > Thanks, > Carl > ___ > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Uniobjects in C#
Has any one used UniObjects and C#? I am a VB programmer and having a hard time defining, right now, the Command method of the unioaiflib control. Thanks, Carl ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users