Rational Programming Patterns

Set of Redefines

To display this section, you must select a Set a Redefines call line in the list of the elements of the -CE Lines tab in the current Segment. The Data Element that contains this option redefines the Data Element of the same COBOL level that precedes it in the -CE lines of the Segment.

To create a set of redefines in the -CE lines of the Segment, you must select the Redefines option. This option is available in the different sections of the elements that are called in the Segment (Data Element call, Definition of a non defined Data Element, Segment call , Filler call, and Group call).

A Set of Redefines line is created in the -CE lines. It contains the redefined Data Element and the preceding Data Element of the same level in the tree structure. You must then define the Occurs option in the Set of Redefines section that is displayed when you click the Set of Redefines line. Redefines are possible for Segment calls, groups, and fillers. To create sets of Redefines for these called elements, the procedure is the same as for the Data Elements.
Occurs
Enter a number of occurrences in this field to generate an OCCURS COBOL clause. The COBOL restrictions on the OCCURS clause also apply here. You can indicate a number of occurrences on an elementary or a group Data Element or a filler. The number is limited to 99; it is pure numeric field.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)