Re: TurboIMAGE vs KSAMXL
- From: Roy Brown <Roy_now_free_from_spam@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Sep 2009 20:09:50 +0100
In message <205452.76249.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Edwin Clements <eclements@xxxxxxxxx> writing at 04:28:37 in his/her local time opines:-
I was thinking the same thing. It would be easy enough to set up a Suprtool procedure to do that, and it would do it very quickly and get you the information you need. That is probably how I would do it.
"Smarter" is nice sometimes, but there's definitely something to be said for the good old "KISS" principle.
Well, we can make it KIFS (Keep It Fairly Simple), by (rather than reading through a million records to get an entry count of zero or one or two) using FFINDBYKEY with RELOP = 0 for the key we are interested in, and then only having to read and count the exact matches with FREAD until encountering CCG.
--- On Tue, 9/29/09, Roy Brown <Roy_now_free_from_spam@xxxxxxxxxxxxxxxxxxxx> wrote:
From: Roy Brown <Roy_now_free_from_spam@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [HP3000-L] TurboIMAGE vs KSAMXL
To: HP3000-L@xxxxxxxxxxxxx
Date: Tuesday, September 29, 2009, 2:25 AM
In message <LISTSERV%200909282338022530.3528@xxxxxxxxxxxxx>,
Brian
Donaldson <bmdinsocal@xxxxxxx>
writing at 23:38:02 in his/her local time
opines:-
>In TurboIMAGE if I want to see how many entries have a
particular key value
>all I have to do is look at the chain length on a
dbfind procedure.
>Works great.
>
>However, I have no idea how to do this with data stored
in a KSAMXL file.
>
>My question is this, can it even be done in KSAMXL ?
>
>TIA,
>
>Brian Donaldson.
Brute force would be read 'em and count 'em.
So yes, it can be done :-)
But you want smarter than that, right?
--
Roy Brown 'Have nothing in your
houses that you do not know to be
Kelmscott Ltd useful, or believe to
be beautiful' William Morris
* To join/leave the list, search archives, change list
settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
--
Roy Brown 'Have nothing in your houses that you do not know to be
Kelmscott Ltd useful, or believe to be beautiful' William Morris
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
.
- References:
- Re: TurboIMAGE vs KSAMXL
- From: Roy Brown
- Re: TurboIMAGE vs KSAMXL
- From: Edwin Clements
- Re: TurboIMAGE vs KSAMXL
- Prev by Date: Re: How to do listf by Ldev wise.
- Next by Date: Re: Suprtool question
- Previous by thread: Re: TurboIMAGE vs KSAMXL
- Next by thread: Skipping Lines in a Streamed Job
- Index(es):
Relevant Pages
|
Loading