RE: [U2] fixtool

2008-08-04 Thread Stevenson, Charles
I read somewhere that all it does is fix the broken link (fixing the file but losing the data that the broken link pointed to). This may be all that can be done. A backward link error often means that two groups apparently own the same overflow block. The data of one will have

[UV] printer memory segment. was: [U2] Available printer memory exceeded

2008-08-04 Thread Stevenson, Charles
Does anyone know the history of that printer memory segment nomenclature? It seems that all memory errors are printer memory errors on Universe. Jerry That's true. Generally doesn't have much to do with printers, but a UV process's private memory. Examples: See POST.STATUS's 3rd column

RE: [U2] Available printer memory exceeded

2008-08-04 Thread Stevenson, Charles
Jerry, 1. 1st thing I'd do is look in the recent changes for a construct functionally something like this: X cleared (wrong place for X to be initialized.) Start-outer-loop * X should be cleared here, but isn't. Start-inner-loop X:= [stuff](X grows)

RE: [U2] Re: Going to U2 University 2008?

2008-07-17 Thread Stevenson, Charles
One of Janet Oswald's email ad broadcasts for U2U indicated that there would be pre-conference chargeable tutorials the day before each of the 4 editions of the conference. The list of tutorials and their charges are not yet on the web-site, but she tells me they should be there tomorrow. These

RE: [U2] Printer errors in the error log

2008-05-24 Thread Stevenson, Charles
From: [EMAIL PROTECTED] We're logging many errors in the UV error log that say Too many PRINTER channels open. I know the channel numbers themselves are limited to 0-255, but I didn't know there was a limit on how many could be open at one time. What is the limit? Is there a configuration

RE: [U2] version control

2008-04-28 Thread Stevenson, Charles
From: Brian Leach ...The key was to appoint someone who was responsible for it. If it is anything more than trivial, it needs someone charged to administer it, Conan the Librarian not just left to the whims of developers!... Which brings us to the 2nd key: Build in perks for the developers

RE: [U2] Guaranteed unique sequential keys

2008-04-24 Thread Stevenson, Charles
That's very good, but DICT NEXT.AVAILABLE sure is ugly. It means you can't make a dictionary read-only. Dictionaries should be under source control. And a data file can have multiple dictionaries. A better answer would be to embed the next-id in the file header. Then give a utility to edit it

FW: [U2] UV: LOOP;EXECUTE cmd CAPTURING X; REPEAT fatal memory fault.

2008-04-02 Thread Stevenson, Charles
Resolved, thanks to Joel Yates at IBM for nailing this for me. My uvconfig ULIMIT parameter was way way too big. The default is 128000, ours was 800. I changed it to 128000 and the memory leak got plugged. It's one of those things where it was set big when I took over and didn't seem broke

RE: [U2] UV: LOOP;EXECUTE cmd CAPTURING X; REPEAT fatal memory fault.

2008-03-19 Thread Stevenson, Charles
in memory: 0001: CNT = 0 0002: LOOP 0003: CNT +=1 0004: CRT OCONV(CNT, MR0,) 0005: EXECUTE * anything CAPTURING TIME.GOO 0006: REPEAT Best Regards, Richard Lewis Nu Skin Enterprises --- On Mon 03/17, Stevenson, Charles [EMAIL PROTECTED] wrote: This is on HP Itanium, HPUX11.23, UV10.2.6

RE: [U2] UV: LOOP;EXECUTE cmd CAPTURING X; REPEAT fatal memory fault.

2008-03-19 Thread Stevenson, Charles
From: Ray Wurlod Just out of curiosity, because EXECUTE is (may be) handled differently, what is the account flavor in each case? And have you set any compiler options such as EXEC.EQ.PERFORM ? Primarilly tested in Pick-flavoured account, but IDEAL, too. I've tried $OPTIONS

RE: [U2] UV: LOOP;EXECUTE cmd CAPTURING X; REPEAT fatal memory fault.

2008-03-18 Thread Stevenson, Charles
I would love it if someone else using Itanium would tell me if they do/don't see this. My guess is similar to Tony's. The child process does disappear after the execute. Here's a snippet from where I monitored one of my problem processes (pid 5783) by looping 1x/sec: date; ps -flu

[U2] UV: LOOP;EXECUTE cmd CAPTURING X; REPEAT fatal memory fault.

2008-03-17 Thread Stevenson, Charles
IBM can't reproduce this. I'm hoping someone else can. That didn't come out right. I don't really want to you have this problem. That would be mean. I just hope this august body can help. Simplest case: CDS.BP M 01 LOOP 02 EXECUTE '* anything' CAPTURING X 03 REPEAT RUN

