I have been trying to think of solutions for this but have not had much luck on my own.
I am trying to create a macro/routine that will filter out certain results from the system as we normally get flooded by them.
Is there a way to filter results that contain 512345 or any other numbers.
I have thought about maybe outputting the history results into a file and then making some sort of loop to read said file and try filter it out that way but i don't even know how to do that as I have no examples to work off of.
This is the current history command i'm trying to use.
History all,,substandard approval rate
Any ideas/help would be great;y appreciated
Thanks.
The builtin TACL history command only accepts one (optional) argument which is the number of old commands to show you, so it's not obvious that you are using that from your example. It also uses #HISTORY which has a buffer of 1000 characters.
Assuming that you are using the builtin command, you can see how it is written and write your own TACL routine that does filtering. You would have to redirect #OUT to capture the output.
This is what the existing command looks like:
So you can do something along these lines:
You now have the history in file
aand also in a TACL variablecmdsand you can process it as you want.