OpenTP1 Version 7 Tester and UAP Trace User's Guide

[Contents][Index][Back][Next]

3.1.6 Setting send/receive procedures

Send/receive procedures must be set when using the conversational service paradigm with a simulated UAP that uses the XATMI interface. Send/receive procedures are stored in a send/receive control file (any file name).

In the send/receive control file, define a send statement for sending data to the test SPP and a recv statement for receiving data from the test SPP.

Always create a send/receive control file when using the conversational service paradigm, even if no data is actually sent or received.

Organization of this subsection
(1) Syntax
(2) Operands
(3) Definition example
(4) Notes

(1) Syntax

(a) send statement
zueng020.tif0send [zueng020.tif1XATMI-receive-data-file-name]

Legend:
[Figure]0
One or more spaces or tab codes (or none)
[Figure]1
One or more spaces or tab codes
(b) recv statement
[Figure]0recv [Figure]1type [Figure]1subtype or buffer-length [[Figure]1flag [,flag...]]

Legend:
[Figure]0
One or more spaces or tab codes (or none)
[Figure]1
One or more spaces or tab codes

(2) Operands

(a) send statement
(b) recv statement

(3) Definition example

# send/receive procedure definition
# interactive service name: service01
send sendfile1
recv X_OCTET 128 TPNOCHANGE
send sendfile2
recv X_COMMON subtype1 TPNOTIME,TPSIGRSTRT
#

(4) Notes