IPI_Terminate()

This subprocedure is used to terminate the internal IPI environment. This should be called once all IPI operations have been completed at the end of your program.

Subprocedure Prototype

D IPI_Terminate...
D                 PR              N   Extproc('IPI_Terminate')
D                                     Opdesc

Returns *OFF if an error occurs during processing, *ON otherwise.

D  pErrorDS                           LikeDS(IPI_ErrorDS_t)
D                                     Options(*Nopass:*Omit)

Optional parameter that, if passed, will contain error data returned from the subprocedure. If it is not passed, exceptions will instead be "thrown" and must be caught by a MONITOR block.

Data Structures

D IPI_ErrorDS_t   DS                  Qualified Template Inz
 
D  Subproc                     132A   Varying

Name of the subprocedure that encountered an error.

D  MessageId                     7A

Message ID corresponding to the error that occurred.

D  Message                    1024A   Varying

Error message text providing details about the error.