>I am searching through some groups of files for a text string,
>but many of the files have lockwords which I want to skip. Does
>anyone know how to do this in Mpex?
>
>i.e. Print @.group1.acct + @.group2.acct - files_with_lockwords
>;search=caseless "search_string"
>
>TIA
>Henryk.
Henry,
Can't give you the exact statements, but I've done similar things
with the MPEX LISTF command. Take a look at the manual under "Defining
your own %LISTF Formats" until you find the "FOR RFILE IN" section, or
look at the "REPEAT...FORFILES" command. You will also want to use a
command such as:
Print fileset(RFILE.LOCKWORD="");Search=CL"searchstring"
Hope this helps,
David N. Lukenbill
--------------------------------------------------------------------
David N. Lukenbill
US Naval Surface Warfare Center, Louisville
Integrated Ships Defense, Resource Management
[log in to unmask][log in to unmask]