In XEDIT, the FIND command only looks at the beginning of each record. As 
others have mentioned, the LOCATE is the way to find strings located anywhere 
in the records. There are also some shortcuts for proceeding beyond a string 
that has been located. If you have not entered a command following a successful 
locate, you can press PF9 to repeat the last command. You can use PF6 to 
retrieve prior commands that have been entered via the command line. Those are 
the defaults when they haven't been changed via a PROFILE XEDIT; they can be 
changed.

I presume that the "as TSO" refers to ISPF. I think that if you are going to be 
using XEDIT very much, spending some time exploring it would be time well 
spent. It is highly customizable using PROFILE XEDIT and if that isn't enough, 
you can write your own macros.

Grep! What is that? I believe it was Alan Ackerman who said in a post to this 
list, he may have been quoting someone else, that he would not trust a system 
whose commands, when spoken, sounded like bowel noises. :-)


Regards, 
Richard Schuh 

 

> -----Original Message-----
> From: The IBM z/VM Operating System 
> [mailto:[email protected]] On Behalf Of P S
> Sent: Tuesday, July 21, 2009 6:24 AM
> To: [email protected]
> Subject: Re: Find command
> 
> On Tue, Jul 21, 2009 at 6:24 AM, Bob 
> Woodside<[email protected]> 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.
> 

Reply via email to