11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Parameter Description<br />

rcvMsgName The name of the message object for the received message. If you specify<br />

““(null) for this parameter, UniData uses the system default receiver<br />

name. UniData uses the value for rcvMsgName in the subsequent call to<br />

the amSendResponse function. [IN]<br />

senderName The name of a special type of sender service known as a response sender,<br />

to which the response message will be sent. This sender name must not<br />

be defined in the repository. If you do not specify a name, UniData uses<br />

the system default response sender service. [IN]<br />

reasonCode Holds an AMI reason code when the function returns a status indicating<br />

an AMI warning or an AMI error occurred. You can use the AMI reason<br />

code to obtain more information about the cause of the warning or error.<br />

See the MQSeries Application Messaging Interface manual for a list of<br />

AMI reason codes and their descriptions. [OUT]<br />

The following table describes the status of each return code.<br />

Return Code Status<br />

amReceiveRequest Parameters (continued)<br />

0 – AMCC_SUCCESS Function completed successfully.<br />

1 – AMCC_WARNING A warning was returned from AMI. The reasonCode output<br />

parameter contains an AMI reason code with further details<br />

about the warning.<br />

2 – AMCC_FAILED An error was returned from AMI. The reason code output<br />

parameter contains an AMI reason code with further details<br />

about the error.<br />

Other A non-AMI error occurred.<br />

amReceiveRequest Return Codes<br />

amReceiveRequest 1-93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!