This is an inbuilt function function provided by PPWIZARD.
This routine is probably most useful in when accessing SQL databases directly in rexx.
When an SQL specific error is detected simply call this routine with up to 6 lines (parameters) and it will dump these along with the reason the SQL call failed. PPWIZARD will then terminate.
Note that if parameter 1 is not passed then this call will create a description of the problem based on the last RexxSQL call used.