Kbase P128278: What does a question mark (?) received as RETURN-VALUE for a SonicMQ adapter call mean?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/01/2008 |
|
Status: Unverified
GOAL:
What does a question mark (?) received as RETURN-VALUE for a SonicMQ adapter call mean?
GOAL:
RUN sendToQueue IN ptpsession ("SampleQ1", messageH, ?, ?, ?) NO-ERROR.
MESSAGE PROGRAM-NAME(1) ERROR-STATUS:ERROR 7 RETURN-VALUE VIEW-AS ALERT-BOX.
GOAL:
The output of the above code is: example18.p no 7 ?
FIX:
A question mark shown as RETURN-VALUE has no real meaning other than we executed the request but don't know what further happened to the message as it is an asynchronous request and now not in our hands anymore what is happening. If a problem would have been detected then a meaningful error message would have been returned e.g. "Queue not found".