RA (Repeat All - Edit only)

Using the RA line command you can repeat hierarchical substructures in the database. The segment displayed on the line on which the RA command is entered is the parent of the substructure to be repeated.

FM/IMS displays the Insert Segment panel where you can enter key values for segments in the hierarchical path to the segment that is the parent of the substructure. The Insert Segment panel is initialized with the key values for the segments in the hierarchical path up to and including the parent of the substructure. You can also enter data for the segment that becomes the parent of the new substructure. The data for the child segments in the new substructure is copied from the children under the segment where the RA line command was entered. When all modifications are done, and the Exit function key (F3) is entered, the new segments are inserted. Any violation of IMS rules results in a pop-up panel with the appropriate status code.

After the new parent and its substructure have been inserted in the database, FM/IMS returns to the IMS data panel redisplaying the panel that was previously displayed.