Retrieve COBOL Error Handler (QLRRTVCE) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Retrieve COBOL Error Handler (QLRRTVCE) API allows you to retrieve the name of the current or pending COBOL error-handling program. You can call it from any programming language; however, this API only retrieves the name of the error handling program that is called when an error occurs in a COBOL/400® program.


Authorities and Locks

None.


Required Parameter Group

Current or pending error-handling exit program name
OUTPUT; CHAR(20)

The qualified name of the error-handling program for the current or pending COBOL run unit.

The 20 characters of this parameter are:


Scope of error-handling exit program
INPUT; CHAR(1)

The program can apply to a current or pending run unit.

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: V3R6

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