Re: [U2] Multi-threaded phantom processing

2014-03-05 Thread Rick Nuckolls
As elegant as some of these ideas are, it might be possible, depending on the number and nature of the transactions, to batch them up every n seconds and use rcp to copy them to an "in" box on the remote machine. -Rick > On Mar 5, 2014, at 4:19 PM, "Horacio Pellegrino" > wrote: > > Why don'

Re: [U2] Self Deadlatch error on device 655372, inode 610205, group 11460608, latch 80000 to WRITE.

2014-02-02 Thread Rick Nuckolls
are exclusive, so any attempt to access either the same record being updated in the primary file, or another record in the same group will fail when the group lock is encountered. Good luck, Rick Nuckolls Lynden Inc. From: u2-users-boun

Re: [U2] UV/Net usage and licensing

2013-12-12 Thread Rick Nuckolls
They will fail. This may be trapped with an ON ERROR clause in the io statement. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney Sent: Thursday, December 12, 2013 2:38 PM To: 'U2 Users List' Subject: R

Re: [U2] List of display control @ variables for UVBasic

2013-11-19 Thread Rick Nuckolls
The ATFUNCTIONS.H record in UNIVERSE.INCLUDE file has equates and descriptions. Rick Nuckolls Lynden Inc -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: Tuesday, November 19, 2013 1:54 PM To: U2

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Rick Nuckolls
13 4:17 PM To: U2 Users List Subject: Re: [U2] Web Services at Universe 11.n Tried that already, but thanks for the suggestion. By the way, the curl solution doesn't require that header to get a successful response. Richard Lewis On Wed, Oct 30, 2013 at 5:01 PM, Rick Nuckolls wrote: &g

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Rick Nuckolls
If you have not done so yet, try adding the header for Content-Type before making the request. ie. setRequestHeader(handle, 'Content-Type', 'text/html') Rick Nuckolls Lynden -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@lis

Re: [U2] Updated UV 11.2 Public Beta (Windows)

2013-10-14 Thread Rick Nuckolls
e previous build, but was not licensed. I am working on getting a Linux machine, since we are a Sparc shop. -Rick Nuckolls Lynden -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Daniel McGrath Sent: Sunday, October

Re: [U2] Recommended 11.1.point release to upgrade to.

2013-09-25 Thread Rick Nuckolls
27;s as first class citizens of the language, instead hiding them behind an ugly function library that obscures the structure (which is surely the whole point of JSON style objects?) Brian -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u

Re: [U2] Recommended 11.1.point release to upgrade to.

2013-09-24 Thread Rick Nuckolls
've seen a day's worth of work for an entire company abandoned and the previous night's backups restored. There was an undocumented change to FMT was made that ended up truncating out data, if I recall. It's in the U2-list archives. Some of the same people who suffered throug

Re: [U2] Recommended 11.1.point release to upgrade to.

2013-09-24 Thread Rick Nuckolls
Chuck, We currently have one machine running 11.1.12 with no real problems. 11.1.13 is basically a one, only-on-severe-load, bug fix, and even then, unlikely. There is at least one thing that I am expecting in 11.2 that is worth waiting for, assuming it shows up. I did not see it in the publi

Re: [U2] Read and Writing binary files with UOJ

2013-09-02 Thread Rick Nuckolls
w.u2logic.com > > > On Fri, Aug 30, 2013 at 6:15 PM, Rick Nuckolls wrote: > >> Doug, >> >> Looking at my old code, I call a subroutine on the backend to do the >> readblk, and then use the default reverse conversion on the return >> argumen

Re: [U2] Read and Writing binary files with UOJ

2013-08-30 Thread Rick Nuckolls
ring. Obviously, it was too late for that, but it does not appear that U2 has added a readBytes() method, which is no surprise, as I recollect the conversation. (Obviously, there needs to be a writeBlk( byte[] ) or writeBytes( byte[] ) method too.) Good luck, Rick Nuckolls On Aug 30, 2013, a

Re: [U2] Select from one file with save-list from another file

2013-08-27 Thread Rick Nuckolls
Your response supposes that the ORDER.ID IS is in the CUSTOMERS file/table, which is not the criteria of the original problem. The problem presented is a bit difficult to work around in RETRIEVE, and even harder if you are restricted to not programming, as Brandon evidently is. We wrote a utili

Re: [U2] Select from one file with save-list from another file

