CP6100 I/O Process Programming Manual
 CPTEST
 SEND Command
 -----------------------------------------------------------------
 | |
 | <rep> |
 | |
 | is a general arithmetic expression that specifies how |
 | many times <text> is to be repeated in the request. |
 | The expression must evaluate to an integer; include a |
 | prefix for any number that isn't hexadecimal. |
 | |
 | |
 | <text> |
 | |
 | contains additional data needed for the request. Express |
 | it as one or more occurrences of any the following: |
 | |
 | ^B<hexstring> for a byte value, for example ^B1F |
 | |
 | ^W<hexstring> for a word value, for example ^W1F2D |
 | |
 | <<astring>> or "<astring>" for an ASCII character string, |
 | for example <abcd> or "abcd". (A string can have |
 | either quotation marks or angle brackets as |
 | delimiters.) |
 | |
 | To find out what this field should contain for a given |
 | request, consult the manual that describes the protocol. |
 | |
 -----------------------------------------------------------------
 Considerations
 1. The SEND command issues a request to the protocol task. This
 request is completed either by a response from the protocol
 or by an error message. In the case of an error message,
 CPTEST displays the file system error code. Responses from
 the protocol appear on the screen as soon as they are
 received. The CPTEST prompt (~) does not appear until the
 response is received.
 2. The response to a request includes the same function code as
 in the request, and the same request ID. Because you can
 issue a number of SEND (and SENDNW) messages during the same
 session, and CPTEST displays any completed nowaited responses
 while waiting for a waited response, you must use the request
 ID to match each response with the corresponding request.
 (Remember that request IDs are unique among pending requests
 for the line.)
 The response also includes a status code from the protocol.
 The code is preceded by the characters "M="; it indicates
 B-19










