DB2 Server for VSE & VM: Application Programming


Handling Program Interrupts

If a program interrupt occurs and the database manager is unaware of it, you may receive unexpected results. To allow the system to process the interrupt, include the following declaration statement after the "EXEC SQL END DECLARATION SECTION" statement:

  DCL PLIXOPT CHAR(20) VAR INIT('TRAP(OFF)') STATIC EXTERNAL;

If your PL/I compiler is NOT Language Environment enabled, add the following statement instead:

  DCL PLIXOPT CHAR(20) VAR INIT('NOSTAE,NOSPIE') STATIC EXTERNAL;


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]