SUBDEV (Subdevice) Keyword for Intersystem Communications Function Files --Example

Figure 425 shows how to specify the SUBDEV keyword.

Figure 425. Specifying the SUBDEV Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A  01                                  SUBDEV(*DC1)
00020A  02                                  SUBDEV(*DC4)
     A          R RECORD
     A

If indicator 01 is on, the OS/400 program sends the component selection character hex 11 on an output operation (no matter how indicator 02 is set).

If indicator 02 is on and indicator 01 is off, the OS/400 program sends component selection character hex 5D.