Consultor Eletrônico



Kbase P99669: SonicMQ Messaging: Error (3234) invoking the browseQueue method.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   05/01/2005
Status: Unverified

FACT(s) (Environment):

Progress 9.1D

SYMPTOM(s):

Mismatched number of parameters passed to procedure <procedure>. (3234)

Invoking the browseQueue method to browse messages in a PTP queue without consuming them using the following syntax:
RUN browseQueue IN ptpsession (cQueueName,hMessageConsumer).

In the 9.1D documentation the syntax for the browseQueue procedure appears as follows:
PROCEDURE browseQueue.
DEFINE INPUT PARAMETER cQueueName AS CHARACTER.
DEFINE INPUT PARAMETER hMessageConsumer AS HANDLE.

CAUSE:

The browseQueue syntax is wrong in 9.1D documentation. The correct syntax is:
PROCEDURE browseQueue.
DEFINE INPUT PARAMETER cQueueName AS CHARACTER.
DEFINE INPUT PARAMETER cMessageSelector AS CHARACTER.
DEFINE INPUT PARAMETER hMessageConsumer AS HANDLE.

FIX:

Invoke the browseQueue method using the following syntax:
RUN browseQueue IN ptpsession (cQueueName , cMessageSelector , hMessageConsumer ).