Retrieve COBOL Error Handler (QlnRtvCobolErrorHandler) API


  Required Parameter Group:


  Default Public Authority: *USE

  Service Program: QLNRMAIN

  Threadsafe: No

The Retrieve COBOL Error Handler (QlnRtvCobolErrorHandler) API allows you to retrieve the procedure pointer of the current COBOL error-handling procedure. You can call it from any ILE programming language; however, this API only retrieves the procedure pointer of the error handling program that is called when an error occurs in an ILE COBOL program.


Authorities and Locks

None.


Required Parameter Group

Current error-handling exit procedure pointer
OUTPUT; ANYPTR

Valid values are:


Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Error Messages



API introduced: V2R1.1

[ Back to top | High-level language APIs | APIs by category ]