I am very much thankful to your suggestions.
I think I did'nt put my question in a proper way.
In a set of jobs..... I want to listout all the FILES
used with the verb "ACCESS".
(FOR EXAMPLE IF THE STATEMENT IS
ACCESS *MERJ0010
I want to list MERJ0010 as my output)
Using print command as
PRINT jobname;SEARCH="ACCESS";NUM
lists all the lines containing "ACCESS" along with the line number.
Is there any string function/method to do this.
Thanks and regards
Giridhar.
-----Original Message-----
From: Chris Bartram <[log in to unmask]>
To: [log in to unmask] <[log in to unmask]>
Date: Sunday, September 13, 1998 3:59 PM
Subject: Re: STRING FUNCION IN MPEX.
> In <[log in to unmask]>
[log in to unmask]
>writes:
>
>> Is there any string function in MPEX that can parse
>> a particular string in a file.
>>
>> for example : I need to list out all files which come with verb ACCESS.
>> I want only the file name to be listed out and not the whole line.
>
>See %help fcontains
>and %help fsearchexp
>in MPEX. Both can be used in a LISTF command to search for files
>containing a certain string, and you can even specify start/end line#s
>to search, and I believe something equivalent to "find this string as long
>as it's within 'n' lines of this <other> string"...
>
> -Chris Bartram
>
>(remove 'nospam' for personal replies)