SNAX/APC Application Programming Manual

Application Prototype Simulator
SNAX/APC Application Programming Manual138786
4-62
MC-SEND-DATA (F7)
MC-SEND-DATA (F7)
MC-SEND-DATA sends data to the partner TP by moving data into the SNAX/APC
send buffer. The data is not necessarily transmitted immediately. Subsequent MC-
SEND-DATA verbs concatenate new data with the data already in the send buffer. The
data is sent to the partner TP when the send buffer overflows or when SNAX/APC
receives a verb from the local TP (APS) that explicitly causes the send buffer to be
transmitted (such as MC-CONFIRM, MC-DEALLOCATE, or MC-RECEIVE-AND-
WAIT). MC-SEND-DATA completes when SNAX/APC has placed the data in its send
buffer.
Request Fields
User Data
is where you enter the data to send to the partner TP. The data you enter is encoded
in ASCII. If you want to send EBCDIC data, enter your data and then press SF15,
which translates the contents of the User Data field from ASCII to EBCDIC. The
data must be in a format recognizable to the partner TP. For example, if a CICS
application is to receive the data, the data must be in EBCDIC. If you want to enter
hexadecimal data or more than 80 characters of data, you must press F14 (Hex) and
use the hexadecimal editor. For more information, see “The Hexadecimal Editor”
later in this section.
Length
specifies the length of the data record to be sent with this SEND-DATA verb.
SNAX/APC Application Prototype Simulator (APS) System (T9096D30 22JUN95 F15)
Request: MC_Send_Data Resource ID: 0 4 0 0707D
User Data: 1234567890123456789012345678901234567890
example data sent_________________________________
_________________________________________________Length: 80 (Max
480)
Reply: MC_Send_Data
IPC Return Code: 0 IPC Ok
IPC Return Code Detail: 0 IPC Ok
UOWs In: 0001 UOWs Out: 0001
Header Return Code: 0 RC Ok
Request To Send Ind:
Request Completed
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15
F16
TPR MAl MDal TPE MR&W MRTS MSD MSE MCnf MCfd MGA MSnd Prnt Hex Rcov
Exit
ActS Dact MPrc MRcI MFls Gtyp GTP A(T) E(T)
Exit