z/OS TSO/E Guide to SRPI
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


The SENDREQ CPRB

z/OS TSO/E Guide to SRPI
SA32-0980-00

The SENDREQ macro fills in a CPRB as shown in Table 1. The SENDREQ macro sends the CPRB to MVSSERV, which routes the CPRB to the requested server.

Table 1. CPRB Control Block for Sending a Request (SENDREQ)
Offset Dec(Hex) Number of Bytes Field Name Contents
0(0) 1 CRBF1 The control block's version number (first four bits) and modification level number (last four bits).
1(1) 2   Reserved
3(3) 1 CRBF4 The type of request. X'01' indicates a service request. (X'03' indicates a define server (DEFSERV) request.)
4(4) 4 CRBCPRB Control block identifier (‘CPRB’).
8(8) 8   Reserved
16(10) 8 CRBSNAME The name of the requested server.
24(18) 2   Reserved
26(1A) 2 CRBFID The ID number of the requested service function.
28(1C) 12   Reserved
40(28) 4 CRBRQDLN The length of the request data.
44(2C) 4 CRBRQDAT The address of the request data.
48(30) 4 CRBRPDLN The length of the reply data (maximum length allowed by the invoker of SENDREQ).
52(34) 4 CRBRPDAT The address of the buffer for reply data.
56(38) 4 CRBRQPLN The length of the request parameters.
60(3C) 4 CRBRQPRM The address of the request parameters.
64(40) 4 CRBRPPLN The length of the reply parameters (maximum length allowed by the invoker of SENDREQ).
68(44) 4 CRBRPPRM The address of the buffer for reply parameters.
72(48) 40   Reserved

For a list of return codes from the SENDREQ macro, see MVSSERV Return Codes.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014