Re: [U2] Using PHP

2009-07-31 Thread Brian Leach
... And I've found when teaching UniVerse Basic to died-in-the-wool .Net and C programmers, who tend to comment at the lack of variable declaration or strong typing and the idea that it's an interpreted language, the words 'just like PHP' tends to have a calming effect ... grin I just wish IBM

[U2] ESC in Unidata

2009-07-31 Thread Vaibhav Patil
Please can you tell me the meaning of the following Unidata statement. PRINT ESC:*p170x:ROW:Y:BODYLINE ; What is the significance/use of keyword ESC? -- View this message in context: http://www.nabble.com/ESC-in-Unidata-tp24755334p24755334.html Sent from the U2 - Users mailing list archive at

Re: [U2] ESC in Unidata

2009-07-31 Thread Dave Laansma
It is probably the escape key, ascii 27. This syntax usually is telling a terminal (emulator) or printer to do something special. Each device has its own 'escape sequence' language, as such, that tells it to do different things. The sequence of characters that follow the ESC character are very

Re: [U2] ESC in Unidata

2009-07-31 Thread Dave Laansma
BTW, here the ESC variable can be replaced with CHAR(27) This would accomplish the same thing. David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office:810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com Delivering Products, Services, and Innovative Solutions -Original

Re: [U2] ESC in Unidata

2009-07-31 Thread Israel, John R.
If you dig enough, you will find that ESC is defined somewhere as CHAR(27). It may be buried in INCLUDES. John Israel Sr. Programmer/Analyst Dayton Superior Corporation 721 Richard St. Dayton, OH 45342 937-866-0711 x44380 -Original Message- From: u2-users-boun...@listserver.u2ug.org

Re: [U2] ESC in Unidata

2009-07-31 Thread Drew William Henderson
It's a PCL (Laserjet) command for positioning to 170 dots horizontally and ROW dots vertically before printing the line. A subset of the commands available can be found here: http://h2.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=bpl02705 HTH Drew -Original Message-

Re: [U2] ESC in Unidata

2009-07-31 Thread Dave Laansma
Perhaps this is part of a barcode? David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office:810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com Delivering Products, Services, and Innovative Solutions -Original Message- From: u2-users-boun...@listserver.u2ug.org

Re: [U2] ESC in Unidata

2009-07-31 Thread Brian Leach
Dave Unlikely - most HPs, Brothers etc support the Epson FX-80 style barcode escape sequences, since these don't clash with anything in PCL. I've just had a merry time adding support for these into mvPDF's PCL parser. Brian -Original Message- From:

Re: [U2] PHP vs Java

2009-07-31 Thread Jeff Powell
|boolean| |*add http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html#add%28E%29*(E http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html e)| Appends the specified element to the end of this list. | void| |*add

Re: [U2] Using PHP

2009-07-31 Thread Jeff Powell
That would be cool. Could PHP keep a persistent connection to a UniData server? One of my reasons for using Java is that I can eliminate the connection time overhead by keeping the the connection and key files open and available to all incoming HTTP requests. Brian Leach wrote: ... And

Re: [U2] PHP vs Java

2009-07-31 Thread Jeff Powell
Here is sun's javadoc for Java 6. http://java.sun.com/javase/6/docs/api/ I'm not advocating one platform over the other since I use both myself. PHP certainly has a place for rapid application development. I have however done extensive work with web-services that connect to UniData via

Re: [U2] Using PHP

2009-07-31 Thread David Wolverton
Make sure you are on the right side of the licensing if you are doing that! You cannot 'multiplex' a standard UniData seat - you have to acquire a ConnectionPool or a ClientConnectionPool license. -Original Message- From: u2-users-boun...@listserver.u2ug.org

Re: [U2] PHP vs Java

2009-07-31 Thread John Hester
-Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Brutzman, Bill Sent: Thursday, July 30, 2009 2:59 PM To: U2 Users List Subject: Re: [U2] PHP vs Java Thanks to Kevin and Ross for responding. I was

Re: [U2] PHP vs Java

2009-07-31 Thread Kevin King
Question to those who have used the UOJ connector... Is extract as stupid in Java as it is in PHP? With PHP you can't use this to extract an attribute to a local variable and then loop through the mv's like you would in BASIC. Every freakin' routine that wants to get a multivalue has to use

Re: [U2] PHP vs Java

2009-07-31 Thread Jeff Powell
Kevin, You can extract to another unidynarray and then work through the values locally. Kevin King wrote: Question to those who have used the UOJ connector... Is extract as stupid in Java as it is in PHP? With PHP you can't use this to extract an attribute to a local variable and then

Re: [U2] PHP vs Java

2009-07-31 Thread Kevin King
In PHP you can't. If you extract something with Field(n) it appears the whole record goes to the other unidynarray. You still have to use Field(a)-Field(v)-... to get to a specific something even after the assignment. THAT is my biggest beef with this, but fortunately the explode solution

[U2] Haydon Bishop is out of the office.

2009-07-31 Thread Haydon Bishop
I will be out of the office starting 31/07/2009 and will not return until 17/08/2009. I will respond to your message when I return. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

[U2] UniData File Upgrade

2009-07-31 Thread Israel, John R.
We are migrating from UniData 6.0.4 to UniData 7.2.1. Can we do a simple UNIX cp from the old box to the new box, or have the guts of the UniData files changed in some minor way? Thus far, it looks like it will work, but I don't want to be a month into a LIVE deployment and find there is some

Re: [U2] PHP vs Java

2009-07-31 Thread Tony G
There's also something to be said for writing a common method to handle these things. Do it once, use your own methods, and forget about it needs to be handled internally. T You still have to use Field(a)-Field(v)--users ___ U2-Users mailing list

Re: [U2] UniData File Upgrade

2009-07-31 Thread Steve Romanow
Guess it might be a good idea to rebuild all index's. Do you have a var doing the upgrade or an IBM rep? The docs probably address this. Israel, John R. wrote: We are migrating from UniData 6.0.4 to UniData 7.2.1. Can we do a simple UNIX cp from the old box to the new box, or have the guts

Re: [U2] [BB] U2 Enhancement Request - WRITE

2009-07-31 Thread Coelho, Gregory
All, I see that there has been some discussion regarding setting up the EDA Tool. We are having trouble setting up an EDA Data Source. When we test our connection we get the following message stating that the 'Save Data Source Failed' (Could not write data source TEST on server

Re: [U2] UniData File Upgrade

2009-07-31 Thread Jeff Fitzgerald
Probably not necessary, but it wouldn't hurt to run convdata against the files after they've been moved to the new system. If your structure isn't complicated this can be as easy as cding to each UniData directory and running convdata *. HTH, Jeff Fitzgerald Fitzgerald Long, Inc.