Hi All,
Usually whenever we do srchfor, it will search for all the lisitings (pds members/ds-list in 3.4) provided,
which spikes cpu if the count is in 10,000s (or even more). Hence I was thinking to customize srchfor such that a srchfor-job is
submitted in case user does srchfor and number of lines to be searched are > 5000 (or any desired count).
Any suggestions, on how we can customize srchfor to get invoked in batch mode rather in foreground, if line count exceed 5k.?
As an alternative, a rexx can be created to achieve the purpose stated, but it will not show results as srchfor does in a user friendly way, rather it would write in SRCHDSL.LIST,
that's why I went for customization.
Regards,