Re: [U2] Accuterm color config

2010-10-19 Thread Charles_Shaffer
Thanks Tony, that was just what I needed. And thanks to everyone. I ended up going with a black background but keeping colors. Black is less of a strain on my eyes and the colors are useful. >>Here are some notes I have on the topic, which I created to solve >>the exact problem described. >>Ch

Re: [U2] CREATE.TRIGGER - Permission denied

2010-10-19 Thread Dave Davis
Sorry - thought you did - no offense intended - should be in the manual. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Charlie Noah Sent: Monday, October 18, 2010 5:53 PM To: U2 Users List Subject: Re: [U2] CREATE.

Re: [U2] Stumped with TRANS...

2010-10-19 Thread Bill Haskett
DesignBais does all that too. They've built a framework that is used by the developer to ensure variables are available between connections for each session. Very handy! :-) Bill DavidJMurray (mvdbs.com) said the foll

[U2] How many will be selected?

2010-10-19 Thread George Gallen
UV here I open a file, then use SELECT filevarible then proceed to do a LOOP/READNEXT/REPEAT to scan through the file. OPEN "","SOMEFILE" TO F.TEST ELSE STOP SELECT F.TEST LOOP READNEXT ID ELSE EXIT REPEAT Is there any way to know how many records WILL BE processed in that loop before scann

Re: [U2] How many will be selected?

2010-10-19 Thread Dan Goble
SYSTEM(11) in basic code will return the number of items selected -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen Sent: Tuesday, October 19, 2010 1:41 PM To: U2 Users List Subject: [U2] How many will be

Re: [U2] How many will be selected?

2010-10-19 Thread Dave Davis
Do you have SYSTEM(11) like we do in UniData? It may do something else entirely or be slightly different. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen Sent: Tuesday, October 19, 2010 1:41 PM To: U2

Re: [U2] How many will be selected?

2010-10-19 Thread George Gallen
SYSTEM(11) Returns a 1 if select list is active, and 0 if not I didn't see any SYSTEM codes for # selected George > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of Dan Goble > Sent: Tuesday, October 19, 2010 1:

Re: [U2] How many will be selected?

2010-10-19 Thread FFT2001
In a message dated 10/19/2010 10:41:38 AM Pacific Daylight Time, ggal...@wyanokegroup.com writes: > UV here > > I open a file, then use SELECT filevarible then proceed to do a > LOOP/READNEXT/REPEAT to > scan through the file. > > OPEN "","SOMEFILE" TO F.TEST ELSE STOP > SELECT F.TEST > LOOP

Re: [U2] How many will be selected?

2010-10-19 Thread George Gallen
Psychic you are! Do you read palms as well? > > George I think, if I'm psychic you want to know this, because you want > to > know "How Much Longer Will This Process Take?" > > There *is* a way to do that, even with a simple BASIC select, but it's > not > quite the way you're trying to do it.

Re: [U2] How many will be selected?

2010-10-19 Thread FFT2001
In a message dated 10/19/2010 10:50:28 AM Pacific Daylight Time, ggal...@wyanokegroup.com writes: > Psychic you are! Do you read palms as well? > What you need to do is ask the system these questions: 1) How many groups are in this file? and 2) What group number am I in right now. The groups

Re: [U2] How many will be selected?

2010-10-19 Thread Larry Hiscock
Does UV have READLIST? Here's roughly how I'd do it in UD: OPEN "","SOMEFILE" TO F.TEST ELSE STOP SELECT F.TEST READLIST MYLIST ELSE STOP REC.COUNT = DCOUNT(MYLIST,@FM) LOOP REMOVE ID FROM MYLIST SETTING MORE WHILE MORE REPEAT Larry Hiscock Western Computer Services -Original Message---

Re: [U2] How many will be selected?

2010-10-19 Thread Dave Laansma
The problem with this question is, if I understand correctly, the SELECT F.FILENAME statement does not truly select the entire file all at once. It essentially selects one group at a time and passes those keys to the READNEXT statement as they become available. Which is why the SELECT F.FILENAME

