Page 1 of 1

List of all files with specific keywords

Posted: Thu Jan 12, 2017 12:56 am
by anweste
I need a list of all files who contains specific keywords.
And this for a completed user bibliothek.

That means if a user has 10 bibliothek and 3 files in his sser profile.
I want get a list of all files (full qualified name) who contains the keywords for example 'Test' and 'CALL'.

I do not kow how to do this in general.
I split it in two parts.

Part one
I have created a job that creats a file with all filenames und bibliotheks of the user. Using LISTCAT

For example:
User.File1
User.CNTL(File2)
User.DATA.SQL(File3)

Part two
I have create a job that creats a file with the name of the files how contains the keyword 'Test' and 'Call'
Using Filemanager

My problem is the part in the middle.
Filemanger only accepts a full qualified filename.
So i am searching for how to call the second JCL for each entry of the fileoutput from Step1.

Any idea?