[U2] Problem with Triggers and debugging

2004-11-17 Thread Phil Walker
I have a problem with triggers in UV10.1.0 Redhat Linux ES 3.0. It occurs when debugging a program which writes/deletes a record from a file with a trigger on it. Because input is not allowed within a trigger, the session aborts when the trigger code is encountered. I would have thought that the t

[U2] RE: [UV] Monitoring file changes

2004-11-17 Thread Ray Wurlod
You can certainly collect statistics on the number of writes, deletes, clear-files, etc., using the FILE.USAGE group of commands. FILE.USAGE.CLEAR to reset statistics and enable collection FILE.USAGE.OFFto disable further collection FILE.USAGEto view statistics This does not identify

Re: [U2] and [U2C] U2UG Board minutes, actions, plans, etc.

2004-11-17 Thread FFT2001
To the U2 membership: As you may know, the U2 Users Group currently has an establishing board. The primary purpose is to get the group up and running with a charter, procedures, website and an elected board. Toward that goal we have been having board meetings every two weeks. In order to bet

[U2] wIntegrate text box

2004-11-17 Thread Bill H.
I've created a simple text box for wIntegrate and AccuTerm from within BASIC. The simple task is to allow data entry of up to 1200 characters. When the [OK] button is pressed the contents of the text box is passed back to BASIC. AccuTerm works just fine. However, wIntegrate is giving me no end o

Re: [U2] PCL5/6 Universe / AIX printer setup question

2004-11-17 Thread Craig Bennett
Hi Lee, Anyone have any insight on SMIT for AIX and how to set it up to eliminate character translations? If you start smit, then go to Print Spooling -> Change/Show Print Queue Characteristics. Enter your queue name or press F4 to list available queues. Select option 2 Default Print Job Attribu

Re: [U2] [UV] Random number (RND()) help

2004-11-17 Thread Craig Bennett
There's a really good section in "Numerical Recipes for C" on pseudo random number generators. There's also a bit about doing 64-bit math in two 32-bit numbers, which would be especially applicable for the OP's Win32 implementation. I remember finding this chapter on the web in PDF format a w

RE: [U2] Monitoring file changes

2004-11-17 Thread John Jenkins
Original: "Occasionally, records are disappearing from the file, but not from the index." Do you use a virtual dictionary item on which you build the index and rely on external data? Either environmental or another file? This is the usual cause - the index update is driven by changes to the prima

RE: [U2] [UV] Help with EVAL in SELECT statement

2004-11-17 Thread Allen E. Elwood
I have seen selects in Unidata do CRAZY things due to internal bugs which get fixed in later revisions, and come back again in later later revisions. It looks like what you're doing should work, which is why I suggested a different method. -Original Message- From: [EMAIL PROTECTED] [mailto

Re: [U2] UV wish list

2004-11-17 Thread FFT2001
"I'd really love to be able to use the ^ and v arrows to scroll through my command stack, like in bash. I keep hitting ^ instead of .x!!" My TCL stacker can be modified in any way you wish including use of arrow keys. Will Johnson --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe ple

Re: [U2] Monitoring file changes

2004-11-17 Thread FFT2001
"Occasionally, records are disappearing from the file, but not from the index." Mike do you mean an internal, system-created index that you created with CREATE-INDEX and BUILD-INDEX ? If so can you also include the size information for that index here? One reason why an item would stay in the

RE: [U2] [UV] Help with EVAL in SELECT statement

2004-11-17 Thread Tom Dodds
What does the real data look like. CT that item, 0048108, and lets see how the data is really stored. Tom Dodds [EMAIL PROTECTED] 630-235-2975 Cell 708-482-4510 Office -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marco Manyevere Sent: Wednesday

[U2] UV wish list

2004-11-17 Thread George Gallen
I'd really love to be able to use the ^ and v arrows to scroll through my command stack, like in bash. I keep hitting ^ instead of .x!! George Gallen Senior Programmer/Analyst Accounting/Data Division [EMAIL PROTECTED] ph:856.848.1000 Ext 220 SLACK Incorporated - An innovative information, educ

RE: Spam:[U2] Monitoring file changes

2004-11-17 Thread Mark Eastwood
Darn...If you were on UV 10 you could set TRIGGERS on the files to monitor all changes (basic, editor, command, etc), but don't think they work on dynamic files prior to v10? Mark. -Original Message- From: Mike Pflugfelder [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 10:1

RE: [U2] [UV] Help with EVAL in SELECT statement

2004-11-17 Thread Bob Woodward
Just thinking through my fingers, could it be the data is being compared character by character, not value by value? Maybe if you did something like: SELECT F.ACCOUNT WITH EVAL "ABS(BALANCE+0)" GT 0.01 Adding the +0 should force the contents of BALANCE to be numeric, not character. Bob W

RE: [U2] [UV] Help with EVAL in SELECT statement

