CALL GINCLUDE (segment-name);
The GINCLUDE subroutine is a graphical call that includes a previously defined graph in the current graph. The segment that is included is named segment-name and is in the same catalog as the current graph. The included segment is defined in the current viewport but not in the current window. This call is part of the traditional graphics subsystem, which is no longer being developed.
The implementation of the GINCLUDE subroutine makes it possible to include other segments in the current segment and reposition them in different viewports. Furthermore, a segment can be included by different graphs, thus effectively reducing storage space. Examples of valid statements follow:
/* segment1 is a character variable */ /* that contains the segment name */ segment1={myplot}; call ginclude(segment1); /* specify the segment with quoted literal */ call ginclude("myseg");