The answer to this is, of course, "Yes".
You do not say whether you are using SDSF or (E)JES. If the former, I have very little experience with it; but others here have much more, and they may be able to help.
If you are using (E)JES, you can of course search by specifying "F <token>"; however your post suggests that you are looking for a more automated solution, probably a Rexx script to run in the background. I won't have access to my materials on the (E)JES API until next year, but I'll get back to you then.
If you are looking for tested code, my billing rate is USD 90/hour (or part thereof).
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day