2013-08-27 Thread Rick Nuckolls
I found an old example on line that might get you started SELECT TO SLIST 0 FROM CUSTOMERS WHERE STATE = 'AZ'; SAVE.LIST CUSTOMER.LIST SELECT * FROM ORDERS WHERE CUSTOMER.ID IN (SELECT EVAL " RECORD" FROM &SAVEDLISTS& 'CUSTOMER.LIST'); The extra syntax that might help is SELECT TO SLIST FROM

Re: [U2] Universe Configuration --

2013-08-18 Thread Rick Nuckolls
rols the number of entries in a > semaphore? > > HTH > > Cheers > > Peter > > > > > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rick Nuckolls > Sent: Friday, 1

Re: [U2] Universe Configuration --

2013-08-15 Thread Rick Nuckolls
dco.com On Wed, Aug 14, 2013 at 6:23 PM, Rick Nuckolls wrote: > The link to SQL makes some sense. > > My original thought was RLOWNER was to Shared Locks (RL) as RLTABSZ is to > Exclusive (RU) locks, but the default (300) seemed a little high for > tracking RL locks, especially if

Re: [U2] Universe Configuration --

2013-08-14 Thread Rick Nuckolls
n basic then you can basically ignore it I believe from memory. Regards Phil -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rick Nuckolls Sent: Thursday, 15 August 2013 6:06 a.m. To: 'U2 Users List' Subj

[U2] Universe Configuration --

2013-08-14 Thread Rick Nuckolls
The manual's explanation is a bit short. Thanks, Rick Nuckolls ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

Re: [U2] File type 30 (dynamic)

