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


Sending the Service Reply

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

If the server can perform the requested service function, the server should:
  • Move reply data, if any, to the reply data buffer pointed to by CPRB field CRBRPDAT.
  • Move reply parameters, if any, to the reply parameter buffer pointed to by CPRB field CRBRPPRM.
  • Set the actual reply data length (number of bytes) in CPRB field CRBRPDLN (the actual length must be less than or equal to the reply data length passed from the requester).
  • Set the actual reply parameter length (number of bytes) in CPRB field CRBRPPLN (the actual length must be less than or equal to the reply parameter length passed from the requester).
Whether or not the server can perform the requested service function, it must:
  • Put the return code expected by the requester in register 15.
  • Return the reply CPRB to the requester (branch to the return address that was in register 14 on entry to the server).
The registers should have the following contents when the server ends:
Register 13
Register Address of 72-byte save area
Register 14
Register Return address
Register 15
Register Server return code

Table 1 shows the CPRB fields that the server uses in its reply.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014