Dear guys,
I have this script that I put in the Job's Post Process.
The purpose of this script is to scan through the output file for a specific string.
In order to do that, I need to set the Agent, and somehow the agent was not able to be set, most properly was used by another job. Because of this, the script didn't work (Depends on whether the script managed to set the agent or not, sometimes it works, sometimes it is not).
Will you please suggest if there is any way I can improve this script? For example like if the agent is not set, then it will not proceed to the next, but at the same time not creating an infinitely loop.
Attached is the portion of the script that trying to set the agent, please let me know if you need more information.
Any help is appreciated. :)
------------------------------
Ken
TX, Houston
------------------------------