public enum ProgramGeneratedDescriptionTypeValues extends java.lang.Enum<ProgramGeneratedDescriptionTypeValues>
List of generated description types for records.
Enum Constant and Description |
---|
_1 |
_2 |
_3 |
_4
Records with occurs (used with level 3) Records which incorporate the number of occurrences indicated in the Table size field of the Segment Definition tab. |
NONE |
Modifier and Type | Method and Description |
---|---|
static ProgramGeneratedDescriptionTypeValues |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProgramGeneratedDescriptionTypeValues[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgramGeneratedDescriptionTypeValues _1
Records without initial values Records without initial values or occurs. These records contain the Segment common part, followed by the different specific parts.
If the Data Structure description is included in the COBOL FILE SECTION, the COBOL record level field must be set to 2: COBOL 01 level for DS area and segments at 02 level.
With this value, the specific Segments are described without redefines, at the COBOL level 02. Several Segment descriptions are grouped under the same I/O area.
public static final ProgramGeneratedDescriptionTypeValues _2
Records with initial values Records with the specific initial values indicated in the Segment -CE Lines tab. These values can also default to blank or zero depending on the format. Initial values are also generated for the multiple occurrence fields if the Generated language of the Library is set to D: COBOL II, 85, LE.
public static final ProgramGeneratedDescriptionTypeValues _3
Records with occurs (used with level 2) Records which incorporate the number of occurrences indicated in the Table size field of the Segment Definition tab.
No VALUE clause is generated.
If the Data Structure description is included in the COBOL FILE SECTION, the COBOL record level field must be set to 2: COBOL 01 level for DS area and segments at 02 level.
This type of description cannot be used if the common part Segment of this Data Structure is assigned a value in the Table size field of the Segment Definition tab. In that case, set the Organization to W: File description in Working and the Usage to T: Table stored in memory.
public static final ProgramGeneratedDescriptionTypeValues _4
Records with occurs (used with level 3) Records which incorporate the number of occurrences indicated in the Table size field of the Segment Definition tab. The associated 'Level' field must be set to 3.
The associated COBOL record level must be set to 3: COBOL level varying with records description type
Comment specific to the OnLine Systems Development function: The index is not generated if the Generated description type set to 4: Records with occurs (used with level 3), and the COBOL record level is set to 3: COBOL level varying with records description type,
A COBOL level 02 is used to access the table made up of occurs of the same record (ddssT).
A COBOL level 01 is used to group the whole Data Structure (common or specific parts, whether occurred or not). A group level field that incorporates all instances is generated.
This type of description cannot be used if the common part Segment of this Data Structure is assigned a value in the Table size field of the Segment Definition tab. In that case, set the Organization to W: File description in Working, and the Usage to T: Table stored in memory
public static final ProgramGeneratedDescriptionTypeValues NONE
Redefined records No VALUE clause is generated
public static ProgramGeneratedDescriptionTypeValues valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ProgramGeneratedDescriptionTypeValues[] values()
for (ProgramGeneratedDescriptionTypeValues c : ProgramGeneratedDescriptionTypeValues.values()) System.out.println(c);