Set Program Return Code (CEE4SETRC) API


  Required Parameter Group:


  Omissible Parameter:


  Service Program Name: QLEAWI

  Default Public Authority: *USE

  Threadsafe: Yes

The Set Program Return Code (CEE4SETRC) API sets the program return code. The program return code is primarily used by the ILE C and ILE C++ languages to provide program status information to the caller of the program. The CEE4SETRC API allows other ILE languages to set the program return code value.

Authorities and Locks

None.


Required Parameter Group

rc (input)
The new value for the program return code.


Omissible Parameter

fc (output)
A 12-byte feedback code.

Feedback Codes and Conditions


Usage Notes



API introduced: IBM® i 7.1

[ Back to top | ILE CEE APIs | APIs by category ]