Page 1 of 1

Is there a command to view lines containing a specific word?

Posted: Sun Oct 05, 2014 10:05 pm
by Arvind Sagvikar
Hi,

I have a dataset with more than 100K ecords and I want to view only those lines containing the word "mffile". I tried "F mffile" in the command line. But then I go through all the lines one by one and this is really tough. So I need a better option.

Please help.

Re: Is there a command to view lines containing a specific w

Posted: Sun Oct 05, 2014 10:47 pm
by enrico-sorichetti
try to VIEW the file

EXCLUDE ALL
FIND <yourword> WORD ALL

Re: Is there a command to view lines containing a specific w

Posted: Mon Oct 06, 2014 1:43 pm
by Rohit Bal
Hi Enrico,

What is WORD used for?

Re: Is there a command to view lines containing a specific w

Posted: Mon Oct 06, 2014 3:01 pm
by enrico-sorichetti
You will find the answer in the ISPF manuals or gently pressing the HELP key