NEGRSP (Negative Response) Keyword for Intersystem Communications Function Files --Example

Figure 402 shows how to specify the NEGRSP keyword.

Figure 402. Specifying the NEGRSP Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A          R RCD1
A  01                                  NEGRSP(&FIELDB);
A            FIELDA        25A  B
A            FIELDB        80A  B
A

If indicator 01 is on, a write operation to RCD1 will send a negative response and send the first 8 bytes of FIELDB to the remote program. Note that no data from RCD1 other than the sense data will be sent with the negative response.