[U2] UniObjects / Read Timeout

2007-03-12 Thread Jeff Powell
I am running a long select via UniQuery and I'm getting a timeout. Is there a parameter I can change to increase the timeout? This operation will be done during the server's low utilization period. I'm using uniobjects for java on a linux (rhel es4.5) server connecting to unidata on a rs/6000 aix

Re: [U2] Universe/UniObjects and Visual Studio

2007-03-11 Thread Jeff Powell
Anthony, Here is a class I created for VB6 to retrieve line item information for a given order. I don't know about using any toolbox items but I do add the resources to the project then create the object. This class is actually used at my company to create a label that is affixed to a product.

Re: [U2] Installing UniObjects on Linux

2006-08-09 Thread Jeff Powell
Adrian, It may have something to do with my applet security posts. I was advised to use a jar rather than zip in my applet and it helped. I also know that you can't gcj compile the zip. Does that help? FYI I ditched the applet due to finding a better method of validating using java scripts and s

[U2] Printqueue question

2006-07-25 Thread Jeff Powell
I am looking for some suggestions on how to get an email notification from AIX when a print queue goes down rather than splashing an error message all over the user's SB+ screen. Has anyone done this before? I have an elaborate cron job set up to check the queues, parse the output and send a mess

Re: [U2] Please Post a VB 2005 Sample

2006-07-24 Thread Jeff Powell
I'm not sure what you need but here is a sample of reading a MV and writing either a new record or an additional MV. This is a VB6 example for UniData HTH VERSION 5.00 Object = "{3ED50B81-0667-11D4-BE19-00104B2A91CE}#1.0#0"; "uniobjects.dll" Begin VB.Form Form1 Caption = "Form1"

[U2] Solution to UniObjects security in an applet

2006-06-21 Thread Jeff Powell
Thank you to everyone who helped on this issue. My applet is now working. For those who may need to do this in the future I've summarized the issues below. Problem 1:Proxy server starting then dying without a whimper. Rename asjava.zip to asjava.jar - Thanks John Hester P

Re: [U2] UniObjects security in an applet

2006-06-16 Thread Jeff Powell
Wendy, The applet was trying to connect to localhost (thanks John H.). I changed the settings there and now I'm talking to my proxy. I now have a problem with my Proxy configuration. I am getting a exception on applets and java applications alike. asjava.uniobjects.UniSessionException: The RPC fa

Re: [U2] UniObjects security in an applet

2006-06-15 Thread Jeff Powell
Almost there ... The proxy server is running now that I'm using a jar instead of zip. I am, however, still getting the java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:31448 connect,resolve) from the IE and firefox browsers on client Win/Lin PC's. Running f

Re: [U2] UniObjects security in an applet

2006-06-14 Thread Jeff Powell
Definitely nobody home there. I'm pretty sure that uniproxy is bombing out. It does not give any helpful information or even a log. Thanks, Jeff On Wed, 2006-06-14 at 13:04 -0700, John Hester wrote: > Jeff Powell wrote: > > Here is my java command > > > > java -cp .

Re: [U2] UniObjects security in an applet

2006-06-14 Thread Jeff Powell
Thanks everyone. This is my first applet so I'm in a steep learning curve. My applet now signed but now I'm having trouble with starting the proxy server on my Linux boxes (FC5 & RHEL ES4) . Any suggestions? Thanks, Jeff Here is my java command java -cp ./asjava_p.zip:./asjava.zip:/usr/lib/jv

Re: [U2] UniObjects security in an applet

2006-06-13 Thread Jeff Powell
My servlets, java and VB apps run fine without any proxy server. For example the same Windows client PC will run a VB program but not an applet in IE6. (scratch, scratch) Thanks, Jeff On Tue, 2006-06-13 at 13:46 -0700, John Hester wrote: > I've only used UOJ with servlets, but I believe with a

[U2] UniObjects security in an applet

2006-06-13 Thread Jeff Powell
Has anyone implemented UniObjects in an Applet? I am getting a java.security.AccessControlException when I attempt to connect. Can someone tell me what I need to do to set the permissions? IE and Firefox both have issues. Thanks, Jeff --- u2-users mailing list u2-users@listserver.u2ug.org T

Re: [U2] [UV] Veritas and UniVerse?

