You can cancel an outermost ILE COBOL program from ILE RPG, ILE C, and ILE CL, by calling its cancel procedure using a static procedure call. The name of the cancel procedure is formed by taking the name of the outermost ILE COBOL program and adding the suffix _reset.
You cannot cancel an ILE COBOL program from an OPM COBOL/400 program or an OPM RPG/400 program.
Do not use the Reclaim Resources (RCLSRC) CL command to cancel an ILE COBOL program. If RCLRSC is issued within an ILE activation group, it will cause an exception. For more information on the RCLRSC command, refer to the CL and APIs section of the Programming category in the iSeries 400 Information Center at this Web site -http://www.ibm.com/eserver/iseries/infocenter.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.