HP3000-L Archives

September 1998, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"GIRIDHAR (WIPRO ENTERPRISE SOLUTIONS)" <[log in to unmask]>
Reply To:
GIRIDHAR (WIPRO ENTERPRISE SOLUTIONS)
Date:
Mon, 14 Sep 1998 18:40:56 +0530
Content-Type:
text/plain
Parts/Attachments:
text/plain (52 lines)
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)

ATOM RSS1 RSS2