Re: [U2] encode to base64 in universe?

2009-05-05 Thread Richard Nuckolls
The BASIC ENCODE function does this. See a current BasicRef.pdf -Rick Nuckolls Lynden Inc On May 5, 2009, at 2:37 PM, Victor Henderson wrote: You could always cheat and just call a perl script...(http://search.cpan.org/~gaas/MIME-Base64-Perl-1.00/lib/MIME/Base64/Perl.pm ) Victor H. On Tu

Re: [U2] [UV] Type 30 Semaphore Stuck - HELP!!!

2009-05-01 Thread Richard Nuckolls
the shadow account. The UVNET version of the rpc mechanism does not have the same problem closing dynamic files as UniObjects. -Rick On Apr 30, 2009, at 3:43 PM, iggch...@comcast.net wrote: Thanks for the info Rick.B I'll give it a look. - Original Message - From: "R

Re: [U2] [UV] Type 30 Semaphore Stuck - HELP!!!

2009-04-30 Thread Richard Nuckolls
If, by chance, you are using UniObjects, there is a bug in it, fixed at 10.2.22, that can cause this problem when a session times out or otherwise exits in a less than optimal manner. I think that a corrupt file or index can also cause this problem Alternately, you might check to see if ther

Re: [U2] UniObjects for Java on Ubuntu anyone?

2009-02-13 Thread Richard Nuckolls
I have not used Ubuntu, but try optioning Java with "- Dfile.encoding=iso8859-1" If you are were tomcat, this would go in the CATALINA_OPTS environment variable. (setenv.sh) -Rick On Feb 13, 2009, at 2:34 PM, Jeff Powell wrote: The LANG variable issue takes a new twist with Ubuntu Server

Re: [U2] Indexes have disappeared

2008-04-23 Thread Richard Nuckolls
Are the file systems truly identical, or are you using symbolic links to make them look the same? Use SET.INDEX filename INFORM to see where your index is really pointing. -Rick On Apr 22, 2008, at 3:12 PM, Louie Bergsagel wrote: We use flashcopy to move data from one computer to another, a

Re: [U2][UV] Type 18 File Hashing Algorithm

2008-02-13 Thread Richard Nuckolls
Try taking the mod of the calculation against 2**31 or 2**32. I have not tested this, but most of the other algorithms just toss any overflow of a 32 bit accumulator. Rick Nuckolls Lynden Inc. ie: EQU TWO32 TO 4294967296 ... GROUP = MOD(GROUP*10 + SEQ(ID[NC, 1]), TWO32) On Feb 13, 2008,

Re: [U2] UV Autologout Quirks

2008-02-12 Thread Richard Nuckolls
I would guess that the result of autologout on Unix or Linux may depend on how Universe was invoked. If it was invoked from a Unix shell, such as ksh, as a command then autologout probably just exits Universe, leaving the user back in the shell. On the other hand, if the original .profile

Re: [U2] UniObjects error 30105 "Unable to load subroutine on server"

2008-02-05 Thread Richard Nuckolls
Okay, but do you reset the routine name before each call? This should not be necessary, but I think that that is what the error message is implying is wrong. -Rick Nuckolls On Feb 2, 2008, at 2:44 PM, Anthony W. Youngman wrote: And all the arguments are assigned in my VB app before I cal

Re: [U2] Uniobjects for Java

2008-01-22 Thread Richard Nuckolls
indicates that you are including the current directory. See http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html for a write up. -Rick = Richard Nuckolls Lynden, Inc. On Jan 22, 2008, at 8:34 AM, [EMAIL PROTECTED] wrote: I am checking out Uniobjects for Java and am

Re: [U2] Universe "usa" hangs

2008-01-11 Thread Richard Nuckolls
This is a known bug in 10.2.x The solution is to get the 10.2.0 version of the usa/usm/usp binary. -Rick = Richard Nuckolls Lynden Inc. On Jan 11, 2008, at 6:38 AM, Kevin King wrote: I'm assisting with getting UV10.2 up on a SuSE 10.1 box, and there's a couple

Re: [U2] IBM web site

2007-12-20 Thread Richard Nuckolls
I cannot say that it is on the front page, but I had no trouble finding it in menus at the Products>Software>Software by Catagory> Data & Database Management Tools Page. :-D -Rick Nuckolls Lynden Inc On Dec 20, 2007, at 8:00 AM, Martin Phillips wrote: Hopefully nothing sinister here but ha

Re: [U2] locked file help in U2 VER 9 NT 4

2007-11-29 Thread Richard Nuckolls
I have seen this happen when a file gets an inconsistent state flag set. Are you doing Transaction Logging? Try RECOVERY.CONSISTENT pathname to reset the flag. = Richard Nuckolls Lynden Inc. [EMAIL PROTECTED] On Nov 30, 2007, at 12:46 AM, Dave R wrote: My inventory file

Re: [U2] Putting Universe on a SAN

2007-11-09 Thread Richard Nuckolls
re SAN's and Universe: DELETE.FILE and RESIZE.FILE will not work on dynamic files that are NFS mounted. (Universe keeps the DATA.30 file open while trying to delete the enclosing directory. This will fail on an nfs mounted directory.) Override the VOC entry with your own version. Do not

Re: [U2] [UV] Installing UniObjects

2007-11-08 Thread Richard Nuckolls
The unirpcd is the only thing that is necessary on the server side, and this comes with 10 & above. asjava.zip needs to be in the classpath on the client. You will ultimately be better off, I think, if you do two things: Create wrapper classes around the primary asjava classes so that you

Re: [U2] UV - 10.2.2 [not-secure]

2007-11-06 Thread Richard Nuckolls
You will need to check with IBM for the answer, but I suspect that it is true on a number of platforms. Who knows about Windows. It is definitely true on Solaris. -Rick On Nov 6, 2007, at 4:49 PM, Clifton Oliver wrote: I am interpreting that to mean this is on those releases on all platform

Re: [U2] UV - 10.2.2 [not-secure]

2007-11-06 Thread Richard Nuckolls
Clifton, usa, usm, usp (all the same executable) hang when trying certain operations. They problem evidently started with 10.2.1, and fixed at 10.2.6 (not available for Solaris yet) usa -o -pr0 for instance. Note that uvadmin, the admin menu, etc all execute these and will hang when d

Re: [U2] curious EQUATE issue - SOLVED Just want to know if anyone understands WHY?

2007-10-23 Thread Richard Nuckolls
regarding the example below: EQU VALID.CC.TYPES TO CHANGE('A.B.D.M.S.V','.',@VM) The problem with this is that the "CHANGE" within the EQU will get evaluated at run time, so it will be done repeatedly if placed within a LOOP or FOR structure. You would be better off with the earlier sug

Re: [U2] curious EQUATE issue - SOLVED Just want to know if anyone understands WHY?

2007-10-22 Thread Richard Nuckolls
When the "new" version of the equate was compiled under Information flavor, the compiler warned that it was a Reality style LOCATE. To its credit, the compiler defers the evaluation of the EQU until it is used, at which point, it evaluates it in context, so the compiler is evaluating "VALID.

Re: [U2] How does one safely validate that a session is connected in UniObjects (VB & VB.Net)

2007-10-04 Thread Richard Nuckolls
The same result can be accomplished by calling a subroutine that does nothing other than return. If it does not throw an exception, then the connection is alive. == Richard Nuckolls Lynden Incorporated 18000 International Blvd, #601 Seattle, WA 98188 On Oct 4, 2007

Re: [U2] UniSubroutine error

2007-07-31 Thread Richard Nuckolls
The intercall.pdf guide defines it as "IE_DATUMERROR Internal Datum Error". A little vague, but it probably indicates that some data failed to convert. It is most heavily referenced in the uvodbc.pdf document. -Rick On Jul 31, 2007, at 8:26 AM, Jeff Powell wrote: Does anyone know what

Re: [U2] [UV] Weird SEARCH Results

2007-07-31 Thread Richard Nuckolls
Consider looking at that line in control-character display mode (enter ^ at the ED : prompt) -Rick On Jul 31, 2007, at 8:37 AM, [EMAIL PROTECTED] wrote: Hi all, uv10.1.8 - Pick Format hpux 11 Anyone have an idea on what might be wrong here? SEARCH ROM.BP STRING:OES210 STRING

Re: [U2] Connecting to a remote Universe server in Universe Basic

2007-04-30 Thread Richard Nuckolls
On Apr 30, 2007, at 4:56 PM, Jason Lin wrote: That may not be an issue if all we need to do is query data on the remote server. Even if only one system is doing updating, locks are an issue for (at least) two reasons: The first is that that a group's structure (or for dynamic files, the

Re: Spam:Re: [U2] Differences between UV and UD

2007-04-30 Thread Richard Nuckolls
Thanks Lance, Ah, I had forgotten about PI/EXL. I could not believe that Universe had anything to do with the core of PI/Open. -Rick On Apr 30, 2007, at 2:17 PM, Lance J. Andersen wrote: We rebranded a a version of uniVerse as PI/EXL prior to the release of PI/Open. PI/Open, was *not*

Re: [U2] Differences between UV and UD

2007-04-30 Thread Richard Nuckolls
Google sez: Vmark was founded in 1984; Unidata in 1986. I did not find a date for PI/Open. If I remember correctly Vmark built the first releases of PI on Unix for Prime. Highly doubtful. Vmark was a direct competitor of Prime. The original Prime Information was written by Devcom in

Re: [U2] Differences between UV and UD

2007-04-30 Thread Richard Nuckolls
Okay, I have been sucked into this conversation: I would also suggest that if the UniData folks were satisfied with PI/PI Open/ UniVerse, they would not have gone to the trouble of creating UniData. The early versions of Unidata were poor cousins to PI/Open (imho). One of the Unidata engin

Re: [U2] RESIZE Error

2007-04-24 Thread Richard Nuckolls
Windows or Unix? Universe or Unidata? NFS mounted file system? On Apr 24, 2007, at 9:56 AM, Baruch Salamander wrote: I'm trying to RESIZE a file, but I'm getting a RESIZE error. "RESIZE: Error on [filename]. File not resized." As a follow-up, an attempt was made to copy the content to a temp

Re: [U2] time and time again.

2007-04-04 Thread Richard Nuckolls
Hard to say for sure, but... I do not think that there is a direct patch for MS for NT4 and the timezone thing. However, you can us an MS utility, "tzedit.exe" to set the Pacific tz to change on the second Sunday of March, and reverse on the first Sunday of November. But in order to make

Re: [U2] Dynamic files, big transactions

2007-03-12 Thread Richard Nuckolls
Andre, I am not quite sure what you are doing a transaction on, but even if you successfully configured a Universe system to handle transactions with that many elements simultaneously locked, I would guess that it is inefficient to grab that many locks at once. Your transaction is too (bl

Re: Spam:Re: [U2] Dynamic files, big transactions

2007-03-09 Thread Richard Nuckolls
y wrote: Did you mean that UniVerse doesn't have the CONFIGURE.FILE or what? Because UniVerse has the CONFIGURE.FILE command, the keyword MINIMUM.MODULUS, and it works immediate without using the IMMEDIATE key word. - Original Message - From: "Richard Nuckolls" &l

Re: [U2] Dynamic files, big transactions

2007-03-09 Thread Richard Nuckolls
Andre, This seemed very strange, since normally 250 record keys would never hash into the same group of a dynamic file. The exception might be if you created a new part file and then sought to lock and add a large group of records at one time. The "new" dynamic part file would have a mod