Mark,
I am looking for the command that generated the 701.
The 701 errors show up in the ASE log.
The error could show up in multiple application logs as all of them could be the victims of it rather than the originators of the problem.
Wouldn't looking at monSysStatement have the same problem as above? Say SPID 100 was originator of this problem but SPIDs 101,102,103 were running and using the procedure cache and encountered the 701 error, wouldn't the ErrorStatus on all the these SPIDs show 701?
Anil