2013-07-09 Thread Rick Nuckolls
For what it is worth: Glad to hear that someone else mostly uses dynamic files. There seems to be a bit of prejudice against them by ex-Pickers, (and a prejudice for them from on PI'ers like me!) I never resize them. On the one hand, they are probably a little slower in the worst case, but t

Re: [U2] Flip Case command?

2013-07-05 Thread Rick Nuckolls
Strange request... Although it would be a poor choice on a character by character basis, the CONVERT statement in UV works: LL = 'abcdefghijklmnopqrstuvwxzy' UU = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' FROMSTR = LL:UU TOSTR = UU:LL ... INPUT MYSTR FLIPPED = CONVERT( FROMSTR, TOSTR, MYSTR ) :) On Jul

Re: [U2] SAN?

2013-07-02 Thread Rick Nuckolls
gt; -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of Rick Nuckolls > Sent: Tuesday, July 02, 2013 11:13 AM > To: 'u2-users@listserver.u2ug.org' > Subject: Re: [U2] SAN? > > Ty, >

Re: [U2] SAN?

2013-07-02 Thread Rick Nuckolls
much experience with it. Although difficult, it is possible to install Universe a SAN, and then run it on a VM, which means that you can snapshot almost all of the UV environment at once! Rick Nuckolls Lynden Inc -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2

Re: [U2] How to copy only @ID from one file to anothers

2013-06-17 Thread Rick Nuckolls
's INDEX.nnn file, but such a structure would be much more fragile. Rick Nuckolls Lynden Inc -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen Sent: Monday, June 17, 2013 10:05 AM To: U2 Users List Su

Re: [U2] uvnet node?

2013-06-14 Thread Rick Nuckolls
Found it! It is the last segment of the origin IP address. -Rick On Jun 14, 2013, at 2:45 PM, "Rick Nuckolls" wrote: > Does anyone know an easy way to trace the uvnet netnode in the lock table > back to the original server? > ___

[U2] uvnet node?

2013-06-14 Thread Rick Nuckolls
Does anyone know an easy way to trace the uvnet netnode in the lock table back to the original server? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

Re: [U2] Relative Path for SET.INDEX in Universe

2013-05-17 Thread Rick Nuckolls
k, Your INDICES() result will differ depending on whether you invoke the function in the account where "filename" F-pointer is defined locally, or from an account where you are referencing it with a Q-pointer. There you'll get the full path. cds On 5/15/2013 11:19 PM, Rick

Re: [U2] Relative Path for SET.INDEX in Universe

2013-05-15 Thread Rick Nuckolls
ed on: Thu May 17 10:16:49 2007 > >> CREATE.INDEX VOC F2 AT RELATIVE.PATH >> CREATE.INDEX VOC F1 AT RELATIVE.PATH > > Unable to open index map "C:\Accounts\bugs\IndexRelative2/VOC/INDEX.MAP" > for rea > d/write,>CREATE.INDEX VOC F1 > > Unable to op

Re: [U2] Relative Path for SET.INDEX in Universe

2013-05-07 Thread Rick Nuckolls
ut I had to revert back to absolute pathing. > > Perry > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rick Nuckolls > Sent: Monday, May 06, 2013 1:59 PM > To: 'U2 Users List'

[U2] Relative Path for SET.INDEX in Universe

2013-05-06 Thread Rick Nuckolls
I was told, at one point, that it was possible to use a relative path in the SET.INDEX command for UV. If anyone knows that syntax, please advise! Thanks, Rick Nuckolls Lynden Inc ___ U2-Users mailing list U2-Users@listserver.u2ug.org http

Re: [U2] : Evaluating DCOUNT

2013-02-10 Thread Rick Nuckolls
The only way that this could not be an issue is if the compiler and the smarts and determined ahead of time that the array was invariant. My bet is solidly on plan b. -Rick On Feb 10, 2013, at 9:14 PM, Peter Cheney wrote: > Hi Everyone, > > Does a DCOUNT get evaluated again for each iteration

Re: [U2] Mysterious UV Error

2012-08-17 Thread Rick Nuckolls
o:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Jenkins Sent: Friday, August 17, 2012 2:35 PM To: U2 Users List Cc: U2 Users List Subject: Re: [U2] Mysterious UV Error Try a COMO and see if it's coming from a terminal ENQ response. Also worth checking if uvsh has been aliases at the Unix

Re: [U2] Mysterious UV Error

2012-08-17 Thread Rick Nuckolls
You might check to make sure that uvsh has not been redirected, since uvsh is normally invoked by uv. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rick Nuckolls Sent: Friday, August 17, 2012 1:34 PM To: &#x

Re: [U2] Mysterious UV Error

2012-08-17 Thread Rick Nuckolls
I think that Robert made a good guess. Any site that has a c program spawning this could also have custom code testing the terminal type. What happens if you us /u1/uv/bin/uvsh "COUNT VOC" instead? -Rick -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-bo

Re: [U2] Array Types

2012-07-27 Thread Rick Nuckolls
For general information: In Universe, the SYSTEM(9) function will return the number of milliseconds used by the calling process, and while it is not necessarily precise, on a multiuser machine, it is probably a better measure of cpu work than time(). Nonetheless, the results in Brian's email a

Re: [U2] RESIZE - dynamic files

2012-07-06 Thread Rick Nuckolls
aving nothing in overflow, at > all. :) > That way, when you go to ask for the *next* frame, it will always be > contiguous, and already sitting in memory. > > > > > > > > > -Original Message- > From: Rick Nuckolls > To: 'U2 Users

Re: [U2] RESIZE - dynamic files

2012-07-05 Thread Rick Nuckolls
contiguous, and already sitting in memory. -Original Message----- From: Rick Nuckolls To: 'U2 Users List' Sent: Thu, Jul 5, 2012 4:43 pm Subject: Re: [U2] RESIZE - dynamic files Most disks and disk systems cache huge amounts of information these days, and, epending on 20 fa

Re: [U2] RESIZE - dynamic files

2012-07-05 Thread Rick Nuckolls
s my theory ;) -Original Message- From: Rick Nuckolls To: 'U2 Users List' Sent: Thu, Jul 5, 2012 2:29 pm Subject: Re: [U2] RESIZE - dynamic files Chris, For the type of use that you described earlier; BASIC selects and reads, educing overflow will have negligible perfor

Re: [U2] RESIZE - dynamic files

2012-07-05 Thread Rick Nuckolls
Oops, I would of thought that if a file had, say 100,000 bytes, @ 70 percent full, there would be 30,000 bytes "empty" or dead. Are you suggesting the there would be 70,000 bytes of data and 42,000 bytes of dead space? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailt

Re: [U2] RESIZE - dynamic files

2012-07-05 Thread Rick Nuckolls
Chris, For the type of use that you described earlier; BASIC selects and reads, reducing overflow will have negligible performance benefit, especially compared to changing the GROUP.SIZE back to 1 (2048) bytes. If you purge the file in relatively small percentages, then it will never merge any

Re: [U2] RESIZE - dynamic files

