www.krengeltech.com

RXS_stdOutError

From Wiki

User Guide

Contents

Description

Use this subprocedure to output (to standard out) an xml error message detailing an error that has taken place. This is usually used with either RXS_catchError to display errors from the call stack or in conjunction with the errHandler subprocedure.

Prototype

     D RXS_stdOutError pr
     D  pXmlTag                     256a   Value varying
     D  pErr                               Value likeds(RXS_Error)
     D  pWrtHdr                        n   Value

Parameters

pXmlTag
Root element name of the xml document to be generated.
pErr
Error information to be displayed. This can be a value returned from subprocedure RXS_catchError or the name of the data structure containing the error information (usually captured/populated in errHandler).
pWrtHdr
Indicates if an Http header should be generated.

Return value

None.

Notes / Examples

None.