[U2] RE: UV: LOOP;EXECUTE cmd CAPTURING X; REPEAT fatal memory fault.

2008-03-17 Thread Stevenson, Charles
I said $$PID. 2 dollars, 1 pee. I meant $PPID. 1 dollar, 2 pees. (Still pricey for a public biffy.) $PPID is the variable containing the Parent Process's process ID. So SH -c 'ps -lp $PPID' gives ps info on the UV parent process issuing the command. Sorry about that. cds -Original

RE: [U2] UV: LOOP;EXECUTE cmd CAPTURING X; REPEAT fatal memory fault.

2008-03-17 Thread Stevenson, Charles
From: Ken Hall Maybe, just maybe, the loop is executing too fast on the Itanium server. Try putting a SLEEP into the loop. Ken, See line 9. Notice SZ column increases by the same amount with or without sleep. CT CDS.BP KEN KEN 0001 PERFORM SH -c'ps -lp $PPID' 0002 CRT

RE: [U2] UV: LOOP;EXECUTE cmd CAPTURING X; REPEAT fatal memory fault.

2008-03-17 Thread Stevenson, Charles
From: Louie Bergsagel How long before it fails? A few minutes for me, for that simple test. The question is what's memory doing? Try looking at the process with -l option of the unix ps command. But look at this where I execute an SH command: EXECUTE SH -c'# comment' CAPTURING X then printed

RE: [U2] UV: LOOP;EXECUTE cmd CAPTURING X; REPEAT fatal memory fault.

2008-03-17 Thread Stevenson, Charles
From: Allen Egerton Capturing writes to uvtemp. Are you running out of disk space or perhaps inodes? Good question, but no. Plenty of room in uvtemp. Plenty of inodes. It does leave an 0-byte capturenaa file in uvtemp. 0-byte, because I am really doing nothing (execute a comment).

[U2] release notes (was: SLEEP 60 slept only 53 seconds, or else TIMEDATE() is wrong)

2008-02-15 Thread Stevenson, Charles
Where on IBM's massive web site can I find what was fixed on what version of universe? This thread got me wondering if some weird issues I have seen have already been fixed on a new versions of universe (we are running on AIX if that matters) As well as what new features have been added to

RE: [U2] SLEEP 60 slept only 53 seconds, or else TIMEDATE() is

2008-02-13 Thread Stevenson, Charles
Maybe a sys admin changed the system time during the run. Or maybe the system automatically synced to a timeserver. I'll check on that, but I think the synch is automatic and frequent enough to not be off by 7 seconds. Maybe not, since this isn't a production system yet. --- u2-users

RE: [U2] SLEEP 60 slept only 53 seconds, or else TIMEDATE() is wrong

2008-02-13 Thread Stevenson, Charles
-Original Message- From: Mark Eastwood I had a similar experience several years ago (10.0.?/Windows). What I suspect (but never proved) was happening was when I ran PORT.STATUS, it touched the sleeping phantom process and woke it up. It was of little significance to me, and never

RE: [U2] SLEEP 60 slept only 53 seconds, or else TIMEDATE() is

2008-02-13 Thread Stevenson, Charles
You might check the system logs; if there was a time server sync there should be a note in there. We synch every 10 minutes at 0,10,20,30,40,50 minute mark. That doesn't cover 15:05 where my 7 second glitch happened. I ran a mess of tests overnight. About 200,000 iterations of

RE: [U2] SLEEP 60 slept only 53 seconds, or else TIMEDATE() is wrong

2008-02-13 Thread Stevenson, Charles
a coincidental 53 seconds. But you said there was none, and there are no double top loop lines, so that situation is moot. -- Louie On Feb 12, 2008 6:05 PM, Stevenson, Charles [EMAIL PROTECTED] wrote: Silly question perhaps, but are there any CONTINUE or EXIT statements in the parts you left out

RE: [U2] SLEEP 60 slept only 53 seconds, or else TIMEDATE() is wrong

2008-02-13 Thread Stevenson, Charles
This is on 10.2.6, released Aug 2007. Issue 7659 was fixed in 10.1.14, released Aug 2005. You'd think the fix would be in 10.2.6, too, but maybe it has reared its ugly head again. My description is not quite the same, but I am on HP. No select involved. Executing a PORT.STATUS from another

RE: [U2] SLEEP 60 slept only 53 seconds, or else TIMEDATE() is wrong

2008-02-12 Thread Stevenson, Charles
Silly question perhaps, but are there any CONTINUE or EXIT statements in the parts you left out? No, but think about it: even if there were, it could only SLOW DOWN not SPEED UP the interval between executions of CRT TIMEDATE(). If you look at the line numbers, you'll see that there are no

[U2] SLEEP 60 slept only 53 seconds, or else TIMEDATE() is wrong