2012-07-05 Thread Rick Nuckolls
Chis, I still am wondering what is prompting you to continue using the larger group size. I think that Martin, and the UV documentation is correct in this case; you would be as well or better off with the defaults. -Rick On Jul 5, 2012, at 9:13 AM, "Martin Phillips" wrote: coming > Hi, > >

Re: [U2] RESIZE - dynamic files

2012-07-04 Thread Rick Nuckolls
I believe PiOpen used a directory with two files in it ‘&$0’ and ‘&$1’ corresponding to DATA.30 and OVER.30. If the numbers went up from there, I think that they corresponded to alternate keys, ie ‘&$2’ and ‘&$3’ represented DATA.30 and OVER.30 for the first alternate key. I do not think that

Re: [U2] RESIZE - dynamic files

2012-07-04 Thread Rick Nuckolls
This makes it sound as if you might need to search two groups for a record, which is not correct. If the initial hash is based on the larger modulo, and the group exists, then the key will be in the higher number group. If the result of the first hash is larger than the modulus of the of the t

Re: [U2] RESIZE - dynamic files

2012-07-03 Thread Rick Nuckolls
From the System Description manual: Important Considerations Dynamic files are meant to make file management easier for users. The default parameters are set so that most dynamic files work efficiently. If you decide to change the parameters of a dynamic file, keep the following considerations i

Re: [U2] RESIZE - dynamic files

2012-07-03 Thread Rick Nuckolls
Unless the minimum modulus is configured high enough to artificially lower the actual load, the actual load will rise to the designated split.load as the file grows. The split.load indicates nothing about the specific load of any given group; so if it is set to 90%, then on average, each group w

Re: [U2] RESIZE - dynamic files

2012-07-03 Thread Rick Nuckolls
37% is a very low load. Reading disk records takes much longer than parsing the records out of a disk record. With variable record size and moderately poor hashing, overflow is inevitable. So, do you want 80,000 extra groups, or 20,000 overflow buffers? I would go with the smaller number. Bu

Re: [U2] RESIZE - dynamic files

2012-07-03 Thread Rick Nuckolls
I should have said "60% more disk records", to be clear. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rick Nuckolls Sent: Tuesday, July 03, 2012 2:24 PM To: 'U2 Users List' Subject: Re: [

Re: [U2] RESIZE - dynamic files

2012-07-03 Thread Rick Nuckolls
But the total size of your file is up 60%. Reading in 60% more records in a full select of the file is going to be much slower than a few more overflows. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austi

Re: [U2] RESIZE - dynamic files

2012-07-03 Thread Rick Nuckolls
The actual load is 70% on your file. The split.load of 90 was set after the file was loaded. If you leave it at that value, and add another 100,000 records, your modulus will not grow, but the number of overflowed groups will. Perhaps you need to look at is as "80% not overflowed". Despite the

Re: [U2] RESIZE - dynamic files

2012-07-03 Thread Rick Nuckolls
The split load is not affecting anything here, since it is more than the actual load. What your overflow suggests is that you lower the split.load value to 70$% or below. You could go ahead and set the merge.load to an arbitrarily low number ("1"), and it will probably never do a merge, which

Re: [U2] RESIZE - dynamic files

2012-07-03 Thread Rick Nuckolls
(record + id / 4096 or 2048) You need to factor in overhead & the split factor: (records + ids) * 1.1 * 1.25 / 4096(for 80%) If you use a 20% merge factor and a 80% split factor, the file will start merging unless you delete 60 percent of your records. If you use 90% split factor, you

Re: [U2] RESIZE - dynamic files

2012-07-02 Thread Rick Nuckolls
it), 50% (merge) and 80% (actual) Total size . 79872 bytes Total size of record data .. 50709 bytes Total size of record IDs ... 91 bytes Unused space ... 24976 bytes Total space for records 75776 bytes Rick Nuckolls Lynden Inc -Original Message-

Re: [U2] Do indexes record mv pos ?

2012-06-06 Thread Rick Nuckolls
Added "unique" to the first paragraph for clarification. -Rick -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rick Nuckolls Sent: Wednesday, June 06, 2012 11:58 AM To: 'U2 Users List' Subject:

Re: [U2] Do indexes record mv pos ?

2012-06-06 Thread Rick Nuckolls
pos ? That bug is what caused me to come here Rick. The program is finding the key twice, and repeating logic that doesn't apply using a LOCATE and getting the wrong position. -Original Message- From: Rick Nuckolls To: 'u2-users@listserver.u2ug.org' Sent: Wed, Jun 6

