To send a data buffer to a receiver program, use request code 14. The receiver program does not need to be active. As long as its buffer queue limit is not exceeded, the data buffer is queued to it.
The RPB fields in the following table must be set up before the call:
|
Bytes |
Field Name |
Set to... |
|---|---|---|
|
00–03 |
RPLEN |
56. |
|
04–05 |
REQUEST |
14. |
|
06–07 |
RECOPT |
A recovery option as required. |
|
12–15 |
WORKADDR |
The address of a 128-byte work area. |
|
16–23 |
SENDERID |
A valid sender ID. |
|
24–31 |
RECVERID |
The target receiver ID. |
|
32–35 |
BUFFLEN |
The length of the data buffer to send. |
|
36–39 |
BUFFADDR |
The address of the data buffer to send. |
The RPB field in the following table is returned after the call:
|
Bytes |
Field Name |
Set to... |
|---|---|---|
|
08–11 |
RETCODE |
The return code. |
The following return codes are possible:
Request completed successfully.
The specified receiver is not active-the buffer has been queued.
The requestor is not in primary addressing mode.
The sender program is not authorized.
PPI is not active.
The receiver program is not defined.
PPI requests are not supported.
No storage is available.
Buffer length is invalid.
The receiver buffer queue is full.
ESTAE could not be established as requested.
Sender ID is invalid.
A processing error occurred.
Notes:
| Copyright © 2010 CA. All rights reserved. |
|