Hi,
We have a lot of code doing output using "output through" using scripts to handle the actual output. We are on AIX using progress 10.2a.
Occasionally our print hardware goes down which causes our printscripts to fail. This raises the following error:
Pipe to subprocess has been broken. (140)
How could we handle this error so that we can skip the printing and return to the program.
Thanks
eg. this would be ideal but it does not seem to catch the error. (I've tried using on stop as well)
do on error undo,leave:
output through "printscript".
put unformatted "doing output here".
catch any-error as progress.lang.error:
message
end catch.
output close.
end.
A bit late maybe :) only 4 years.. But we also se that broken pipe with progress on AIX. on Random when doing OS-command or input through.. wery annoying. We have not found a real pattern to get it everytime :(