Re: [U2] Do indexes record mv pos ?

2012-06-06 Thread Rick Nuckolls
ooking for within the basic program that is accessing the index. Rick Nuckolls Lynden Inc -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Wednesday, June 06, 2012 11:37 AM To: u2-users@listserve

Re: [U2] SAVING UNIQUE ( multivalued)

2012-05-18 Thread Rick Nuckolls
Nice, Rick -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Brian Leach Sent: Friday, May 18, 2012 6:48 AM To: 'U2 Users List' Subject: Re: [U2] SAVING UNIQUE ( multivalued) Another option, using UniVerse SQL to cre

Re: [U2] SAVING UNIQUE ( multivalued)

2012-05-17 Thread Rick Nuckolls
u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rick Nuckolls Sent: Thursday, May 17, 2012 2:36 PM To: 'U2 Users List' Subject: Re: [U2] SAVING UNIQUE ( multivalued) Okay, I timed the difference with 1,400,000 or so record ids on a relatively old SUN box. Union a

Re: [U2] SAVING UNIQUE ( multivalued)

2012-05-17 Thread Rick Nuckolls
MERGE.LIST operation only. -Rick -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rick Nuckolls Sent: Thursday, May 17, 2012 2:22 PM To: 'U2 Users List' Subject: Re: [U2] SAVING UNIQUE ( multivalued) I do not kno

Re: [U2] SAVING UNIQUE ( multivalued)

2012-05-17 Thread Rick Nuckolls
QUE TO 1 > > 0005: MERGE.LIST 1 UNION 1 > > 0006: SAVE.LIST UNIQUE > > 0007: GET.LIST UNIQUE > > > > (The MERGE.LIST will sort and dedupe) > > > > > > 0004: sh -c "/usr/bin/sort -uo '&SAVEDLISTS&/UNIQUE' '&SAVEDLISTS

Re: [U2] SAVING UNIQUE ( multivalued)

2012-05-17 Thread Rick Nuckolls
-uo '&SAVEDLISTS&/UNIQUE' '&SAVEDLISTS&/UNIQUE'" > > 0005: GET.LIST UNIQUE > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rick Nuckolls >

Re: [U2] SAVING UNIQUE ( multivalued)

2012-05-17 Thread Rick Nuckolls
; issues resolved at once. > Qselect does not allow Unique > So > QSELECT MYFILE SAVING 2 > will explode the multi-values, but it won't dedupe them. > > > > -Original Message- > From: Rick Nuckolls > To: 'U2 Users List' > Sent: Thu, May 17, 20

Re: [U2] SAVING UNIQUE ( multivalued)

2012-05-17 Thread Rick Nuckolls
looks at the whole > field. > > I suppose that I can do a LIST with a BY.EXP & a BREAK.ON, but perhaps I am > missing something... > > Thanks, > > Rick Nuckolls > Lynden Inc. > > > ___ > U2-Us

[U2] SAVING UNIQUE ( multivalued)

2012-05-17 Thread Rick Nuckolls
field. I suppose that I can do a LIST with a BY.EXP & a BREAK.ON, but perhaps I am missing something... Thanks, Rick Nuckolls Lynden Inc. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

Re: [U2] User timeout question

2012-05-01 Thread Rick Nuckolls
I gather that in Unidata, the command is "TIMEOUT". Note that the parameter is seconds. "TIMEOUT 0" might reset it, but it does not say anything in this document. (From Unidata Commands reference) -Rick TIMEOUT nn Description The ECL TIMEOUT command automatically logs a user out of a UniData

Re: [U2] User timeout question

2012-05-01 Thread Rick Nuckolls
No guarantees as to how it works with SB, but UV has an AUTOLOGOUT {idle minutes} command that might be of use. -Rick Nuckolls -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Lunt, Bruce Sent: Tuesday, May 01

Re: [U2] YYMMDD easy way?

2012-04-25 Thread Rick Nuckolls
#x27;d sure like to know what makes the difference. >> I'd hate to get bit - again! - in a migration or upgrade. >> The worst fall-out I ever had in an upgrade was when they changed an >> obscure FMT code without telling anyone. >> >> On 4/25/2012 9:07 AM, Rick Nuc

