HP3000-L Archives

September 2000, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Bruce A. Randall" <[log in to unmask]>
Reply To:
Bruce A. Randall
Date:
Wed, 27 Sep 2000 20:25:02 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (102 lines)
Re:

> I need to search for a particular string through certain files in a group
> and also need to find out the number of times the string occurs. I mean..
if
> I am looking for "WHAT" in [log in to unmask], I need to get a output like :
>
> Source1 - 2 occurences found
> Source2 - 10 Occurences found
> Source4 - 3 Occurences found.

<plug, plug, plug>

The DISCOVER/3000 Search Engine Analysis tool can do this AND
retain the last accessd date/time.

DISCOVER allows you to scan for up to 64 strings AND 64 excluded strings.
You can show the matches or not, and even extract the matched records to a
file.  An example of a simple string search of some COBOL source to locate
calles to IMAGE follows:
<<<<< note:the string |db??? contains wild card characters | and ?
| indicates a space or punctuation and ? indicates a letter
Strings are not case sensitive

:discover

DISCOVER/3000 [1.24.2] Copyright 2000 Impact Digital Solutions, Inc.
Licensed to : AC Transit
¤clear extract
EXTRACT path cleared.  STRING SEARCH records will NOT be extracted.
¤set display none
DISPLAY setting set to NONE
--WARNING-- Matched records will NOT be displayed
¤define string |db???
  1 Search STRINGS defined
¤string search files @.src
** Warning ** Records will NOT be extracted, EXTRACT path is blank
String Searching MPE files in @.SRC.EIS    WED, SEP 27, 2000    5:07 PM
--WARNING-- DISPLAY-NONE is set, you may not see any displays
=========================================================================
        90 files scanned for search STRINGs
               36 files contain one or more search STRINGS
         2 files skipped, empty file
         5 files skipped, not selected file code
*************************************************************************
        97 MPE files processed in this STRING SEARCH

**** Save STRING SEARCH Summary Listing in (SLIST.EIS) as
STRING SEARCH Summary Listing NOT saved, still a temp file SUMLIST
        36 located files listed in temporary file PROGLIST
¤print proglist
WED, SEP 27, 2000  5:07 PM
AP004.SRC.EIS                      11
AP005.SRC.EIS                       8
CLIBS.SRC.EIS                     347
CLM001.SRC.EIS                     33
CLM002.SRC.EIS                      3
CLM003.SRC.EIS                      1
CLM004.SRC.EIS                      3
CLM005.SRC.EIS                      3
CLM006.SRC.EIS                      5
CLM007.SRC.EIS                      1
CLM008.SRC.EIS                      1
CLM009.SRC.EIS                     54
CLM013.SRC.EIS                      1
COPYLIB.SRC.EIS                   347
COPYLIBS.SRC.EIS                  278
CS018SOL.SRC.EIS                   41
CS019.SRC.EIS                      33
CS030.SRC.EIS                      18
CS031.SRC.EIS                      13
CS032.SRC.EIS                       7
CS033.SRC.EIS                       7
CS033E.SRC.EIS                      7
CS033O.SRC.EIS                      7
CS034.SRC.EIS                      11
CS034O.SRC.EIS                     11
CS036.SRC.EIS                       5
CS254.SRC.EIS                      11
CS256.SRC.EIS                      11
CSCROSS.SRC.EIS                     3
FFF.SRC.EIS                       347
MM002.SRC.EIS                      51
TRAPC.SRC.EIS                       1
WF001.SRC.EIS                      58
WF060.SRC.EIS                      18
WF071.SRC.EIS                      57
WF073LST.SRC.EIS                   82
¤
-------------------------------------------------
When it comes to string searching, you can't beat DISCOVER/3000.  It can
also scan output spool files and QEDIT compressed files, AND you can enter
MPEX commands just by preceding them with a %.

For more info, please go to www.idswest.com and/or email me at
[log in to unmask]

See the Shawn Gordon review at http://www.3kworld.com/newsroom.asp?
appmode=itemDetail&news_pk=2464

Bruce A. Randall

ATOM RSS1 RSS2