The following program responds affirmatively to a request to close from the correspondent endpoint for the subfile of port file FILEID:
RESPOND (FILEID, RESPONDTYPE = ACCEPTCLOSE)
The following program responds to an offer for subfile I on port file FILEID by accepting the offer:
RESPOND (FILEID [SUBFILE I], RESPONDTYPE = ACCEPTOPEN)
The following program responds to an offer for subfile 1 on port file FILEID by rejecting the offer. The associated data that is stored in the string STR is sent with the response.
RESPOND (FILEID [SUBFILE 1], RESPONDTYPE = REJECTOPEN,
ASSOCIATEDDATA =STR)The following program responds to an offer for subfile I on port file FILEID by accepting the offer. Twelve characters of associated data are taken from the array RA, beginning at index 0, and are sent with the response.
RESPOND (FILEID [SUBFILE I], RESPONDTYPE = ACCEPTOPEN,
ASSOCIATEDDATALENGTH = 12, ASSOCIATEDDATA = RA [0])
