Date: Tue, 9 Feb 1999 13:01:18 -0500
Reply-To: Michael Hines <mshines@PURDUE.EDU>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Michael Hines <mshines@PURDUE.EDU>
Subject: Re: (MVS) Slightly Off-Topic Question
In-Reply-To: <"SSW 990209124110274161*/G=MICHAEL/S=RAITHEL/OU=RAITHM49/O=US
Customs Service/PRMD=GOV+CUSTOMS/ADMD=TELEMAIL/C=US/"@MHS>
Content-Type: text/plain; charset="us-ascii"
Michael Raithel:
At your DOS prompt, type FIND /? - it will give you instructions for using
the Windows FIND command - part of the OS.
You can also get a program called "grep" (ala UNIX) from many sources (as
freeware) which will search files for text strings (actually is will search
using UNIX 'regular expressions'). To find a copy just use Dogpile
(http://www.dogpile.com) and run a search for 'grep' - you should find
several sources.
If you have access to UNIX, you can read the on-line manual about it with a
'man grep' command.
At 12:41 PM 2/9/99 -0500, you wrote:
> Dear SAS-L-ers,
>
> I am in need of some advice on a product that will search
> for keywords within files in a PC directory. Here is the
> scenario:
>
> I have downloaded an MVS Partitioned Data Set (PDS) full of
> SAS programs to the desktop and stored them as objects in a
> PC folder in the form: abcdefgh.TXT. I will convert many
> of them over to PC SAS programs (abcdefg.sas) as I see fit,
> based on my needs.
>
> On MVS, when I need to find something in particular, say
> how I've employed the PEEK function, I would use the ISPF
> "Search-For Utility" to search the Partitioned Data Set
> (PDS) directory and return all programs in which "PEEK" is
> found. I then copy the program of my choice and... go on
> from there...
>
> Is there a nifty product in the PC world (Windows 95 and/or
> Windows/NT) that is like the mainframe "Search-For
> Utility"? I would appreciate any and all advice. Thank
> you.
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Michael A. Raithel
> "The man who wrote the book on performance" E-mail:
> maraithel@erols.com
> Author: Tuning SAS Applications in the MVS Environment
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ...everywhere you go you see them searching, everywhere you
> go you feel their pain, everyone is looking for an answer,
> well look again... -- Moody Blues
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
===================================================================
Internet: mshines@purdue.edu | Michael S. Hines CDP,CISA,CIA,CFE
Voice: (765) 494-5338 | Coordinator of Systems and Programming
FAX: (765) 496-1466 | Purdue University
| 1280 Engineering Administration
| West Lafayette, IN 47907-1280
|