I'm using the following code to capture the Procomm session while running an aspect script:
-------------------------------
set capture OVERWRITE ON
set capture recordmode FILTERED
set capture path <capturepath>
set capture file <filename>
capture ON
-------------------------------
It seems that Procomm only writes the capture session to the capture file when the script is done. However, we use a program at work (which I did not write and cannot modify) that runs a bunch of aspect scripts with the above code in a batch. If one of these scripts hangs (which they do from time-to-time), the program running the batch kills the running Procomm process after a certain time limit is reached, and thus terminates the aspect script before Procomm has a chance to write to the capture file. As a result, I end up with a 0k capture file, and I have no idea what went wrong with the script
Is there a way to tell Procomm to write to the capture file as it goes along, instead of waiting til the very end, or maybe some other way around this problem?
-------------------------------
set capture OVERWRITE ON
set capture recordmode FILTERED
set capture path <capturepath>
set capture file <filename>
capture ON
-------------------------------
It seems that Procomm only writes the capture session to the capture file when the script is done. However, we use a program at work (which I did not write and cannot modify) that runs a bunch of aspect scripts with the above code in a batch. If one of these scripts hangs (which they do from time-to-time), the program running the batch kills the running Procomm process after a certain time limit is reached, and thus terminates the aspect script before Procomm has a chance to write to the capture file. As a result, I end up with a 0k capture file, and I have no idea what went wrong with the script
Is there a way to tell Procomm to write to the capture file as it goes along, instead of waiting til the very end, or maybe some other way around this problem?