2006-05-24 Thread Jeff Powell
David, On Unidata/AIX box we have to pause the database before we do backups. I'm not sure how this will relate to the universe environment. HTH Jeff On Tue, 2006-05-23 at 17:27 -0500, David Wolverton wrote: > I have a client telling me that the UniVerse server is crashing when Veritas > Back

[U2] UniObjects question

2006-04-01 Thread Jeff Powell
How do I modify the data in a UniDataSet? I see methods that get a copy of the UniDynArray in the Set but I haven't seen any that can modify the array. I am reading a set of records returning a UniDataSet and I want to write a modified version of that UniDataSet back to the file. Thanks in advanc

Re: [U2] Universe Server vs Enterprise Editions

2006-03-07 Thread Jeff Powell
Steve, We did this for the same reasons. We did have some issues and needed to open a TAC through our ERP vendor to UniData. With their advise we moved to SB+ 5.3.8 to make it work. Device licensing is working for us. We are on UniData / AIX. Jeff On Tue, 2006-03-07 at 07:53 -0500, Sirulnick,

RE: [U2] image collection for storage...

2006-03-02 Thread Jeff Powell
Perhaps then you already know about Xsane? You might find camera listed on this site that is compatible with SANE. http://www.sane-project.org/sane-backends.html --Jeff On Thu, 2006-03-02 at 12:31 -0500, George Gallen wrote: > OK. Now that you have access to your camera, can you still take a pic

RE: [U2] image collection for storage...

2006-03-02 Thread Jeff Powell
George, Most cameras support USB and give you the choice of a HardDisk interface. I have a Casio 3.2MP. I can either take out the SD card or cradle it in it's stand and connect to my PC through USB. I then mount this device and read the files. using this syntax: mount /mnt/usb1 This assumes th

[U2] UniObject file write in VB

2006-03-01 Thread Jeff Powell
I am creating a VB project that accesses multivalues. How do I create a new record? Here is my approach. OpenFile ReadRecord Record Nothing ? (this is not nothing with new record) or Record.Count=0? No - get MV count +1, update field values and write -- this works Yes - create a new record

Re: [U2] Creating a new record from UniObjects

2006-02-22 Thread Jeff Powell
. Thanks again. Jeff On Wed, 2006-02-22 at 16:43 -0700, Wendy Smoak wrote: > On 2/22/06, Jeff Powell <[EMAIL PROTECTED]> wrote: > > > I would like know how to create a new record from UniObjects for Java. > > > > Any ideas would be appreciated. > > What do yo

[U2] Creating a new record from UniObjects

2006-02-22 Thread Jeff Powell
Hello all, I would like know how to create a new record from UniObjects for Java. Any ideas would be appreciated. Thanks, Jeff --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] User IDs

2006-02-15 Thread Jeff Powell
Those are system user ids. As George mentioned you can change the login script. You can easily see what they currently have by doing a "finger" command from the unix console. finger lp Login name: lp Directory: /var/spool/lpShell: /bin/false No Plan. HTH Jeff --- u2-users mai

RE: [U2] eval question

2006-01-25 Thread Jeff Powell
Colin, This worked perfectly. Thanks, > You can use any expression valid in a virtual attribute. So: > > list thisfile eval > "EXTRACT(@RECORD,40,0,0):'|':EXTRACT(@RECORD,53,0,0):'|':EXTRACT(@RECORD > ,<>,0,0)" --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please vi

[U2] eval question

2006-01-25 Thread Jeff Powell
I am trying to use eval to format a response from a uniquery list. This works if I use dictionary items but for some attribute there either is not a dictionary or it is pointing to an incorrect attribute. How can I use an attribute directly? Hypothetical Dictionary Example: list thisfile eval "p

Re: [U2] Java Platform Struggles

2006-01-23 Thread Jeff Powell
Bill, We are using UniObjects in web based (Tomcat), linux console (native compiled java), and Visual Basic applications. I use NetBeans as the development environment for web and console applications. HTH Jeff On Mon, 2006-01-23 at 10:46 -0500, Brutzman, Bill wrote: > I am writing to inquire.

[U2] Backup, dbpause & 24/7 operation

2006-01-06 Thread Jeff Powell
As our company grows we are getting more pressure to extend our operation through the night. We have maintained a nightly backup that does a dbpause to suspend unidata. This irritates our night shift people since they can no longer use the system. How do those companies who operate 24/7 get around

