Use this record-level keyword to specify that when an input operation sent to this record format is completed, the specified response indicator is to be set off.
Refer to Appendix F, System/36 Environment Considerations Using DDS, for information on how to specify the SETOF keyword in files that are used in the System/36 environment.
The format of the keyword is:
SETOF(response-indicator ['text'])
The optional text is included on the computer printout created at program compilation to explain the intended use of the indicator. This text functions only as a comment in the file or program. The apostrophes are required. If you specify more than 50 characters between the apostrophes, the text is truncated to 50 characters on the program listing.
This keyword can be used to cause an option indicator that is on for an output operation to be returned in the off condition when the next input operation to the record is completed. (If no input operation is performed, the response indicator remains unchanged.) Your program does not have to turn off the indicator.
SETOF is equivalent to the SETOFF keyword.
Any indicator is valid for this keyword. It does not have to be previously defined as an option or a response indicator. The indicator becomes a response indicator when you specify SETOF.
If the indicator used with the SETOF keyword is also used with another keyword, such as CHANGE, the on/off status of the indicator is controlled by the other keyword.
Option indicators are not valid for this keyword.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.