Re: [U2] How many will be selected?

2010-10-19 Thread Steve Johnson
If you execute "SELECT SOMEFILE" rather than the basic SELECT statement then you can get the number of items selected with the basic SELECTINFO function on UV or with @SYSTEM.RETURN.CODE on UD. Regards, Steve On Tue, Oct 19, 2010 at 10:41 AM, George Gallen wrote: > UV here > > I open a file, th

Re: [U2] How many will be selected?

2010-10-19 Thread George Gallen
I chose to do the: EXECUTE "SELECT filename" RTNLIST CAPTURING JUNK Since it also does a SELECT filevarible with it in the RTNLIST. Both COUNT and SELECT in the EXECUTE set the @SELECTED correctly, so it would still work with the COUNT, just I'd still have to do SELECT filevarible afterwards. Geor

Re: [U2] How many will be selected?

2010-10-19 Thread George Gallen
takes longer as well. But seems you can't cheat mother UV, sooner or later you lose what you save! > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of Steve Johnson > Sent: Tuesday, October 19, 2010 2:12 PM > To: U

Re: [U2] How many will be selected?

2010-10-19 Thread George Gallen
What is this? Doc Johnson's magic health tonic? Alas, I think the hair is gone for good. What function returns the group information? I don't remember seeing that one. George > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2

Re: [U2] How many will be selected?

2010-10-19 Thread FFT2001
In a message dated 10/19/2010 11:19:18 AM Pacific Daylight Time, ggal...@wyanokegroup.com writes: > What function returns the group information? I don't remember seeing > that one. > You chose the easy way out George :) ___ U2-Users mailing list U

Re: [U2] How many will be selected?

2010-10-19 Thread Henry Unger
>From HELP BASIC SELECTINFO: | SELECTINFO function | | | | _| |

Re: [U2] How many will be selected?

2010-10-19 Thread DAVID WADEMAN
If he was using SELECT statement which thus using READNEXT, this puts you in a save-list mode, does @SYSTEM.RETURN.CODE work for Universe? I use it a lot in Unidata processes. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Beh

Re: [U2] CREATE.TRIGGER - Permission denied

2010-10-19 Thread Charlie Noah
No problem, Dave. I would still like to get a clarification from those in the know of how Universe and Unidata handle this issue, though. For instance: Do they require root access? If not, do they require you to be the file owner? Is being in the same group as the file sufficient? It was when I

Re: [U2] CREATE.TRIGGER - Permission denied

2010-10-19 Thread bradley . schrag
> No problem, Dave. I would still like to get a clarification from those >in the know of how Universe and Unidata handle this issue, though. On UD 7.1 / AIX 5.3 I have to be the owner to do a CREATE-TRIGGER, even if the file privs are 777. Brad U.S. BANCORP made the following annotations

Re: [U2] How many will be selected?

2010-10-19 Thread Dan McGrath
In UD it is HASH(record key, file modulo, type) to return a key's group. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen Sent: Wednesday, 20 October 2010 5:19 AM To: U2 Users List Subject: Re: [U2] How m

[U2] Compiling 101

2010-10-19 Thread Bill Brutzman
I created a new UV account /u2/CODE I put a program in /u2/CODE/BP/FLAVOR.R0. I was not able to compile the program. When I ran the command >BASIC BP FLAVOR.R0 I obtained an error message Unable to open "BP" file.

Re: [U2] Compiling 101

2010-10-19 Thread Kate Stanton
Very basic - is BP a Type 1 file? On 20 October 2010 13:29, Bill Brutzman wrote: >I created a new UV account > /u2/CODE > >I put a program in /u2/CODE/BP/FLAVOR.R0. >I was not able to compile the program. > > When I ran the command >BASIC BP FLAVOR.

Re: [U2] Compiling 101

2010-10-19 Thread Tom Dodds
Good try, First off when you created the file, CODE, you had to be sure to create a Type 1 on Type 19 file. These are really Unix directories and accessible to the basic compiler which is a Unix program. Secondly the compile command, in your case would be "BASIC CODE FLAVOR.RO. The second ar