Using RSP commands

This section is a brief introduction to RSP commands. In addition to reading this introductory material, you should review each command in detail before continuing with the next section, “Reviewing sample RSPs.” See Appendix A, “RSP Commands” for detailed information about each command.

Use the RSP commands to:

The following table summarizes the RSP commands and their functions.

Table 2-1: RSP commands and functions

This command:

Performs this function:

See

CLOSPIPE

Closes the data pipe

CLOSPIPE

COMMIT

Commits a unit of work

COMMIT

GETPIPE

Reads a record from the data pipe

GETPIPE

MESSAGE

Sends a message to the client application

MESSAGE

OPENPIPE

Opens the data pipe

OPENPIPE

PUTPIPE

Writes a record to the data pipe

PUTPIPE

ROLLBACK

Rolls back a unit of work

ROLLBACK

RPDONE

Ends processing for an RSP initiated using TRS

RPDONE

RPSETUP

Initializes an RSP

RPSETUP

STATUS

Indicates the success or failure of processing

STATUS