REPLACE FAMILY-CHANGE Statement

The REPLACE FAMILY-CHANGE statement adds stations to, or deletes stations from, the family of an open, remote file.

<replace family-change statement>

── REPLACE ──<family designator>── BY ──<up or down>──<simple source>──┤

<family designator>

──<file designator>── . ── FAMILY ─────────────────────────────────────┤

<up or down>

── * ─┬─ + ─┬──────────────────────────────────────────────────────────┤
      └─ - ─┘

<simple source>

──┬─<string literal>─────┬─────────────────────────────────────────────┤
  └─<pointer expression>─┘

The file designator specifies the file whose FAMILY file attribute is to be changed. For more information on the file designator, see SWITCH FILE Declaration. If a station is to be added to the family, <up or down> is *+. If a station is to be deleted from the family, <up or down> is *–. The simple source specifies the title of the station involved. Because the simple source is a value for a pointer-valued attribute, its value must end with a period (.). For more specific information, refer to REPLACE POINTER-VALUED ATTRIBUTE Statement.