RE: [U2] openseq question

2006-01-05 Thread Jeff Powell
Thank you all. It is working now with the VOC pointer. It is much simpler now that I don't care what account I'm in. One final question. I have downloaded many of the pdfs ( UniBasic command ref., Using unidata, SB+ Solutions, ...) from the IBM site but where is this documented? Are there any bo

RE: [U2] openseq question

2006-01-04 Thread Jeff Powell
Thanks again to everyone for all their help. I'm almost there. I want to use the VOC pointer so I created the pointers in my Live and Test VOC files, logged out and back in to ensure I was reading VOC but I'm still not meeting with any success. When I attempt to reference the pointer I get a "Unin

RE: [U2] openseq question

2006-01-04 Thread Jeff Powell
Thank you for all your helpful suggestions. I am now looking at creating a VOC pointer as Kevin suggests below. Actually I'll need to create two pointers one for the "TEST" account and another for the "LIVE" account. I had originally tried the PATH:FILE syntax before I found out that the file nee

RE: [U2] openseq question

2006-01-04 Thread Jeff Powell
No. /tmp is an absolute path. On Wed, 2006-01-04 at 09:47 -0500, Koser, Mike wrote: > Jeff > Is '/tmp' in the VOC? > Mike > > > -Original Message- > From: Jeff Powell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 04, 2006 9:31 AM > To: u

[U2] openseq question

2006-01-04 Thread Jeff Powell
Happy New Year. I am having trouble with the openseq function in UniData. We are operation in Pick mode. Openseq can't find the specified file at path,filename. Is there an assumed prefix? Here is the code frag that is failing. MTR.FILE.PATH='/tmp' OPENSEQ MTR.FILE.PATH, MTR.REC TO F.MTR.ROW.F

RE: [U2] Need to create PS/PDF document with background image.

2006-01-01 Thread Jeff Powell
Currently we've > > scanned a blanked invoice form and saved it as a '.eps' file. > > > > Thanks, > > > > Arthur > > > > - - - - - - - - - - > > Arthur Metherall > > Courier Corporation > > - - - - - - - - - - >

Re: [U2] Fast file transfers

2005-12-28 Thread Jeff Powell
Susan, We are on an AIX platform and we used NFS / CP to move from an IBM F50 to F80 recently. Additionally I use a CRON with find -mtime - 24 and cp to copy anything that has changed in the last 24 hours so that old F50 becomes a standby system. This usually copies within 3 hours over a 100baseT

RE: [U2] OCONV question

2005-12-22 Thread Jeff Powell
Thank you. The answer "MR%4" is nearly unanimous. On Thu, 2005-12-22 at 11:19 -0700, Kevin King wrote: > For 1 --> 0014, use OCONV(value,'MR%4') > > -Kevin > [EMAIL PROTECTED] > http://www.PrecisOnline.com > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please vi

[U2] OCONV question

2005-12-22 Thread Jeff Powell
I want to convert a number so that it always has the same number of digits padded with zeros (1->0001, 14->0014, ...). Which conversion code should I use? Thanks in advance. Jeff --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2] pgsql and unidata basic

2005-12-14 Thread Jeff Powell
gt; > -Original Message- > From: "Jeff Powell"<[EMAIL PROTECTED]> > Sent: 14/12/05 14:01:58 > To: "u2 users group" > Subject: [U2] pgsql and unidata basic > > Is there a way to execute queries to a postgresql database

[U2] pgsql and unidata basic

2005-12-14 Thread Jeff Powell
Is there a way to execute queries to a postgresql database from within a unibasic program? I want to have our pick ticket print routine insert records into a pgsql table. Our system is an IBM RS6000 running AIX 5.3, UniData 6.0, SystemBuilder 5.3.8 and Prelude ADS v18.1. Thanks in advance for any

Re: [U2] File to Table Mapping Uni Objects .NET

2005-12-02 Thread Jeff Powell
Zishan, On our system the files are the tables. I would do something like this to get some records. LIST ORDER WITH CUST.NUM="00012345" ORD.NUM WRITTEN.BY BY ORD.NUM to achieve similar results to select ord.num, written.by from order where cust.num='00012345' order by ord.num I hope this is he

Re: [U2] USB printer on D3