2008-02-12 Thread Stevenson, Charles
I've never seen this before. Can anyone explain it? I'm testing UV 10.2.6 on HPUX 11.23, Itanium found this while debugging a program that runs as a phantom. The grep cut of PH file below shows relevant parts of the file, namely pairs of lines where - pgm line 438 prints a time stamp - pgm

RE: [U2] Universe 10.1 Itype possible parsing problem

2008-01-08 Thread Stevenson, Charles
Try DLIST. It's like VLIST, but for I-descriptors. DLIST decompiles the I-descriptor into something that looks an awful lot like the decompiled basic object that VLIST shows. I put 2 I-descriptors called NICELY.SPACED and CRAMMED in DICT VOC compiled them. Look how the 2 decompile into

RE: [U2] Deployment of software for UD and UV

2008-01-03 Thread Stevenson, Charles
For dirs never, Never, NEVER use Type 1 files. '' '' always, Always, ALWAYS use Type 19. (Dave Taylor already said that, but it was buried in the middle of other useful stuff I didn't want anyone to miss it. He gave rationale his related comments about LONGNAMES ON was germaine, too.)

RE: [U2] RE: testing

2007-12-24 Thread Stevenson, Charles
He's getting coal for Christmas this year. Does he know what coal is? I actually found some at a lumberyard several years ago got a few pieces for my kids' stockings. A shiney black rock that burns? No way. This is so cool! --- u2-users mailing list u2-users@listserver.u2ug.org To

RE: [U2] WHERE for universe?

2007-12-14 Thread Stevenson, Charles
From: Ray Wurlod Not really. And you couldn't call it WHERE because that's a keyword for UniVerse/SQL. --- Actually, you COULD call the verb WHERE, even though it is already a keyword. In VOC WHERE 3 you can add the real name of the real verb you want executed if WHERE appears in the command

[U2] RB Developer (4.2.x) vs WebDe Eclipse/Java Tool (4.4.0)

2007-12-13 Thread Stevenson, Charles
I heard a rumour of a bug in the RedBack Designer client tool need advice. The rumour is that some updates to WinXP SP2 might break Designer. The break may have workarounds or can be complete. We're at 4.2.3 debating whether to make a big jump to WebDe4.4.0 (Redback has been renamed WebDe @

[U2] RB Developer (4.2.x) vs WebDe Eclipse/Java Tool (4.4.0)

2007-12-13 Thread Stevenson, Charles
I heard a rumour of a bug in the RedBack Designer client tool need advice. The rumour is that some updates to WinXP SP2 might break Designer. The break may have workarounds or can be complete. We're at 4.2.3 debating whether to make a big jump to WebDe4.4.0 (Redback has been renamed

RE: [U2] [UV] Paragraph

2007-12-07 Thread Stevenson, Charles
Is there a way to read from a file from within a Paragraph ? Jerry's answer is generally easiest: A,F(filename,recordname,attribute,value,subvalue),variablename or F(filename,recordname,attribute,value,subvalue),variablename ___ Re. Brian's program idea: Good idea for more

RE: [U2] LIST.READU

2007-12-07 Thread Stevenson, Charles
Doug, When you talk to Charlie Noah, get him to contribute his programming standards to the u2ug wiki, too. Good stuff in there. Chuck -Original Message- From: Doug Chanco Actually I worked with Charlie many years ago (he used to grade my programs and come by my desk with a copy of my

RE: [U2] LIST.READU

2007-12-07 Thread Stevenson, Charles
Currently, the inode can be discovered by using -i option of the unix ls command. FILEINFO() also yields it up, so I have DICT VOC i-descriptors that return the various FILEINFO() file info. That way I can do queries such as: LIST VOC WITH DATA.INODE = 446496 OR DICT.NODE = 446496 At IBM's U2

RE: [U2] Recall Question

2007-12-06 Thread Stevenson, Charles
Pick flavor has you stick that stuff on the end BREAK.ON field[ [text] ['options']...] Instead of what SYS.HELP says: BREAK.ON [ [text] ['options']...] field 2 Examples. 1st a Pick flavor account: .L RELLEVEL RELLEVEL 001 X 002 10.0.16 003 PICK 004 PICK.FORMAT 005 10.0.16 LIST

RE: [U2] universe syntax for vim?

2007-12-05 Thread Stevenson, Charles
Ken, How about sticking on the u2ug wiki? cds From: Ken Wallis Make that http://ftp.users.on.net/~empower_data/vimfiles.zip and I don't think you'll be asked for a username/password. From: Kathleeni M Hunter How about sharing with the rest of us. From: Craig Bennett there is an excellent vim

RE: [U2] Need to partially hide a file

2007-12-03 Thread Stevenson, Charles
Look seriously at both Ray's SQL solution and Mark's Data-At-Rest-Encryption. The latter is a UV 10.2 enhancement. -Original Message- From: Ray Wurlod Sent: Thursday, November 29, 2007 1:59 PM If you were to convert the file into an SQL table, then you can grant SELECT privilege (or

RE: [U2] mv.net versus Web DE

2007-11-29 Thread Stevenson, Charles
'twere a popular forum discussing this late yesterday @ IBM U2 conference, San Fransisco edition. Jackie Burhans had I nice chart at the end showing about 8 different IBM-supplied approaches. I attended it mostly to hear any Redback (now aka WebDE) gossip. I have to move from 4.2 to 4.4 and it

[U2] IBM U2 conference, San Fransisco edition

2007-11-29 Thread Stevenson, Charles
On order of 100 attendees. Lots of people I hadn't met before. Looks like this regional, 3day/2night approach is reaching a different audience. Maybe a few more techies younger average age. There's a new developer IDE(?) coming. UniAdmin is also being re-done. No delivery date promised. It's

RE: [U2] OCONV Extraction Question

2007-11-14 Thread Stevenson, Charles
'MCP':@VM:'G.1' is the exact answer your exact question of what can replace 'WHATEVER' in your code. The complete code becomes VAR1 = 'SAM':@VM:'TRUDY' CRT OCONV(VAR1,'MCP':@VM:'G.1') This answer will work as long as there aren't any real periods in VAR1. In the 2nd argument, you can

RE: [U2] U2 University

2007-10-30 Thread Stevenson, Charles
I've bought paid for it. See you there. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nancy Fisher Sent: Tuesday, October 30, 2007 9:15 AM To: u2-users@listserver.u2ug.org Subject: [U2] U2 University Is anyone going to the San Francisco end of Nov

RE: [U2] Locks in subroutines

2007-10-09 Thread Stevenson, Charles
Responding to this part only: Yes the file is being opened withing the subroutine and no, is not easy to change it to open the file higher in the food chain. SUBROUTINE XYZ( ... ) COMMON /XYZ.ONLY/ XYZ.COMMON.INIT, FVAR IF NOT( XYZ.COMMON.INIT ) THEN OPEN 'whatever-file' TO

RE: [U2] What is this error??

2007-09-21 Thread Stevenson, Charles
The words CASE editor jumped out at me just now as I perused the UV release notes. I recalled the same two words figured prominently in a list question a week ago. Frankly, I don't understand any of it, let alone whether they're related. So just in (ahem)case:

[U2] [BB] Does UD need the equivalent of uv/errlog?

2007-09-17 Thread Stevenson, Charles
Is there a UniData enhancement request buried in the discussion below? UniVerse has a handy file called $UVHOME/errlog that logs runtime error messages (and a few things that aren't really errors) that normally appear on the screen or PH file of the user generating the error. It shows what, who,

[U2] $UVHOME /.uvhome

2007-09-17 Thread Stevenson, Charles
in their .profiles: UVHOME=`cat /.uvhome` export UVHOME So if I say echo $UVHOME I get this: $echo $UVHOME /dbms/uv $ Usually it is included in PATH, too: PATH=$PATH:$UVHOME/bin:/software/bin export PATH -Original Message- On 9/17/07, Stevenson, Charles

RE: [U2] UV sentence stack

2007-09-15 Thread Stevenson, Charles
You may wish to add to the wiki that 99 is a tunable number in the ~/uv/uvconfig file as HISTSTK NN where NN = 99 as the default. If you wish, you can reduce or enlarge that number, which is what SYSTEM(33) will then return. Or, given the nature of wikis, you may wish to add depth of content

RE: [U2] UV sentence stack

2007-09-14 Thread Stevenson, Charles
The command stack is also available as @COMMAND.STACK, which actually compiles as SYSTEM(33). UV documentation erroneously says SYSTEM(33) returns only the last command, but Ray's right. It has the whole stack. I'm correcting the U2UG WIKI page for SYSTEM(n) to say: 33 Dynamic array

RE: [U2] [OT] Primos emulator

2007-09-14 Thread Stevenson, Charles
I work for what used to be Wang, but is now a part of Getronics, which is the Dutch parent company that is currently being bought by another Dutch company. (For you younguns still reading this thread, Wang was another of the players at the same time PR1ME was in it's prime.) Anyway, there's a

RE: [U2] [OT] Primos emulator

2007-09-14 Thread Stevenson, Charles
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stevenson, Charles Sent: Friday, September 14, 2007 4:24 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [OT] Primos emulator I work for what used to be Wang, but is now a part of Getronics, which is the Dutch parent company that is currently

[U2] U2UG Wiki article on UV's SYSTEM(n) - I need help editing it.

2007-09-11 Thread Stevenson, Charles
Thank-you, Brian. This has great potential. From: Brian Leach The U2UG have published a new Wiki. It's waiting for your content to turn this into the most complete resource for the IBM U2 community. You can find the Wiki on the U2UG website. Registration is separate, and all U2-ers are

RE: [U2] U2UG Wiki article on UV's SYSTEM(n) - I need help editing it.

2007-09-11 Thread Stevenson, Charles
! From: Stevenson, Charles www.usu2.org--- should be www.u2ug.org u2ug Wiki For Developers Server Development UniBasic Development SYSTEM(n) function and ASSIGNment - undocumented (except here) features --- u2-users mailing list u2-users@listserver.u2ug.org

RE: [U2] UV basic assignment error ?

2007-09-10 Thread Stevenson, Charles
Scott, This is a known behavior. It is by design, so I won't even call it a bug, although it sure can be misleading, as you've found out! It's an excellent question ought to go under some sort of FAQ, in the new U2UG Wiki maybe. Here's the question, with an answer below: Here is a weird UV

RE: [U2] Unidata Query Optimizer Documentation

2007-09-09 Thread Stevenson, Charles
Kevin, Is there an enhancement request for better documentation on UD's query optimizer erupting here? cds From: Kevin King On 9/8/07, Dave Davis [EMAIL PROTECTED] wrote: Testing with the actual data appears to be the best way of figuring this stuff out. With all due respect, I don't

RE: [U2] Nabble (was Re: Documentation errors (was Get a grip))

2007-09-07 Thread Stevenson, Charles
Ok, it got posted 2x. Don't know why, maybe something I did. I sent it 9:48 PDT. 2 copies are in my email inbox at 10:08. A 20 minute lag, but I think that lag is on u2-users list side. It (or I?) also deleted a line from my reply that said something like Clifton Oliver wrote:. That was

RE: [U2] Nabble (was Re: Documentation errors (was Get a grip))

2007-09-07 Thread Stevenson, Charles
From: Charles Barouch Unless you are already registered, Nabble replies bounce. I send out a lot of e-mails to peopl who get caught in the bounce filter because of this and invite them to join. We get a lot of our newer members that way. That means people know about the forum via Nabble and

RE: [U2] RE: Get a grip - was ads - was U2 University Last

2007-09-06 Thread Stevenson, Charles
1. Vendors. I have appreciated any post I see from Tony Gravagno, Doug Averch, Jeff Fitzgerald, Dawn Wolthius, Susan Joslyn, IBM people promoting U2 features or classes (yes, same standard applies to IBM), and any other vendor/consultant in our market. B. The moderator's job is not

RE: [U2] [UV] - Getting the call stack trace within a program

2007-09-04 Thread Stevenson, Charles
I posted the following when SYSTEM(9001) was invented. It's gotta be in the archives somewhere. I recently added it to the newly developing U2UG Wiki, along with a table of other un- or poorly documented uses of SYSTEM(n), sorted by said n. Most info I gleaned from u2-users list archives. Some

RE: [U2] POKE command on Universe

2007-09-04 Thread Stevenson, Charles
Is it just feed-mode that doesn't work, or tandem in general? If the latter, it be a matter of permissions on the binary executable. On unix, tandem itself won't let non-administrators proceed, even if there are execution rights for group or other. On QA/Dev we use the sticky bit to let any

FW: [U2] POKE command on Universe

2007-09-04 Thread Stevenson, Charles
Do you know how do I do a TANDEM inside a pick basic program passing the ESC F (feed mode)? I have tried the EXECUTE but I can not send a ESC F. Using TCL shell the TANDEM in feed mode works. Since tandem is a unix executeable, pipe the commands you want into it. For example, suppose port 17

RE: [U2] Clearing a portion of a screen

2007-08-29 Thread Stevenson, Charles
The even shorter answer is: NEVER repeatedly do ANYTHING inside a loop that will remain constant for each iteration and could be resolved outside a loop. That's language-, platform-, hardware-independent. Shoot, it's applicable to life in general. Try it in your love life: During

RE: [U2] SQL query locks

2007-08-27 Thread Stevenson, Charles
Excellent. What about UniVerse? I've hit it...No: It's hit me there, too. cds -Original Message- From: Wally Terhune Sent: Monday, August 27, 2007 10:48 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] SQL query locks If this is UniData, we fixed a problem in this area at 6.1.7

RE: [U2] UV - Files Stats Question

2007-08-26 Thread Stevenson, Charles
can you tell me where FAST keeps the list of files under its control ? There should be a universe account called fastcs. FAST.STATS is its main interesting file you should become familiar with. Where the fastcs directory resides is up to you. For me, it is a sister of the universe home dir.

RE: [U2] UV - Files Stats Question

2007-08-26 Thread Stevenson, Charles
Jeff, I wouldn't worry about the cyberspanking. We pay Charles those big bucks to monitor this list, and he's earning his keep. (He insisted on 75% the u2 users list subscription fees goes to him, but the U2UG former president, Charles Barouch, chiselled him down to 50%.) I always appreciate

RE: [U2] [ud] Question on Alpha Sorting...

2007-08-26 Thread Stevenson, Charles
I think I would want to encapsulate that logic in one place. Probably write a function or subr to be called from any pgm or referenced by a dictionary V-item. Store the names as typed in the data record, and NOT repeated as all-caps. Then maybe index the V-item upcased subroutine result. That

RE: [U2] Is U2 University worth going to? YES!

2007-08-20 Thread Stevenson, Charles
I'm planning to attend the San Francisco edition, late November. I was at IBM's huge conference last year and we (U2) just got lost in the mix. This is a much better format. I suppose if you have AIX and U2 and Tivoli, last year's CAAOC (Conglomerated Association of Affiliated Organizations

RE: [U2] UVTSORT config parameter

2007-08-10 Thread Stevenson, Charles
Dear Messrs. Dreyfuss, Oliver, Wurlod, gurus all, My original request was for words of wisdom. History lessons count. The older I get, the more I value them. Thank-you. But I was more interested in the future (my own): - Why would I enable multi-threading? (UVTSORT 1) - Why would I disable

RE: [U2] [UV] Speeding up a big BY.EXP select

2007-08-09 Thread Stevenson, Charles
Without a doubt: SELECT BIGFILE BY @ID BY.EXP MV.ATTRIBUTE - It has always frosted my shorts that in order for WHEN to kick in, you need BY.EXP even if you don't care about the sort order. So, Given that sorting is syntactically necessary, and Given that you don't really care

[U2] UVTSORT config parameter

2007-08-09 Thread Stevenson, Charles
UV 10.1 introduced a new configuration parameter. Admin manual says: UVTSORT The value of this parameter can be either 1 or 0. A value of 1 enables multithreaded sort. A value of 0 disables multithreaded sort. I don't see any further discussion of it than that. Does anyone

RE: [U2] How to use LOCATE in an I Descriptor

2007-08-09 Thread Stevenson, Charles
There isn't a UV- or UD- or PI-supplied way. I wrote a utility function to do that years ago, but you have to account for the THEN vs. ELSE clause as well as returning the position number. I did that by returning a negative number on ELSE. Then the calling I-descriptor has to test for +/- act

RE: [U2] [UV] Speeding up a big BY.EXP select

2007-08-09 Thread Stevenson, Charles
was removed a few releases back. Now, if you use WHEN it will pick off only the multi-value that matches and the rest do not display. __ From: Stevenson, Charles Without a doubt: SELECT BIGFILE BY @ID BY.EXP

RE: [U2] EXECUTE environment in Universe

2007-08-08 Thread Stevenson, Charles
Yes, except K officially stands for Keep-select-list-active, rather than Keys. It's a wonderful little tool. You can create your own application-specific utility verbs that create select lists to be acted on by the next command. cds -Original Message- From: john reid Sent: Wednesday,

RE: [U2] [u2] : Cleaner Case Statement

2007-07-25 Thread Stevenson, Charles
From: Clifton Oliver Execution should flow top to bottom, not left to right, from a comprehension viewpoint. Comprehension contributes to Maintainability, the premiere attribute of software quality. Along same lines, each case block should test the same sort of thing. Don't get sneaky for

[U2] UV10.0.16-10.2.x; HP Risc-Itanium; hpux 11.11-11.23

2007-07-16 Thread Stevenson, Charles
Seeking advice, warnings, testimonials. We are considering moving from HP's RISC platform to their new Itanium hardware. This implies a unix upgrade (from HPUX 11.11 to 11.23). Our current uv10.0.16 is not certified for hpux11.23, so I must upgrade to 10.1 or 10.2. Redback 4.2.3 to at least

RE: [U2] [UV] Stacker commands

2007-07-16 Thread Stevenson, Charles
@COMMAND.STACK. Yot can also use SAVE.STACK and GET.STACK commands to put them into SAVEDLISTS From: Jacques G. When the .L command is done at the TCL level, the last executed commands are shown. Anyone here know where those commands are stored ? --- u2-users mailing list

RE: [U2] Tony Jones/WA/QBE/Insurance is out of the office.

2007-07-05 Thread Stevenson, Charles
I will be out of the office starting 04/07/2007 and will not return until 09/07/2007. five months? :-) Clearly, he's using European-style (or should I just say non-American) dates. The USA leads the way in other innovations too:

RE: [U2] OPEN FILENAME TO F.FILENAME ELSE STOP problem in a loop.

2007-07-05 Thread Stevenson, Charles
Dave, Brenda's approach is basically how I'd handle it. I encourage you to stepp through the execution with the debugger, RAID. That might make more clear what's happening, than any number of prose responses on-list. cds -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[U2] RE: OT Mutitask

2007-06-29 Thread Stevenson, Charles
Mark, That's good. I've cross-posted to u2-community, preempting the lifeguard kicking this thread out of the u2-users pool. cds -Original Message- From: Hennessey, Mark F. Subject: RE: [U2] [AD] OT Mutitask [not-secure] Mutitask (intransitive verb)- When an assignment's scope or

RE: [AD] [U2] Basic developments reverse engineering tool ?

2007-06-29 Thread Stevenson, Charles
If I recall correctly, SoftWhere handled that sort of thing. I do remember seeing it pick up subroutine's uses of files where the file variable was passed as an argument from the calling program. -Original Message- How does it work with parameter driven code. One of my clients has procs

RE: [U2] Basic developments reverse engineering tool ?

2007-06-27 Thread Stevenson, Charles
The best such tool I ever saw was SoftWhere by Joe Toledo. I don't know if he still sells it. It reads source code, dictionaries, procs, and maps dependencies. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Herve Balestrieri Sent: Wednesday, June 27,

RE: [U2] [UV] Trigger(s) on distributed file

2007-06-22 Thread Stevenson, Charles
PARTFILES on UV is purely decorative. (Someone _please_ correct me if that isn't true!) PARTFILES was vital on PI, but maintained on UV solely for backward compatibility in case guys like us ported some user-grown PI critter that relied on it. Perhaps a UV example would help. FSR is distributed,

RE: [U2] _PH_ ID

2007-06-21 Thread Stevenson, Charles
UV ...You could build the ID in the program using SYSTEM(12) and DATE(). PH.ID = 'programname_':FIELD(SYSTEM(12),'.',1):'_':DATE() Or PH.ID = 'programname_'@TIME:'_':@DATE Yeahbut, fire off 100 jobs of the same name WITHIN THE SAME SECOND and look at the games UV plays with the PH id!

RE: [U2] Unix cat help

2007-06-20 Thread Stevenson, Charles
grep '' fileA fileB | sort -n -t: -k2 grep will prepend file name if you grep thru multiple files. If you grep for '', you'll get every line. Then sort by what follows the colon. As an example, suppose 2 files: fileA:3 fileA fileB 14 1 13 3

RE: [U2] Time conversion code

2007-06-07 Thread Stevenson, Charles
From: Anthony Youngman If it has been changed, it should be logged as a bug! From: Norman, David This (IMO unwanted) change in functionality occurred at 10.0. UV users any all, Please post results to this simple test: LIST VOC RELLEVEL EVAL @RECORD EVAL 9 CONV MTS At 10.0.16 I

RE: [U2] A question of dictionaries.

2007-05-24 Thread Stevenson, Charles
Bottom line, dictionaries should be controlled. Period. I lock the dicts with os-level permissions. Just live wth EVAL restrictions. SQL not used much. For those few cases where EVAL is important: - references a limited copy of the full dictionary where the user can write. - via a 2nd

RE: [U2] A great way to Pick an innocent fight

2007-05-23 Thread Stevenson, Charles
by some estimates comprise nearly half of all IBM's database revenues. ? I'd like to know the source behind that. A longer quote: Pick derivatives exist in many forms today. The most significant are UniData and UniVerse, both of which had independent lives before being acquired by IBM

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

2007-05-23 Thread Stevenson, Charles
How about variations on the OPEN statement so one could check for the needed permissions up front: OPENR - open for read only OPENW - open for write only OPENRW - open for read write (OPEN - same as today for backward compatibility) the ELSE clause would taken if you don't have the

UV 8.3 VLIST (was: [U2] - Is VLIST in version 10.2 fragile?)

2007-05-22 Thread Stevenson, Charles
What if someone on the listas UV8.3 or maybe even 9.x or 10.1 would send Keith a copy of uv/bin/vlist? Could he run that against his old object? Or maybe IBM or his vendor could get it to him. LeRoy, It's nice to see you've resurfaced on the list! How's South Africa treating you? Chuck

RE: [U2] WRITE issues??

2007-05-22 Thread Stevenson, Charles
I know you already said it's ok, but I'd double check for READs where READUs belong. Especially since you've described this as having a Pick heritage from a time when some Pick implementations and programmers did not handle locking well. One user's changes can easily wipe out another's. WRITE

RE: [U2] I-DESC Dict Items Returning SUBR Value

2007-05-08 Thread Stevenson, Charles
Dave, To attract this lists' deepest-down-diving-est, longest-staying-under-est, most-with-mud-coming up-est gurus, try these: 1. Alter your I-descriptor to replace all system delimiters with a normal character that you can see: 01: I 02: SUBR( 'PDESC' , @ID , @RECORD ); CONVERT(

RE: [U2] 2 questions, one on STATUS and the other on STEAL-FILE

2007-05-08 Thread Stevenson, Charles
The basic STATUS IE STATUS ARRAY FROM F.FILE ELSE ARRAY = '' returns 30 + attributes is the definitions covered in a manual some where? I copied from the manual came up with an include file for the STATUS statement that mimics the very nice UNIVERSE.INCLUDE FILEINFO.H that IBM gives us for

RE: [U2] Differences between UV and UD

2007-04-30 Thread Stevenson, Charles
I wonder if these answers could be turned into the start of a U2UG Knowledgebase entry. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2] Runtime Stack Overflow [uv]

2007-04-03 Thread Stevenson, Charles
And look for GOTO where RETURN should have been used to exit a gosub, thus goofing up the return stack, which grows and grows and grows. Brian's SYSTEM(9001) PORT.STATUS LAYER.STACK are good debug suggestions. I haven't seen this error associated with too many files being open, but PORT.STATUS

RE: [U2] Passing of Bruce Nichol - Talon Computer Services

2007-03-26 Thread Stevenson, Charles
Being from the other side of the world, I didn't know him, except via this newfangled cyber-community. Whenever I saw that he posted, I knew it'd be worth reading. I see from our archives that he posted here about 200 times in the past three years. Google says another 130 to CDP. A contributor.

RE: [U2] UV - Transaction Logging - Stale Transactions

2007-03-26 Thread Stevenson, Charles
Are you using logical transactions? I.e., basic TRANSACTION START/COMMIT? Or SQL SELECT? That will automatically start a transaction (on 10.0.16 anyway) and hold it open until the SELECT ends, even tho no updates occur. If logs fill while a logical transaction is in process, the log will remain

RE: [U2] UV - Transaction Logging - Stale Transactions

2007-03-26 Thread Stevenson, Charles
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stevenson, Charles Sent: Monday, March 26, 2007 1:26 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] UV - Transaction Logging - Stale Transactions Are you using logical transactions? I.e., basic TRANSACTION START/COMMIT

RE: [U2] Dynamic files, big transactions

2007-03-09 Thread Stevenson, Charles
Andre, I'm with Rick. He suggested new partfile. But maybe some kind of queue or workfile, that routinely gets flushed, merging to modulo 1. And maybe zero length record or very small, so that 250 ids all land in the same group? Is group size 4KB? What does that have to do with the lock table

RE: [U2] [UV] SEARCH command

2007-03-08 Thread Stevenson, Charles
I've often wanted the same. Often. Is there a [BB] (BetterBetter) Enhancement Request buried here? From: Peter Veenhof Is anyone familiar with the TCL command SEARCH? I can do a 'SEARCH filename ALL.MATCH' command at TCL and then it prompts for search criteria. I am wondering if it is

RE: [U2] old dog, new tricks

2007-03-08 Thread Stevenson, Charles
To add to Adrian's explanation, when a string is in memory, the first few bytes at that string's address is not actual data, but metadata about the string, including its length, so UV immediately knows where the string ends ( where the next string begins). Therefore -1 can make an immediate jump,

RE: [U2] catalog command

2007-03-07 Thread Stevenson, Charles
You've got to feel for Anita. She's a good candidate for the U2 Incubator CD that U2UG is pushing for. We want a single spot where a new techie can go to install an instance of the personal edition (or something close to it) along with explanations, examples, and pointers to resources. Stay

RE: [U2] Universe vs. Unidata

2007-03-05 Thread Stevenson, Charles
Thanks, Drew. My bet's riding on REMOVE. I hope some have found this information helpful. If I get the chance, I'll try to do a more thorough testing of the various dynamic array extraction methods (EXTRACT vs REMOVE, primarily) on each platform to help identifiy good programming

RE: [U2] Universe vs. Unidata

2007-03-05 Thread Stevenson, Charles
I thought that EXTRACT was not taught anymore as the nomenclature works as well. The nomenclature _I_S_ EXTRACT. Or REPLACE, for assignments. Whenever anyone in this thread or on this list says extract or replace they are probably thinking of coding it as the syntax shortcut, rather

  1   2   3   4   5   >