DBMS_PIPE.SEND_MESSAGE with timeout : DBMS_PIPE « System Packages « Oracle PL/SQL Tutorial






SQL>
SQL>
SQL> CREATE OR REPLACE PROCEDURE send_message (pipe IN VARCHAR2, dtval IN DATE)
  2  IS
  3     stat PLS_INTEGER;
  4  BEGIN
  5     DBMS_PIPE.PACK_MESSAGE (dtval);
  6     stat := DBMS_PIPE.SEND_MESSAGE (pipe, timeout => 60);
  7     IF stat != 0
  8     THEN
  9        DBMS_OUTPUT.PUT_LINE ('Unable to send message to ' || pipe);
 10     END IF;
 11  END;
 12  /

Warning: Procedure created with compilation errors.

SQL>
SQL>








31.18.DBMS_PIPE
31.18.1.DBMS_PIPE.CREATE_PIPE
31.18.2.DBMS_PIPE.RECEIVE_MESSAGE with timeout
31.18.3.DBMS_PIPE.SEND_MESSAGE with timeout
31.18.4.DBMS_PIPE.SEND_MESSAGE
31.18.5.DBMS_PIPE.PACK_MESSAGE
31.18.6.DBMS_PIPE.REMOVE_PIPE
31.18.7.DBMS_PIPE.RECEIVE_MESSAGE
31.18.8.Use dbms_pipe package
31.18.9.DBMS_PIPE.RESET_BUFFER
31.18.10.DBMS_PIPE.UNPACK_MESSAGE and record type
31.18.11.Use DBMS_PIPE to pack message and send message