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 />

data The message data to be sent. [IN]<br />

sndMsgName The name of a message object for the message being sent. If you specify<br />

““(null), UniData uses the system default message name (constant<br />

AMSD_SND_MSG). [IN]<br />

reasonCode Holds an AMI reason code when the functions 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 />

amSendRequest 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 reasonCode output<br />

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

about the error.<br />

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

amSendRequest Return Codes<br />

amSendRequest 1-97

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

Saved successfully!

Ooh no, something went wrong!