com.ibm.pdp.maf.rpp.pac.program

Enum ProgramCobolRecordLevelValues

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      _1 
      _2 
      _3 
      _4 
      _5 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static ProgramCobolRecordLevelValues valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ProgramCobolRecordLevelValues[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • _1

        public static final ProgramCobolRecordLevelValues _1

        COBOL 01 level for DS area and segments If the Data Structure description is included in the COBOL FILE SECTION, the Segments must be redefined.

        If a Data Structure has no common part with a non-redefined description, the D.S. Area is only included when the Generated description type is set to Redefined records.

      • _2

        public static final ProgramCobolRecordLevelValues _2

        COBOL 01 level for DS area and segments at 02 level If the Generated description type is set to Redefined records, the D.S. Area and Segments are described at level 02. Preferably set the Organization to L: Working with placement and define the higher levels through work areas.

      • _3

        public static final ProgramCobolRecordLevelValues _3

        COBOL level varying with records description type Level 02 for D.S. Area and level 03 for Segments if the Generated description type is set to 1: Records without initial values, 2: Records with initial values or 3: Records with occurs (used with level 2).

        Level 01 for D.S. Area and level 03 for Segments if the Generated description type is set to 4: Records with occurs (used with level 3).

        Level 03 for both the D.S. and Segments if the Generated description type is set to Redefined records.

      • _4

        public static final ProgramCobolRecordLevelValues _4

        COBOL 02 level for Data Elements, DS Areas and Segment levels disappear Reserved for the D.S. with an Organization set to L: Working with placement and a Usage set to D: Output file.

        Level 02 for the group Data Elements or elementary Data Elements that are not part of a group. The elementary Data Elements that are part of a group are displayed but the D.S. Area and Segment levels are not included.

        Level 01 is to be defined in the work areas.

      • _5

        public static final ProgramCobolRecordLevelValues _5

        COBOL 01 level for Data Elements, DS Areas and Segment levels disappear Organization set to L: Working with placement or W: File description in Working and a Usage set to D: Output file.

        Level 01 for the group Data Elements or elementary Data Elements that are not part of a group. The Elementary Data Elements that are part of a group are displayed but the D.S. Area and Segment levels are not included.

    • Method Detail

      • valueOf

        public static ProgramCobolRecordLevelValues valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • values

        public static ProgramCobolRecordLevelValues[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ProgramCobolRecordLevelValues c : ProgramCobolRecordLevelValues.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared