Hello again!
I'm trying to figure out how to effectively search RACF profiles that match data patterns in an external file to build RACF commands.
The first part I am able to accomplish in reading an external file into my own Deftype type=$audit and having type=$audit variables such as $class, $pmask, $succ, and $fail which has the data.
The next part I'm working on is how to perform newlist type=racf searches using this external file information as the criteria for the search to build commands. The pseudocode if you will is below for what I'm trying to accomplish:
newlist type=racf nopage
select c=general and s=base c=$class(0) mask=$pmask(0)
sortlist "ralt" | class(0) key(0) | " audit(succ(" | $succ(0) | "," | $fail(0) | ")"
However, I'm not able to find a successful way to use the type=$audit data in this step. I've looked at and attempted the "Lookup" function but it doesn't seem that will quite work in this instance (data in input file doesn't have unique keys).
Any guidance would be appreciated!
------------------------------
Adam Klinger
------------------------------