To allow the caller to purge the front buffer on a receiver queue, use request code 23. It is equivalent to receiving the buffer and ignoring it, except that no receiver buffer is needed, which is useful for purging buffers that are too long.
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 |
23. |
|
06–07 |
RECOPT |
A recovery option as required. |
|
12–15 |
WORKADDR |
The address of a 128-byte work area. |
|
16–19 |
ASCBADDR |
The address of the current ASCB. |
|
24–31 |
RECVERID |
The target receiver ID. |
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 front data buffer has been purged.
The requestor is not in primary addressing mode.
PPI is not active.
The ASCB address is not correct.
The receiver program is not defined.
PPI requests are not supported.
No data buffers are in the receiver buffer queue.
ESTAE could not be established as requested.
Sender ID is invalid.
A processing error occurred.
Notes:
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |