You create a message subscriber to receive the message from the topic newtopic. The subscriber handles the message using the internal procedure myintproc, as shown in the following example.
Creating a Message Subscriber
/* Receives requests from the newTopic */
RUN createMessageConsumer IN hPubSubSession
(THIS-PROCEDURE, "myintproc", OUTPUT hConsumer).