2005-11-28 Thread Jeff Powell
Mark, If you are printing from a *nix platform there may be an issue with the printer driver. I got this information from the linuxprinting.org printer database. The 1020 "does not understand any standard language". "Works with a modified version of the 'foo2zjs' driver". I tried but never got

Re: [U2] UniObjects (uniapi_slave / uniapi_server) process termination/expiration

2005-11-21 Thread Jeff Powell
Make sure you disconnect the session. VB: UniSession.Disconnect Java: ses.disconnect(); On Sun, 2005-11-20 at 10:38 -0500, Andy Pflueger wrote: > Hi all, > > I've just been noticing on our system (Solaris 2.8 / Unidata 6.1.10) > that our apps that use Uniobjects are leaving processes in t

[U2] Modify command

2005-11-01 Thread Jeff Powell
How can I use the modify command to change more than one item in a record? I have two dictionary items I would like to modify but the command returns without any error status or action taken. If this is limited to only one it works fine. The example below is executed through a UniObjects Java pro

Re: [U2] help with multivalue and when

2005-10-11 Thread Jeff Powell
t it as follows: > > ED DICT ORDER.LOG COMBO > 002 ACTION:ACT.DATE > > or to the effect. Insure ACT.DATE is oconv'd D2/ > > Then you would select ORDER.LOG WITH COMBO = "PCK10/15/05" > > My 1 cent. > Mark Johnson > > P.S. Is this RESULTS. Nice

[U2] help with multivalue and when

2005-10-11 Thread Jeff Powell
I am querying a file with multivalued fields but I am not getting a precise enough selection. I want to find only those records where the multivalues for two separate fields meet the criteria within the same index. The file is the order-log file. There is only one record for each order number but

[U2] LIST EVAL and DATES

2005-08-22 Thread Jeff Powell
When I request a date field inside an eval statement the date is returned in the internal numeric format. Is there a function I can use to return the textual format? AIX 5.1 UniData 6.1.8 Uniobjects for Java Thanks in advance. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubsc

RE: [U2] Group By equiv?

2005-07-21 Thread Jeff Powell
Kevin, Yes it is there. I didn't know this file was out there. Thanks. On Thu, 2005-07-21 at 09:37 -0600, Kevin King wrote: > It's not in the MAJOR.GRP file? > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Powe

RE: [U2] Group By equiv?

2005-07-21 Thread Jeff Powell
d into > some other file? Seems like an aweful lot of work to scan 16K+ > records to fill a drop-down list. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Powell > Sent: Wednesday, July 20, 2005 5:13 PM > To: u2-users@l

RE: [U2] Group By equiv?

2005-07-20 Thread Jeff Powell
orting out of > UniQuery. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Powell > Sent: Wednesday, July 20, 2005 3:07 PM > To: u2-users@listserver.u2ug.org > Subject: [U2] Group By equiv? > > Is there a UniQuery equivale

[U2] Group By equiv?

2005-07-20 Thread Jeff Powell
Is there a UniQuery equivalent to the SQL GROUP BY clause? I've tried SSELECT with UNIQUE but it saves only one attribute and then I cannot subsequently list other attributes. UniData version 5.2 UniObjects for Java Web Servlet application. Regards. --- u2-users mailing list u2-users@listser

Re: [U2] delimiter with LIST command?

2005-07-08 Thread Jeff Powell
Brian, That Thanks. Brian, The eval works just as needed. Thanks. --Jeff On Thu, 2005-07-07 at 22:40 +0200, [EMAIL PROTECTED] wrote: > Jeff Powell <[EMAIL PROTECTED]> wrote on 07.07.2005, 20:24:48: > > I am executing a list command via uniojbects and I need to parse th

Re: [U2] delimiter with LIST command?

2005-07-07 Thread Jeff Powell
gle > (non-printable) tab character between the quotes will generate a > tab-delimited file which is very easy to pull into a spreadsheet. > > At 11:24 AM 7/7/2005, Jeff Powell wrote: > >I am executing a list command via uniojbects and I need to parse the > >resulting scr

[U2] delimiter with LIST command?

2005-07-07 Thread Jeff Powell
I am executing a list command via uniojbects and I need to parse the resulting screen output into columns. Is there a way to print a character between each attribute? Thanks. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

<    1   2