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.

amSendResponse<br />

Syntax<br />

amSendResponse(hSession, senderName, policyName, rcvMsgName, data, sndMsgName,<br />

reasonCode)<br />

Note: This function is case-sensitive. If you want it to be case-insensitive, you<br />

must compile your programs using the BASIC command with the -i option.<br />

Description<br />

1-98 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

The amSendResponse function sends a request message.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

hSession The session handle returned by amInitialize. [IN]<br />

senderName The name of the sender service. It must be set to the senderName you<br />

specify for the amReceiveRequest function. [IN]<br />

policyName The name of a policy. If you specify ““(null), UniData uses the default<br />

policy name.<br />

rcvMsgName The name of the received message to which this message is a response.<br />

It must be set to the rcvMsgName you specify for the amReceiveRequest<br />

function. [IN]<br />

dataLen The length of the message data, in bytes. [IN]<br />

amSendResponse Parameters

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

Saved successfully!

Ooh no, something went wrong!