As an example of how you can use FEEDBACK data, this example
illustrates the results of issuing a SET command. In this case, SET
was issued to modify the service status of CONNECT records in the
result set referenced by TOKENC.
Figure 1. Using SET to modify result set records
One of the connections (C002 in MAS1B) was not successfully
taken out of service by the SET command. The ServStatus field is still
set to INSERVICE and there is a pointer to FEEDBACK data.
Figure 2 shows how you can use the
FEEDBACK command to retrieve the FEEDBACK records associated with
the result set referenced by TOKENC. Figure 2. Using
FEEDBACK to retrieve diagnostic data for a result set
The FEEDBACK record shown in Figure 2 reveals
the cause of the problem. CICSPlex® SM returned RESPONSE and REASON values of TABLEERROR DATAERROR, which means the value associated with one or more resource table attributes is invalid. Furthermore, CICS® responded to the SET request for this connection with RESP(16) RESP2(2). A check of the CICS response codes indicates that the attempt to take the connection out of service was invalid because the connection is currently acquired.
Note: The LASTOPER and STATUS attributes of the OBJSTAT resource table
and some of the FEEDBACK attributes are binary fields (that is,
they are represented by a bit being set on or off). For detailed information
about the attribute values for a given resource table, see CICSPlex SM resource tables or the supplied copy
books.