2004-11-17 Thread Marco Manyevere
Thanks for the suggestion but I want to know is why this doesnt work. What looks broken? "Allen E. Elwood" <[EMAIL PROTECTED]> wrote:Looks broken. Why not make a dict to round it up to MD2 and then just select everything with a balance not equal to zero? -Original Message- From: [EMAIL

RE: [U2] [UV] Help with EVAL in SELECT statement

2004-11-17 Thread Allen E. Elwood
Looks broken. Why not make a dict to round it up to MD2 and then just select everything with a balance not equal to zero? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Marco Manyevere Sent: Wednesday, November 17, 2004 08:10 To: [EMAIL PROTECTED] Subject:

Re: [U2] Ants

2004-11-17 Thread Moderator
At this time, the Ants need to go marching one-by-one to the U2-Community list. Please put all further ant jokes there. - Charles Barouch, Moderator / To subscribe to the u2-users or u2-community mailing lists or digest lists, send one or more of the following lines in the BODY (not the su

RE: [U2] LIST.INDEX Build info

2004-11-17 Thread Adrian Matthews
Once the index has been setup then there is no reason why it should ever need to be rebuilt as long as the conditions it was setup under don't change. So they really are that low maintenance. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTE

Re: [U2] [UV] Help with EVAL in SELECT statement

2004-11-17 Thread Marco Manyevere
Martin, Here again: SELECT F.ACCOUNT WITH EVAL "ABS(BALANCE)" GT 0.01 15480 record(s) selected to SELECT list #0. >>LIST F.ACCOUNT EVAL "ABS(BALANCE)" 0955485 1972.55 0971405 114629.25 098732845803.12 0048108

RE: [U2] [UV] Help with EVAL in SELECT statement

2004-11-17 Thread Moderator
REPOSTED FOR NON-MEMBER From: "Ed Clark" <[EMAIL PROTECTED]> Wild guess: does the literal 0.01 need to be quoted? > -Original Message- > From: [EMAIL PROTECTED] > Subject: [U2] [UV] Help with EVAL in SELECT statement > > Hi All, > > I typing the following commands in succession: > >

RE: [U2] Ants

2004-11-17 Thread John Cassidy
Well, isn't it anty-virus software? >>> [EMAIL PROTECTED] 11/16/04 4:09:28 PM >>> Is it crawling with them? heehee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Dodds Sent: 16 November 2004 19:57 To: [EMAIL PROTECTED] Subject: RE: [U2] Ants Bad,

Re: [U2] PCL5/6 Universe / AIX printer setup question

2004-11-17 Thread Lee Bacall
Tom Peliteri wrote: I have found that AIX gets flaky with some characters, depending on the PCL > command. I had to put some things into macros to get them to print > properly, and as previously mentioned, I recommend using the "passthrough" > setting for the form queue. Tom - thanks for your ins

[U2] LIST.INDEX Build info

2004-11-17 Thread karlp
I have a report I run every week that prints the output of LIST.INDEX on all files that have indexes. These are I_X files in Unix where I 'field' off the I_ and do LIST.INDEX X and send the output to the printer. I see the under the "Build" column, it always says "Not Reqd" (except for ne

[U2] Monitoring file changes

2004-11-17 Thread Mike Pflugfelder
Universe 9.6.2.1 Dec OSF1 V4.0F In our payroll application, we've got a file, EMPMAST which is indexed (Blacksmith Index for those that are curious). Occasionally, records are disappearing from the file, but not from the index. The only way that this should happen is from TCL. I've checked the

Re: [U2] [UV] Help with EVAL in SELECT statement

2004-11-17 Thread Martin Phillips
Hi Brian, I can see that this will run on a bit > I think Mats is correct. > > The 'field' in question is an EVAL expression, so doesn't have its own > conversion code unless you explicitly state it using the CONV keyword. Hence > the confusion over the result. EVAL takes on the properties o

RE: [U2] [UV] Help with EVAL in SELECT statement

2004-11-17 Thread Brian Leach
Martin, > Not true! Selection uses external format data. Where a field with a conversion code is compared with a > constant, the constant is converted to internal form prior to the comparison. The LIKE operator works the > other way around and converts the data to its external form as it couldn

Re: [U2] [UV] Help with EVAL in SELECT statement

2004-11-17 Thread Martin Phillips
> Remember that select uses the data unconverted and unformatted > (except for dates !) > and You probably have a MD2 conversion here and if so > the 0.0002 is stored as 0.02 that is larger than 0.01 ... Not true! Selection uses external format data. Where a field with a conversion code is comp

Re: [U2] [UV] Help with EVAL in SELECT statement

2004-11-17 Thread Mats Carlid
Remember that select uses the data unconverted and unformatted (except for dates !) and You probably have a MD2 conversion here and if so the 0.0002 is stored as 0.02 that is larger than 0.01 ... -- mats Marco Manyevere wrote: >Hi All, > >I typing the following commands in succession: > >SEL

[U2] [UV] Help with EVAL in SELECT statement

2004-11-17 Thread Marco Manyevere
Hi All, I typing the following commands in succession: SELECT F.ACCOUNT WITH EVAL "ABS(BALANCE)" GT 0.01 15480 record(s) selected to SELECT list #0. >>LIST F.ACCOUNT EVAL "ABS(BALANCE)" Here is part of the output: 0955485 1972.55 0971405 114629.25

[U2] [UV] Writing key .anything to type 19

2004-11-17 Thread Kesselhut, Lothar
>Date: Mon, 15 Nov 2004 13:06:28 - >From: "Martin Phillips" <[EMAIL PROTECTED]> >Subject: Re: [U2] [UV] Writing key .anything to type 19 >> I'm trying to read a text file with a key of ".lesskey.sbc" from a >> type 19 file, but the READ statement takes the ELSE clause even though >> the file