Re: [U2] YYMMDD easy way?

2012-04-25 Thread Rick Nuckolls
x27;','']" ) = "2012425" >OCONV( "16187", "DYMD[2'',2'']" ) = "120425" > > Like Rick, I find flavor does not matter. > On 4/24/2012 7:38 PM, Rick Nuckolls wrote: >> That was my thought, but th

Re: [U2] YYMMDD easy way?

2012-04-24 Thread Rick Nuckolls
That was my thought, but the flavor does not seem to affect it on my version. -Rick On Apr 24, 2012, at 5:36 PM, Richard Lewis wrote: > Or maybe it's my Pick flavor. > > Richard Lewis > > On Tue, Apr 24, 2012 at 6:27 PM, Rick Nuckolls wrote: > >> Hmmm, >>

Re: [U2] YYMMDD easy way?

2012-04-24 Thread Rick Nuckolls
arate the elements. > There's about 80 lines that describe it when you do HELP CONV D at TCL. > > Richard Lewis > > > On Tue, Apr 24, 2012 at 6:08 PM, Rick Nuckolls wrote: > >> Or, a bit more simply: >> >> OCONV(TODAY, "D2YMD[‘’ , ’’]”) >&g

Re: [U2] YYMMDD easy way?

2012-04-24 Thread Rick Nuckolls
Or, a bit more simply: OCONV(TODAY, "D2YMD[‘’ , ’’]”) On Apr 24, 2012, at 4:58 PM, Perry Taylor wrote: > OCONV(TODAY, 'DYMD[4"",2"",2]') > > > - Original Message - > From: Lunt, Bruce [mailto:bl...@shaklee.com] > Sent: Tuesday, April 24, 2012 07:55 PM > To: 'U2 Users List' > Subject: R

Re: [U2] End of Month date routine

2011-12-05 Thread Rick Nuckolls
Just for laughs, the following works with only a single date conversion, though I will admit that it gets a little too obscure to be considered maintainable. Admittedly, there are probably easier ways to tell how many days there are in a month, but they may not be as much fun! Rick Nuckolls

Re: [U2] End of Month date routine

2011-12-05 Thread Rick Nuckolls
7;DMY'), 'DMY') +31 ,'DMY'),'DMY') -1 “DYM” would work as well. Rick Nuckolls Lynden Inc > > Doesn't work on my system Anthony. > The This month o gives the month and year ok > but the attempt to iconv that sets it to zero, it doesn't p

Re: [U2] Problem reading XML node value in Universe BASIC

2011-10-04 Thread Rick Nuckolls
I do not have the manual with me at the moment, but you need to go down one more level. The text is in the text node under "name" -Rick On Oct 4, 2011, at 3:09 PM, "Jason Lin" wrote: > Hi. > > I tried to use the XDOM API (XML for BASIC API Programmatic > Interfaces) in Universe Basic for pars

Re: [U2] easy way to get count of a DIM()?

2011-08-18 Thread Rick Nuckolls
subroutine. Rick Nuckolls Lynden Inc On Aug 18, 2011, at 10:43 AM, Chris Austin wrote: > > Yes, > > That is correct DIM X(25) to initialize X, how do we then get the size of X? > > Thanks, > > Chris > > >> From: gglorfi...@vertisinc.com >> To: u2-

Re: [U2] Document Management

2011-07-22 Thread Rick Nuckolls
generated per day is reasonable, using a date as part of the archive name works nicely. Rick Nuckolls Lynden Inc Seattle On Jul 22, 2011, at 8:10 AM, Bill Brutzman wrote: > Does it make any sense to use a U2 database to save scanned pdf's? That is... > > Does it make any sense to sa

Re: [U2] [UV] Marking New Index as Built

2011-05-06 Thread Rick Nuckolls
I tried this at U2 university on 11.1 in December with problems similar to those in my earlier message. -Rick On May 6, 2011, at 6:09 AM, "Kurt Neumann" wrote: > Hi Perry > > One of the new features in UniVerse 11.1 is the concurrent build of indices. > I would suggest being very careful i

Re: [U2] [UV] Marking New Index as Built

2011-04-28 Thread Rick Nuckolls
x27;s that should be indexed on the file, and then readu the record, blank out the reference field(s) (saving the correct record) writeu the record to create an "old version" of the record on file write the original record, thus updating the index to the current version. Rick Nuckolls Lynd

Re: [U2] Uodotnet and Connection Pooling Timeouts

2011-03-28 Thread Rick Nuckolls
license part of the problem. Rick Nuckolls Seattle On Mar 28, 2011, at 7:20 AM, Jackson Pope wrote: > Hiya all, > > We're trying to get connection pooling working with uodotnet and currently > failing miserably. When we turn connection pooling off everything works as > expec

Re: [U2] how to round to 2 decimals?

2010-10-14 Thread Rick Nuckolls
. : Q :RUN BP FIX 123.46 123.46 123.45 Rick Nuckolls Lynden Inc On Oct 14, 2010, at 9:37 AM, Larry Hiscock wrote: > No idea if it's been implemented in UV ... it appears not, from your error > message. It works in UD > > > -Original Message- > From: u2-users-boun

Re: [U2] Stumped with TRANS...

2010-10-11 Thread Rick Nuckolls
END END But ultimately, either one is flawed if the key is blank. Is there some reason why you do not want to open the file to named common? COMMON /MYSUB/ MYTIME, MYFILE IF (MYTIME # @TIME ) THEN * new program execution OPEN '','TRANSFILE' TO MYFILE ELSE ...

Re: [U2] UniVerse Global Cataloging

2010-10-08 Thread Rick Nuckolls
e from the OS level. Rick Nuckolls Lynden Inc On Oct 8, 2010, at 10:32 AM, Bill Brutzman wrote: > I am in the process of upgrading UV here. > > Following a noble suggestion from Rocket tech support, when I tried to copy > my cataloged files from my UV 10.1 to 10.3.6, my apps w

Re: [U2] [UV] Shared Record Locks

2010-09-01 Thread Rick Nuckolls
on the root prior to updating any detail record within the tree. Rick Nuckolls Lynden Inc On Sep 1, 2010, at 5:20 AM, Tom Whitmore wrote: > Thanks Mecki! > That is what I was trying to relay. > > The only conceivable reason that I can think of for READL is if you have a > pr

Re: [U2] as.java.unirpc.UniRPCException

2010-05-06 Thread Rick Nuckolls
There is a chance that you will need to repackage the zip file as a jar with a MANIFEST ifle to get tomcat to see it jar xf asjava.zip jar cf asjava.jar asjava Place the jar's in the shared\lib of the tomcat directory -Rick On May 6, 2010, at 10:32 AM, Rick Nuckolls wrote: > On tomc

Re: [U2] as.java.unirpc.UniRPCException

2010-05-06 Thread Rick Nuckolls
undError: asjava/unirpc/UniRPCException > at > com.ibm.u2.jdbc.UniJDBCConnectionImpl.(UniJDBCConnectionImpl.java: > 137) > at com.ibm.u2.jdbc.UniJDBCDriver.connect(UniJDBCDriver.java:111) > at java.sql.DriverManager.getConnection(DriverManager.java:525) > at java.sql.DriverManager.g

Re: [U2] as.java.unirpc.UniRPCException

2010-05-06 Thread Rick Nuckolls
e: >> I was just about to ask that (I am new to Java). So, I looked in the >> asjava.jar file and found >> "UniRPCException.class" and "UniRPC.class". He told me that I needed the >> driver... >> >> "as.java.unirpc.UniRPCException" >>

Re: [U2] as.java.unirpc.UniRPCException

2010-05-06 Thread Rick Nuckolls
That class name should really not have a period between "as" and "java". -Rick On May 6, 2010, at 7:44 AM, Shawn Hayes wrote: > I am trying to connect to a Universe Database to an application called > "Kettle". First of all, has anyone done this? Second, I have had problems > connecting. I

Re: [U2] Terminal Emulator and Telnet Client for a MacBook Pro

2010-03-17 Thread Rick Nuckolls
Apple does ship a vt100 telnet client with their os. It is in the utilities folder and is called "Terminal". -Rick On Mar 17, 2010, at 2:57 PM, "Symeon Breen" wrote: > I recommend you buy a pc and use that instead > > > > Sorry - i just don't like apple . > > -Original Message- >

Re: [U2] [UV] table of mv-handling functions

2010-02-01 Thread Rick Nuckolls
I should have said "sysdesc.pdf". On Feb 1, 2010, at 9:50 AM, Charles Stevenson wrote: > There is (used to be?) a very nice table of all the multivalue-handling > functions, lining them up with their single-value equIvalents. It > looks/looked something like: > > MV-handler function Single-

Re: [U2] [UV] table of mv-handling functions

2010-02-01 Thread Rick Nuckolls
sysdef.pdf §5-37,38 (10.2) On Feb 1, 2010, at 9:50 AM, Charles Stevenson wrote: > There is (used to be?) a very nice table of all the multivalue-handling > functions, lining them up with their single-value equIvalents. It > looks/looked something like: > > MV-handler function Single-value

Re: [U2] ITYPE BASIC use?

2010-01-10 Thread Rick Nuckolls
thony W. Youngman wrote: > In message , Rick > Nuckolls writes >> I doubt that I will be the only one to reply, but >> >> The variables "@id" and "@record" must be set prior to the call, as in: >> > Note that both of these are *optional* *

Re: [U2] ITYPE BASIC use?

2010-01-08 Thread Rick Nuckolls
Oops, left one "KEY" in the code. -Rick > I doubt that I will be the only one to reply, but > > The variables "@id" and "@record" must be set prior to the call, as in: > >> 14 loop > readnext @id else > exit > end >> 16 >

Re: [U2] ITYPE BASIC use?

2010-01-08 Thread Rick Nuckolls
I doubt that I will be the only one to reply, but The variables "@id" and "@record" must be set prior to the call, as in: > 14 loop readnext @id else exit end > 16 read @record from CONF,KEY then > 18

Re: [U2] [Fwd: Re: Auto logout time {Unclassified}]

2009-12-07 Thread Rick Nuckolls
The "UV.LOGIN" (paragraph) entry in the main 'uv' installation account's VOC file is executed by all logins. You will probably need to create it. On Dec 7, 2009, at 4:17 PM, HENDERSON MIKE, MR wrote: > Bill, > > "UOLOGIN" would be a *lovely* enhancement to UV! > But unless it's in 10.3, or is

Re: [U2] Mapping files.

2009-11-30 Thread Rick Nuckolls
ically corrupt, with some records being unreachable. -Rick Nuckolls Lynden, Inc Seattle, WA On Nov 30, 2009, at 10:55 AM, Paul Parkinson wrote: > Thanks for the advice. > > I am only accessing the data on server A for reading. The only updates that > take place are on server A. &g

Re: [U2] "WR" Group Lock

2009-07-27 Thread Rick Nuckolls
A group address of zero indicates that a process failed during an operation on the header. Is there a chance that you are accessing this file with UniObjects? There was a bug in early releases of UV 10 that could cause this when a UO process closed down. Rick Nuckolls Lynden Inc

RE: [U2] UV 10.1.22; Dynamic File question

2009-04-23 Thread Rick Nuckolls
, the next group to split will be the first group, then #2, 3, 4 etc. Rick Nuckolls Lynden Inc. -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Scott Ballinger Sent: Thursday, April 23, 2009 12:14 PM To: u2-

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

2009-02-16 Thread Rick Nuckolls
There is rather a significant "oversight" in UOJ: it fails to specify the encoding when it translates bytes to Java characters, and vice versa. Beware too, of the 32 file limit in UOJ. There are a number of solutions to this problem, but you should probably start by creating your own in

RE: [U2] UV/NET questions/confirmation

2008-08-20 Thread Rick Nuckolls
an issue if you have a slow connection. -Rick Nuckolls Lynden Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Curt Stewart Sent: Wednesday, August 20, 2008 8:30 AM To: [EMAIL PROTECTED] Subject: [U2] UV/NET questions/confirmation First off let me

Re: [U2] [BB] Internal functions in Basic

2006-12-22 Thread Rick Nuckolls
Using LOCAL to label a LOCAL subroutine seems a bit unnecessary in U2, since the names of subroutines are ignored by the run environment, which only looks at the name used for cataloging the routine. Regardless, if I interpret this correctly, I think that requiring variables in LOCAL subroutines b

Re: [U2] [BB] Internal functions in Basic

2006-12-20 Thread Rick Nuckolls
One way to accomplish this would be to allow multiple subroutine blocks within a single source file. The code (in one file) of: SUBROUTINE ONE( ARG1, ARG2) MYVAR = 1 CALL TWO(ARG2, ARG1) ;* reverse them END SUBROUTINE TWO(ARG1, ARG2) PRINT MYVAR ; * UNDEFINED!! out of scope PRINT ARG1, AR