If it is a single file that we are interested in, do not forget the ALL command 
in XEDIT. ALL /banana/ will limit the display to only those records containing 
the string "banana". 

If we are just talking about searching a set of files for a set of strings, I 
have been using a search facility for a couple of decades. The search is 
Pipelines based, allows for simple Boolean expressions (AND, OR and NOT 
operators, no parentheses), multiple arguments, per argument or global 
specification of columns or case (respect or ignore), etc. If there are any 
hits, an XEDIT session is entered for viewing the results. If you want to edit 
one of the files in the results display, placing the cursor on one of its lines 
and pressing PF11 xedits the file and positions it so that the line where the 
cursor was becomes the current line. The files to search and the search 
arguments can be specified on the command line or in files. The arguments may 
also be entered interactively. When entering arguments via file, the only 
constraint is virtual memory; each argument causes an addpipe. It is pretty 
darn fast.

<whisper on>
It's a secret - don't tell anybody. I have been known to send the package to 
others who have expressed interest. 
<whisper off>
 

Regards, 
Richard Schuh 

 

> -----Original Message-----
> From: The IBM z/VM Operating System 
> [mailto:ib...@listserv.uark.edu] On Behalf Of Dave Wade
> Sent: Tuesday, July 21, 2009 12:32 PM
> To: IBMVM@LISTSERV.UARK.EDU
> Subject: Re: Find command
> 
> > -----Original Message-----
> > From: The IBM z/VM Operating System 
> [mailto:ib...@listserv.uark.edu] 
> > On Behalf Of P S
> > Sent: 21 July 2009 14:24
> > To: IBMVM@LISTSERV.UARK.EDU
> > Subject: Re: Find command
> > 
> > On Tue, Jul 21, 2009 at 6:24 AM, Bob 
> Woodside<rwoodsi...@woodsway.com>
> > wrote:
> > > On Tuesday 21 July 2009, Philip Hitti wrote:
> > >> Is there any command to find a word in the midle of the 
> vm file and 
> > >> continue seaching until the end of the text as TSO.
> > >
> > >    I'm not sure what you mean by "as TSO", but IIRC there 
> is a grep 
> > > command under z/VM. Also, I thought the SuperCE tool was 
> available 
> > > under z/VM also. Or are you talking about finding a 
> string in XEDIT?
> > 
> > There's no standard grep on VM. There are several floating around, 
> > though. SuperCE is available but isn't free, unless that's changed.
> 
> There is a SCANCMS here
> 
> http://zvm.sru.edu/~DOWNLOAD/
> 
> but is says it needs "370accom on" so it may need tweaks for zVM...
> 
> Dave
> G4UGM
> 

Reply via email to