I find myself facing a very "unusual" request. I am working as consultant and the lead program has requested that I not monitor program errors and let the program fail so that a off iseries monitor can start a help ticket. In the other code I have written at this site I have monitor all operation, formatted the PSP and SQL Code, Status, Messages, identifying the code section and operation where the error occurred, and providing additional notes where needed. I sent them out via email to the on call program list and help desk. Apparently that is not their standard.
Ok no problem with standard RPG operations ... I don't agree with the approach but I can only advise them.
The issues is programs has embedded SQL. Short of causing a divide by zero, set up another bogus error, setting on Hxx indicators or letting a downstream operation fail, I cannot think of way to do this?
As stated, I don't agree with this approach however I have to make sure that just stating my opinion. Comments, advise, solutions and points of view would be appreciated.