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

Time Sharing Option, Interactive System Productivity Facility and REstructured eXtended eXecutor

Moderator: mickeydusaor

Post Reply
Arvind Sagvikar
New Member
Posts: 1
Joined: Tue Jul 29, 2014 2:35 pm

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

Post 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.
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

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

Post by enrico-sorichetti »

try to VIEW the file

EXCLUDE ALL
FIND <yourword> WORD ALL
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Rohit Bal
New Member
Posts: 3
Joined: Mon Jul 28, 2014 5:29 pm

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

Post by Rohit Bal »

Hi Enrico,

What is WORD used for?
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

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

Post by enrico-sorichetti »

You will find the answer in the ISPF manuals or gently pressing the HELP key
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “TSO, ISPF & REXX (Do you still do CLIST?!).”